2 Attachment(s)
Asteroids Example of Accelerated Motion for Shawn
This is an example of a space ship that can only accelerate in the direction it is facing. The x and y acceleration, velocity, and distance are calculated and the ship moves accordingly. I apologize that the code is not commented. It was created using MMF 2 Dev. It uses the progress bar and cursor objects, although they can be removed without affecting the acceleration example. I had to remove a few graphics (like the active that made the ship explode around the outside of the screen) to get the file under 1 MB.
Steve