skylab82 Posted May 26, 2017 Share Posted May 26, 2017 Hello, i load my asset with atlasJSONHash this.load.atlasJSONHash('MyAsset', 'assets/images/MyAsset.png', 'assets/images/MyAsset.json'); and my jsondata is: {"frames": { "pack/ball": { "frame": {"x":1491,"y":1975,"w":740,"h":47}, "rotated": true, "trimmed": false, "spriteSourceSize": {"x":0,"y":0,"w":740,"h":47}, "sourceSize": {"w":740,"h":47}, "pivot": {"x":0.2,"y":0.3} } When I add my spritesheet "MyAsset" on the phaser.game this is not correctly positioned with the pivot data. Can help me? Link to comment Share on other sites More sharing options...
Nesh108 Posted May 27, 2017 Share Posted May 27, 2017 Hey, @skylab82, can you show how it looks like? The pivot point is probably not set properly to begin with. Here is someone with a similar problem: Link to comment Share on other sites More sharing options...
Recommended Posts