Ship Shooter on Google Play
Ship Shooter on GitHub
- Player can now move across the whole screen
- Planets scrolling in the background
- Moved the pause button
- Added in a score multiplier
- Added a health bar to tough enemies, and the player
I spent a better part of today just messing around and experimenting with some different aspects of this. The player can now move across the whole screen, so that they have more control over what is happening. This was actually the first piece of feedback that I got. “Why can’t I move across the whole screen?” Well. Now you can because I could not think of a reason not to. It also plays much better now.
The previous pause button was too big and I kept hitting it with my fat thumbs, so I made it smaller and changed the sprite on the button to a home made pause symbol.
I added a score multiplier for the player, that the more often they kill enemies the more points they get. The Multiplier degrades when the player hasn’t killed something within a certain amount of time.
Lastly I added health bars above the “tough” enemies and the player. I did it using a slider and taking bits out of the Unity Tanks Tutorial. I really like the way that they did this in the tutorial, so I decided to do it myself.
What’s coming up:
I would really like to put ads in the game, not to make money, but just to see how to use Google’s API for it. I feel that it is some very valuable experience to have, especially to a mobile games employer.
I also am going to be adding more power ups, and more enemies. Time will tell how much I can squeeze out of this. I really like expanding this game, but I also want to move on to learn different things that Unity has to offer, especially in 3D.
Thanks for reading
Ship Shooter on GitHub
Here is a list of changes that I have made over the past little while
- Added in power ups that have a chance of spawning pseudo randomly. I did this by adding a script to my game controller object that holds an array of GameObjects. This way I can edit which ones power ups to use in the inspector. So far I have a power up that increases the firing rate of the player, but is set up so that I can I also make it a debuf to the player if I wanted to in the future. I also have one that adds health to the Earth so that the player can last longer.
- Added in some background art, like the Earth itself and some stars in the background. I got the stars background off of Google, and I was messing around in Photoshop to make the earth myself.
- Changed it so that the player dies on first contact. I feel that this makes the game a lot harder, but I can still change it for a power up that I want to add soon which will be like a shield that will just take a hit for you.
- The buttons scale to different resolutions! It might not be done in the best way, but I did a lot of research into this and it seems that the scaling of the UI elements in Unity is really weird and a lot of people struggle with this issue. However, it now works with all the resolutions available in the Unity Game window in the editor.
- Lowered the volume of the sound effects. They were very loud and annoying last time around. I eventually want to get different sound effects in the game and also a background track, but I’m not worried about that right now.
Issues that I am working on and aware of
- The “GAME OVER” is very fuzzy. I am still looking into the best way to scale this image, but I’m sure I will figure it out eventually.
- The waves of enemies really are not that great. I haven’t changed the way that they spawn at all yet, but I am going to make it non-uniform distribution, similar to the way that I spawned the dinosaurs in this demo.
- The background image is not scaled very well, and I want a new one. I am struggling to find one that matches the ascetic that I want for the game, and I might end up making one in Photoshop.
- The way that the power ups go up and down rapidly is supposed to happen. I just need to change how it happens because it look awful. Like, really bad. I’m aware of this and I’m looking into better ways to do this. I want to make them move up and down so that it is not as easy to hit them. This way when the player actually gets them them they will feel like the power up actually worth it.
That’s about it for now
Ship Shooter on GitHub
So I have fixed a couple issues with this Ship Shooter game, and come with a couple more.
- The player has health now and can take a couple hits, but I am still working on making a pretty little health bar .
- The buttons can kinda scale for different resolutions, but it still does not work exactly how I want it to so there is more to come on that front.
I am going to be taking a break from this project for a little while until I can set some other things straight.
Things that I want to add:
- Scrolling background
- UI health bars
- Enemy distribution, spawn waves instead of just all at once.