Report as inappropriate.
Adventure on every axis.
F1 - Switchs too rotation mode.
F2 - Switchez 2 flip mode.
Spacebar - Yoos teh mode-designated powa (Flip/Rotate).
Arrow keys - Move.
Enter - Reset teh lvl.
This can easily be expanded to fit many different games. The ground detection is not quite perfect, but the coding is pretty well commented and quite neat, you should be able to make sense of it.
*Known bugs and fixes*
Standing in a corner and using the rotation will cause a NullPointerException, causing the program to stop, therefore is not advised.
When inverted and facing right, running left will happen backwards for a split second, but righten itself after 1 run through.
To embed this scenario in a web page, copy the following HTML code:
Want to leave a comment? You must first log in.