Jump to content

Delays in Phaser


n7pankake
 Share

Recommended Posts

Hello, Just wanted to know, is there a way to create a delay that acts instantly and without functions like for example I want to create wave of enemies, if is wave 1 it creates 4 if is wave 2 it creates 8 and so on, I finish the logic BUT I want to have some delay (because the spawn place is exactly the same) and lets say we are in wave 5 ... I will get 4 enemies in the same position  and I will like to wait like ... 3 seconds between creation here is what I got so far.Capture.PNG.6ee9f10827fcc2d78000f6ab2a3fe44d.PNG

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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