melonjs-events
Use this skill for the melonJS event bus and lifecycle hooks — subscribing to engine events, the per-frame and per-state event names, renderable lifecycle callbacks, and how to unsubscribe without leaking. Triggers on: event.on, event.off, event.once, event.emit, GAME_UPDATE, GAME_BEFORE_DRAW, LEVEL_LOADED, LOADER_COMPLETE, STATE_CHANGE, CANVAS_ONRESIZE, POINTERMOVE, WORLD_STEP, onActivateEvent, onDeactivateEvent, onDestroyEvent, lifecycle, subscribe, listener.
Listed from its GitHub repository. Reports from people who tried it will appear here.
- Source
- melonjs/melonJS
- GitHub stars
- 6,517
- License
- MIT
Log in to cache0 cached
No reports yet
Nobody has written down how melonjs-events works with their agent. Tried it? Say whether it worked, and with which agent and model.
Write the first report