(You may need to click once on the application above to get your browser to recognize the applet)
The application functions as follows:
- UP arrow makes saucer go up
- LEFT arrow makes saucer go left
- RIGHT arrow makes saucer go right
- The saucer cannot leave the bounds of the display window in any direction
- Gravity is always pulling the saucer down. Only UP arrow can make it ascend
- The saucer will continue being pulled down by gravity even if LEFT or RIGHT arrow keys are held down
- When ascending, the saucer's propellers should spin fast clockwise
- When descending, the saucer's propellers should slowly spin counter clockwise
- The propellers should not spin at all when the craft is on the ground
- All objects should be created with their center at (0,0) and then translated to where they belong
Built with Processing