Skill / SKILL.md

Melonjs Renderables

melonjs/melonJS

Use this skill when subclassing Renderable, writing a custom draw() method, handling pointer or click events on game objects, applying post effects and shaders, or controlling draw order. Covers the pos-relative draw contract, isKinematic and input, addPostEffect vs the deprecated shader property, z-ordering, y-sorting with sortOn and sortOffset, and Container clipping. Triggers on: Tween, easing, animate, Renderable, extends Renderable, draw(, update(, isKinematic, pointerEvent, registerPointerEvent, onClick, addPostEffect, removePostEffect, ShaderEffect, addChild, z-order, sortOn, sortOffset, autoSort, clipping, clipContains, anchorPoint, floating.
1 views 6,532 repository starsUpdated Nov 28, 2026
Overview

Use this skill when subclassing Renderable, writing a custom draw() method, handling pointer or click events on game objects, applying post effects and shaders, or controlling draw order. Covers the pos-relative draw contract, isKinematic and input, addPostEffect vs the deprecated shader property, z-ordering, y-sorting with sortOn and sortOffset, and Container clipping. Triggers on: Tween, easing, animate, Renderable, extends Renderable, draw(, update(, isKinematic, pointerEvent, registerPointerEvent, onClick, addPostEffect, removePostEffect, ShaderEffect, addChild, z-order, sortOn, sortOffset, autoSort, clipping, clipContains, anchorPoint, floating.

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-renderables directory with your client’s skill installer.

  • packages/melonjs/skills/melonjs-renderables

    master · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory packages/melonjs/skills/melonjs-renderables

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
4a7aaf6a816eb71060bbbbe2f88efccefff5717657f1c64dd9a829b6d387dec1
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills