codart Posted January 18, 2015 Share Posted January 18, 2015 Should i use the default "game.time.events" for every event or one instance of Phaser.Timer class for each?When i try the first solution, i encouter some strange behaviors with the timer. To be more specific, every 10 second i spawn a wave of enemies, this work fine, but when i loop an event for all enemies to fire every 2 secs then the enemies wave sometime spawn sooner than expected. Any suggestion? Link to comment Share on other sites More sharing options...
horkoda Posted January 18, 2015 Share Posted January 18, 2015 In these cases a sample of code on jsFiddle would be nice. Link to comment Share on other sites More sharing options...
lewster32 Posted January 19, 2015 Share Posted January 19, 2015 @codart: Yeah, an example would be very helpful here. Link to comment Share on other sites More sharing options...
Recommended Posts