Jump to content

Phaser bring sprite after the player


Recommended Posts

I was trying to bring the sprite after the player, I don't want to use bringToTop function because it will bring on the top instead of just bringing it after the player.
Example: the bottle is before the player, when the player get the bottle, it will get after
like: sprite.getAfter(player);
and when the player drop it, the bottle will back to its original position

sorry for my english and thanks in advance!

Link to comment
Share on other sites


  • Recently Browsing   0 members

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