I created a simple "projectile" sprite and a simple class to support it. I added support to fire using the right thumbstick, firing the projectile in the direction pressed. I also added support to destroy both the projectiles and targets upon collision. So, it is a real shooter now in that you can actually shoot and destroy stuff. Almost time to put the achievements in.
Things I need to work on next include:
- Destroying the projectiles when they collide with the boundaries of the game (right now they last forever or until they hit a target.)
- Making the creation of new targets more random, instead of the diagonal line they spawn in now.
- Fixing the speed of the projectiles. I currently support firing in all directions with the right thumbstick. However, it uses the severity of the push on the stick to determine speed. So, there are faster and slower projectiles.
Post a Comment