A Zelda-like 2D game engine