Jump to content

Display retrofont above everything else?


Recommended Posts

You could use groups for z-order.


    this.background_group = this.add.group();
    this.enemies_group = this.add.group();
    this.endboss_group = this.add.group();
    this.graphicfx_group = this.add.group();
    this.retrofont_group = this.add.group();
everything added to retrofont group is displayed above everything put in the other groups.
For display order inside a group have a look at
Link to comment
Share on other sites


  • Recently Browsing   0 members

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