Making a game engine that's a little bit like Sonic the Hedgehog 2