Kobaltic Posted February 4, 2015 Share Posted February 4, 2015 I tried to change the z by sprite.z. It displays the value as being changed but it doesn't actually move the sprite's depth based on the other sprites. I want a user to hit a button and pop the sprite to the front of the screen. How can I achieve this. Thanks in advance. Link to comment Share on other sites More sharing options...
Daniel Belohlavek Posted February 4, 2015 Share Posted February 4, 2015 http://examples.phaser.io/_site/view_full.html?d=groups&f=depth+sort.js&t=depth%20sorthttp://examples.phaser.io/_site/view_full.html?d=groups&f=swap+children+in+a+group.js&t=swap%20children%20in%20a%20grouphttp://examples.phaser.io/_site/view_full.html?d=groups&f=display+order.js&t=display%20order Also it has been discussed several times. Please search the forum for existing topics Lypzis and sbonavida 2 Link to comment Share on other sites More sharing options...
Recommended Posts