KitScout

Categories › Software Development › Game development & engines

melonjs-camera-and-drawing

SkillInstall · skills CLI

Use this skill for camera control and immediate-mode drawing in melonJS — following a target, viewport bounds, shake and fade, secondary cameras and what each one draws, 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, offset, look ahead, setBounds, minimap, second camera, split screen, cullMask, visibilityLayer,

Install

KitScout test notes

Not tested by KitScout yet. When our harness runs it, pros, cons and the tasks we tried appear here, with the date and evidence.

Similar tools

  • godot-gdscript-patterns 42,470 ★
    Master Godot 4 GDScript patterns including signals, scenes, state machines, and optimization. Use when buildin
  • unity-ecs-patterns 42,470 ★
    Master Unity ECS (Entity Component System) with DOTS, Jobs, and Burst for high-performance game development. U
  • game-engine 41,117 ★
    Expert skill for building web-based game engines and games using HTML5, Canvas, WebGL, and JavaScript. Use whe
  • 2d-games 33,462 ★
    2D game development principles. Sprites, tilemaps, physics, camera.
  • 3d-games 33,462 ★
    3D game development principles. Rendering, shaders, physics, cameras.