A simple test for an adventure game The Red Ball is the moveable character. Use space to use weapon and aswd or the arrow keys to move. The Cyan Ball is a test enemy. If you touch him, he will say "You been ow." Attack him for points lol The magenta ball is an item test. Walk into her to pick her up.
Thanks to the scratchteam for the wall physics You can copy the physics of this test to make your own adventure game, but chances are there are better test examples.