2D engine set up