I have made a little more progress on my Star Castle demo. You can now move the ship around the screen and fire bullets, although there is no collision detection yet. The controls are:
- Joystick Left/Right - Rotate
- Joystick Up - Thrust
- Fire - Fire Bullets
I have been trying to match the ship movement with the arcade version (by comparing with the MAME version). I think it is now reasonably close, but let me know if you think it needs improvement?
The ship sprite is temporary (apologies to Thomas for copying the Thrust+ sprite) and will be replaced in the near future. There are also a few wrinkles, such as firing not working at the edges of the screen, and the bullets being fired from the centre of the ship. These issues should be easy to fix.
The next step is to get the mines following the ship (the green blob at the bottom is what the mines will look like). Then the collision detection, which I'm not looking forward to!
The source code is included below, but it is a big unoptimised mess at the moment. As always, let me know what you think. Unfortunately further progress will be slow now that the holidays have come to an end.