Thursday, 3 March 2016

Class 17 - Spaceships


Post 100

Spaceships
Today I further developed my practice game into a more functional game. I added thrust to the spaceships sprite, for when it is accelerating to maximum speed. This makes the game feel more fluid and just overall looks good. I also created a custom mouse cursor for the game. I changed the cursor because the ship flys towards the cursor in the game, so it looked sort of weird just being the default windows mouse. Doing this is incredibly easy and only required around 2 lines of code and hiding the mouse in game from the global settings.

Something I also attempted to do was add a speed boost with the shift key. Now that by itself is fairly simple, but I also wanted the room view to grow wider as your speed increases, well using boost. This took many, many attempts. But after a few hours of after school work I managed to get it to operate the correct way! I still might play around with how much it zooms out because its hardly noticeable.



Next I wish to add crashing into walls, a proper space background, and maybe even shooting!
So that is what I will attempt to do next class!



No comments:

Post a Comment