Skill / SKILL.md

Melonjs Events

melonjs/melonJS

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.
2 views 6,532 repository stars 0 commentsUpdated Nov 28, 2026
Overview

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.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/melonjs/melonJS' skill-source

Use the complete skill-source/packages/melonjs/skills/melonjs-events directory with your client’s skill installer.

  • packages/melonjs/skills/melonjs-events

    master · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory packages/melonjs/skills/melonjs-events

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
e5cbd95580ef8507e8c396d4726cff77b2d3c6c436035d6d3bf8806efa822d77
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills