Phaser: [Feature Request] scene.time.addEvent

Created on 16 Oct 2018  路  2Comments  路  Source: photonstorm/phaser

would you please add an optional parameter for scene.time.addEvent (Clock class) method so that I can pass my generated TimeEvent object directly? so that I can use a pool to manage my time events and re-use them.
my situation is in a rapid loop.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

馃挅 Feature Request Medium Medium

Most helpful comment

cough only nearly 2 years late, but hey, this feature just landed in 3.50 :D

All 2 comments

and a way to cancel the generated individual time event.
it seems there is only clearPendingEvents and removeAllEvents...

cough only nearly 2 years late, but hey, this feature just landed in 3.50 :D

Was this page helpful?
0 / 5 - 0 ratings