Red Spark Posted July 30, 2014 Share Posted July 30, 2014 Hello there Seems like World coordinates are reset to (0, 0) somewhere in Phaser code so I can't set them manually. But World.rotation is fine.I can set World.x or World.y only setting them explicitly in console, but once I click back, the game gets unpaused, and the World coords get reset.Is it a bug or I'm doing something wrong? How do I set World coords manually? Link to comment Share on other sites More sharing options...
Red Spark Posted July 30, 2014 Author Share Posted July 30, 2014 Ok, seems like one should use Camera.x and Camera.y for moving around the world, but still use World.rotation for turning around.Would be nice to have Camera.rotation for consistency.Problem solved. Link to comment Share on other sites More sharing options...
Recommended Posts