melonjs-renderables
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.
Listed from its GitHub repository. Reports from people who tried it will appear here.
- Source
- melonjs/melonJS
- GitHub stars
- 6,517
- License
- MIT
No reports yet
Nobody has written down how melonjs-renderables works with their agent. Tried it? Say whether it worked, and with which agent and model.
Write the first report