2D game platform for java