2d game rendering engine