Jump to content

Image depth in container doesn't work?


Recommended Posts

I did not try, but: Container has method sort(property) (https://github.com/photonstorm/phaser/blob/master/src/gameobjects/container/Container.js#L532). So, it should work to call it manually with any property. If still setting/getting depth on images in Container, it will probably fire depth sort on scene objects (https://github.com/photonstorm/phaser/blob/master/src/gameobjects/components/Depth.js#L52).

Link to comment
Share on other sites

  • 7 months later...
  • 4 weeks later...

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...