I am trying to make a top-down 2d game using Paper2D. However Paper2D by default sets sprites to display flat along the XZ plane. I would like to have my sprites display by default along the XY plane so that things are a little more intuitive when placing them down and so I dont need to deal with gravity/flying issues.
Does anyone know how to change the Paper2D XZ default to XY?
There really doesn’t seem to be official support for this.
From what I’ve been told from others who want to use the engine’s force of gravity on the XY-Plane for their 2D game, you have to rotate EVERY sprite into the XY plane. This is currently the only way I’ve seen, to do what I wanted in the question above…
If anyone has a better solution to this, please add it as an answer below as I think this answer is kinda messy.
2D physics is currently an experimental feature (and as the warning states when you select it, should not be relied upon) and doesn’t completely answer the question. The main problem seems to be that gravity always points along the Z direction. This could be solved using a 2D physics engine, but there would need to be some extra configuration to allow for both top-down and side scrolling games.