Jump to content

How do I remove game objects in Phaser 3?


Recommended Posts

Hey honeybadger,

finally i found a solution for this. I added a restart functionality whenever the player is hitten by the bomb.

In my case "bombs" is a group containing all bombs. After killing the children, you also got to clean up the group.. Elsewise you will get some strange errors.

bombs.children.iterate(function (child) {


I haven't found a better solution yet, but this works at my place.

Link to comment
Share on other sites


  • Recently Browsing   0 members

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