Home / Skills / melonjs-camera-and-drawing
melonjs-camera-and-drawing
melonjs/melonJSSkill
Use this skill for camera control and immediate-mode drawing in melonJS — following a target, viewport bounds, shake and fade, secondary cameras, and drawing shapes, lines and gradients inside a custom draw(). Covers world versus screen coordinate conversion, clipping and masking, baking with CanvasRenderTarget, and reading pixels back. Triggers on: Camera2d, viewport, follow, setBounds, shake, fadeIn, fadeOut, worldToLocal, localToWorld, colorMatrix, renderer.fill, renderer.stroke, Rect, Ellipse, Polygon, Line, Gradient, clipRect, mask, CanvasRenderTarget, NoiseTexture2d, lookAt, setBasis, to
Why this score
This repo hosts 10 skills, so its 6,414 stars are split between them (about 641 each) for scoring.
Popularity score: 78/100 from public GitHub signals only. It shows how widely used and maintained this is, not how well it works. Not included yet: the fake-star check. The security scan is shown separately and doesn't change the score. How we rank
Security
Scanned Oct 20, 2026 at commit b31051fede81, with Cisco's open-source skill-scanner.
None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.
A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan
Alternatives
Other makers' add-ons that do the same job, next to this one.
| Name | Score | Stars | Context | Updated |
|---|---|---|---|---|
| This onemelonjs-camera-and-drawing melonjs/melonJS · Skill | 78 | ★ 6.4k | ≈157 always | 16d ago |
| cameras phaserjs/phaser · Skill Both about camera and shake | 82 | ★ 41k | ≈65 always | 3mo ago |
| camera-systems gamedev-skills/awesome-gamedev-agent-skills · Skill Both about camera and follow | 67 | ★ 1.7k | ≈26 always | 26d ago |
| engineering-drawing earthtojake/text-to-cad · Skill Both about drawing and follow | 83 | ★ 22k | ≈99 always | 16d ago |
| scientific-ppt-drawing SPYfighting/my-academic-skills · Skill Both about drawing and shape | 51 | ★ 22 | ≈65 always | 1mo ago |
| cesiumjs-camera CesiumGS/cesiumjs-skills · Skill Both about camera and world | 56 | ★ 191 | ≈102 always | 2mo ago |