TheBlackSword Posted October 27, 2016 Share Posted October 27, 2016 I'm making a game in Phaser using Tiled for level design. However, when I rotate objects in the object layer and use the createfromobjects function to generate those objects in the game itself, the x and y positions have been messed up. I've taken screenshots to demonstrate: In Tiled In Phaser How do I solve this? Is this a known bug with the current version of Phaser? Link to comment Share on other sites More sharing options...
NePo Posted November 6, 2016 Share Posted November 6, 2016 Did you solve the problem? As I understand the starting position is 0 0, but when you rotate something starting position rotates also. So the corner which was 0 0 has other value and you need to account for the rotation you have done. Link to comment Share on other sites More sharing options...
Recommended Posts