DWboutin Posted January 13, 2014 Share Posted January 13, 2014 Hi!I'm wondering how can i and whats the best way to handle some rendering order or some z axis depth?Like if i have a tree in my game and my character walk in front of a tree. It's ok, my character is on the first plan. But if my character walk behind the tree? How can i change the rendering order or the depth?Like this game when you pass behind or in front of houses or trees. http://browserquest.mozilla.orgThank you Link to comment Share on other sites More sharing options...
4ucai Posted January 13, 2014 Share Posted January 13, 2014 I think this example can help?http://gametest.mobi/phaser/examples/_site/view_full.html?d=groups&f=depth+sort.js&t=depth%20sort try to move around the tree's DWboutin 1 Link to comment Share on other sites More sharing options...
DWboutin Posted January 13, 2014 Author Share Posted January 13, 2014 That's perfect! I didn't saw this exemple! Thank you very much! Link to comment Share on other sites More sharing options...
Huulktya Posted April 10, 2014 Share Posted April 10, 2014 The link to the answer doesn't work. Here is the correct link: http://examples.phaser.io/_site/view_full.html?d=groups&f=depth+sort.js&t=depth%20sort Tesserato and Massemassimo 2 Link to comment Share on other sites More sharing options...
Recommended Posts