Does anyone know how to call a Phaser function from outside the game? I put a window.addEventListener into a game, but it is not registering.
Regards, Brian
Post your code, please?
create global Phaser EventEmitter, emit event and on this event.
Do you emit the event, right before it’s registered?