Page List

Sunday, February 27, 2011

Moving and shooting

Ok, things are starting to shape up. I have further refined the movement of my ship. To get the ship to move exactly as I need it to I had to finish up the weapon firing mechanism. This would be done with two classes, a projectile class and a weapon manager class. The importance of the weapon manager class in term of movement is it would track the cool down between weapon bursts. This is importance since the player ship is powered by the recoil of shooting it's weapons. Every time the weapon is fired the ship moves in the opposite direction. I'll let a video of the game in action explain the rest.

You will also notice I have added a window in the upper right hand corner showing which weapon is selected. I have only implemented the blaster. Hopefully by my next update I will have implemented the cannon and flamethrower.

No comments:

Post a Comment