is there a better way to do this:
I'm thinking performance wise, since this game is supposed to be on mobile.
Any help would be great!
If this event should be triggered every tick, I guess it's pretty effective..
My guess is the event would only have to be triggered when certain things change in the game, so putting these events in a function and calling them when needed would probably be better..
Develop games in your browser. Powerful, performant & highly capable.
Thanks, i'll see if that will work!