Godot Gdscript Patterns
925236118/AlphaAgent
Master Godot 4 GDScript patterns including signals, scenes, state machines, and optimization.
Guide to cameras in Phaser 4: the CameraManager, main camera, viewport and scroll, zoom, bounds, following sprites, effects, multiple cameras and minimaps.
$ npx skills add autonomous-ai/openharness --skill cameras -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install autonomous-ai/openharness cameras --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/autonomous-ai/openharness.git skills-src && mkdir -p .claude/skills && cp -r skills-src/store/agents/phaser/skills/cameras .claude/skills/cameras && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "cameras" agent skill from https://github.com/autonomous-ai/openharness/tree/main/store/agents/phaser/skills/cameras into .claude/skills/cameras/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cameras", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/autonomous-ai/openharness/tree/main/store/agents/phaser/skills/camerasType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add autonomous-ai/openharness --skill cameras -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install autonomous-ai/openharness cameras --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/autonomous-ai/openharness.git skills-src && mkdir -p .agents/skills && cp -r skills-src/store/agents/phaser/skills/cameras .agents/skills/cameras && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "cameras" agent skill from https://github.com/autonomous-ai/openharness/tree/main/store/agents/phaser/skills/cameras into .agents/skills/cameras/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cameras", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add autonomous-ai/openharness --skill cameras -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install autonomous-ai/openharness cameras --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/autonomous-ai/openharness.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/store/agents/phaser/skills/cameras .cursor/skills/cameras && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "cameras" agent skill from https://github.com/autonomous-ai/openharness/tree/main/store/agents/phaser/skills/cameras into .cursor/skills/cameras/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cameras", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/autonomous-ai/openharness.git --path store/agents/phaser/skills/cameras--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add autonomous-ai/openharness --skill cameras -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install autonomous-ai/openharness cameras --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/autonomous-ai/openharness.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/store/agents/phaser/skills/cameras .gemini/skills/cameras && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "cameras" agent skill from https://github.com/autonomous-ai/openharness/tree/main/store/agents/phaser/skills/cameras into .gemini/skills/cameras/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cameras", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install autonomous-ai/openharness camerasInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add autonomous-ai/openharness --skill cameras -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/autonomous-ai/openharness.git skills-src && mkdir -p .github/skills && cp -r skills-src/store/agents/phaser/skills/cameras .github/skills/cameras && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "cameras" agent skill from https://github.com/autonomous-ai/openharness/tree/main/store/agents/phaser/skills/cameras into .github/skills/cameras/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cameras", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add autonomous-ai/openharness --skill cameras -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install autonomous-ai/openharness cameras --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/autonomous-ai/openharness.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/store/agents/phaser/skills/cameras .opencode/skills/cameras && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "cameras" agent skill from https://github.com/autonomous-ai/openharness/tree/main/store/agents/phaser/skills/cameras into .opencode/skills/cameras/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cameras", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
camerasGuide to cameras in Phaser 4: the CameraManager, main camera, viewport and scroll, zoom, bounds, following sprites, effects, multiple cameras and minimaps.
This skill documents the camera system in Phaser 4 for game code. Every Scene has a `CameraManager` at `this.cameras`, which starts with one default camera that becomes the main camera. It explains the manager's methods for adding, adding an existing camera, removing, finding by name, counting, building from JSON config, resetting and resizing, and the cases in which the `main` reference changes.
Beyond the basics it covers viewport versus scroll, zoom, bounds, following sprites, camera effects such as fade, flash, shake, pan, zoom and rotation, ignore lists, filters and keyboard controls, along with multiple-camera and minimap setups. One noted limit is that only the first 32 cameras can exclude game objects through `ignore()`, because camera IDs are bitmasks. The page lists Phaser source paths for the camera classes, points to related skills on game setup, sprites and filters, and keeps a longer reference in `references/REFERENCE.md`.
2 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 74c2733. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are javascript).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Phaser 4 Cameras loads about 4k tokens when it runs, and up to ~5.8k if it reads all its reference files. Until then it costs about 65 tokens; SKILL.md has 941 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from autonomous-ai/openharness at commit 74c2733, republished under its MIT licence (© autonomous-ai). 941 words, ~3,974 tokens.
.claude/skills/cameras/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Camera system in Phaser 4 -- CameraManager, main camera, viewport vs scroll, zoom, bounds, following sprites, camera effects (fade, flash, shake, pan, zoomTo, rotateTo), ignore lists, filters, and keyboard controls.
Key source paths: src/cameras/2d/CameraManager.js, src/cameras/2d/BaseCamera.js, src/cameras/2d/Camera.js, src/cameras/2d/effects/, src/cameras/controls/
Related skills: ../game-setup-and-config/SKILL.md, ../sprites-and-images/SKILL.md, ../filters-and-postfx/SKILL.md
// In a Scene's create() method:
// Access the default camera (created automatically)
const cam = this.cameras.main;
// Scroll the camera to look at a different part of the world
cam.setScroll(200, 100);
// Center camera on a world coordinate
cam.centerOn(400, 300);
// Zoom in (2x) -- values < 1 zoom out, > 1 zoom in
cam.setZoom(2);
// Follow a sprite with smooth lerp
cam.startFollow(player, false, 0.1, 0.1);
// Constrain the camera to the world bounds
cam.setBounds(0, 0, 2048, 2048);
// Fade in from black over 1 second
cam.fadeIn(1000);
// Add a filter to the camera (v4 feature)
cam.filters.external.addBlur(1, 2);Every Scene has a CameraManager accessible via this.cameras. It manages all cameras for that Scene and is registered as a plugin under the key 'CameraManager'.
// The manager is at this.cameras (not this.camera)
this.cameras // CameraManager instance
this.cameras.cameras // Array of Camera objects (render order)
this.cameras.main // Reference to the "main" camera (first one by default)
this.cameras.default // Un-transformed utility camera (not in the cameras array)Key methods on CameraManager:
| Method | Signature | Description |
|---|---|---|
add | (x?, y?, width?, height?, makeMain?, name?) | Create a new Camera. Defaults to full game size at 0,0. Returns Camera. |
addExisting | (camera, makeMain?) | Add a pre-built Camera instance. Returns the Camera or null if it already exists. |
remove | (camera, runDestroy?) | Remove and optionally destroy a Camera or array of Cameras. If main is removed, resets to cameras[0]. |
getCamera | (name) | Find a Camera by its name string. Returns Camera or null. |
getTotal | (isVisible?) | Count cameras. Pass true to count only visible ones. |
fromJSON | (config) | Create cameras from a config object or array. Used for scene-level camera config. |
resetAll | () | Destroy all cameras and create one fresh default camera. |
resize | (width, height) | Resize all cameras to given dimensions. |
Camera limit: The manager supports up to 32 cameras that can use ignore() for Game Object exclusion (IDs are bitmasks). Cameras beyond 32 get ID 0 and cannot exclude objects.
The main property is a convenience reference to a Camera, typically cameras[0]. It is set automatically when:
makeMain: true to add() or addExisting()cameras[0])A Camera has two independent coordinate concepts:
Viewport -- The physical rectangle on the canvas where the Camera renders. Controlled by setPosition(x, y), setSize(w, h), or setViewport(x, y, w, h). By default, fills the entire game canvas.
Scroll -- Where the Camera is "looking" in the game world. Controlled by scrollX / scrollY properties or setScroll(x, y). Scrolling does not affect the viewport rectangle.
// Viewport: a 320x200 mini-map in the top-right corner
const miniCam = this.cameras.add(480, 0, 320, 200);
// Scroll: make the mini-map look at a different world area
miniCam.setScroll(1000, 500);
// Zoom: the mini-cam shows more of the world
miniCam.setZoom(0.25);worldView is a read-only Rectangle updated each frame that reflects what area of the world the camera can currently see, accounting for scroll, zoom, and bounds. Use it for culling or intersection checks.
const view = cam.worldView; // { x, y, width, height }// Direct property access
cam.scrollX = 100;
cam.scrollY = 200;
// Chainable setter
cam.setScroll(100, 200);
// Center the camera on a world coordinate
cam.centerOn(500, 400);
// Get the scroll values needed to center on a point (without moving)
const point = cam.getScroll(500, 400); // returns Vector2// Instant follow (lerp = 1, the default)
cam.startFollow(player);
// Smooth follow with lerp (0..1, lower = smoother)
cam.startFollow(player, false, 0.1, 0.1);
// Full signature:
// startFollow(target, roundPixels?, lerpX?, lerpY?, offsetX?, offsetY?)
cam.startFollow(player, true, 0.05, 0.05, 0, -50);
// Change lerp or offset after starting follow
cam.setLerp(0.08, 0.08);
cam.setFollowOffset(0, -50);
// Dead zone: camera only scrolls when target leaves this rectangle
cam.setDeadzone(200, 150);
// Stop following
cam.stopFollow();startFollow accepts any object with x and y properties -- it does not have to be a Game Object. Lerp of 1 snaps instantly; 0.1 gives smooth tracking. A lerp of 0 on an axis disables tracking on that axis.
When a deadzone is set, the camera does not scroll while the target remains inside the deadzone rectangle. The deadzone is re-centered on the camera midpoint each frame.
// Uniform zoom
cam.setZoom(2); // 2x zoom in
cam.setZoom(0.5); // zoom out (see twice as much)
// Independent horizontal/vertical zoom
cam.setZoom(2, 1); // stretch horizontally
// Read current zoom
cam.zoom; // shortcut -- reads zoomX (assumes uniform)
cam.zoomX;
cam.zoomY;Never set zoom to 0. The minimum is clamped to 0.001.
// Constrain scrolling to a world area
cam.setBounds(0, 0, worldWidth, worldHeight);
// Center on the new bounds immediately
cam.setBounds(0, 0, 2048, 2048, true);
// Temporarily disable bounds without removing them
cam.useBounds = false;
// Remove bounds entirely
cam.removeBounds();
// Read the current bounds
const rect = cam.getBounds(); // returns a new Rectangle copyBounds only restrict scrolling. They do not prevent Game Objects from being placed outside the bounds, and they do not affect the viewport position.
// Full-screen main camera
const main = this.cameras.main;
// Mini-map in top-right corner
const minimap = this.cameras.add(600, 0, 200, 150).setZoom(0.2).setName('minimap');
minimap.setScroll(0, 0);
minimap.setBackgroundColor('rgba(0,0,0,0.5)');
// HUD camera that doesn't scroll (ignores world objects, shows HUD layer only)
const hudCam = this.cameras.add(0, 0, 800, 600).setName('hud');
hudCam.setScroll(0, 0);
// Make the main camera ignore HUD objects
main.ignore(hudGroup);
// Make the HUD camera ignore world objects
hudCam.ignore(worldGroup);
// Find a camera by name
const found = this.cameras.getCamera('minimap');
// Remove a camera
this.cameras.remove(minimap);All effects are on the Camera class (not BaseCamera). Each returns this for chaining. Effects that are already running will not restart unless you pass force: true.
// Fade out to black over 1 second
cam.fadeOut(1000);
// Fade out to red
cam.fadeOut(1000, 255, 0, 0);
// Fade in from black over 500ms
cam.fadeIn(500);
// Lower-level: fade (out direction) and fadeFrom (in direction)
// with a force parameter
cam.fade(1000, 0, 0, 0, true); // force start even if running
cam.fadeFrom(1000, 0, 0, 0, true);
// With per-frame callback
cam.fadeOut(1000, 0, 0, 0, (cam, progress) => {
// progress goes from 0 to 1
});Fade direction: fadeOut / fade goes transparent-to-color. fadeIn / fadeFrom goes color-to-transparent.
// White flash over 250ms (default)
cam.flash(250);
// Red flash over 500ms
cam.flash(500, 255, 0, 0);
// Full signature: flash(duration?, r?, g?, b?, force?, callback?, context?)
cam.flash(300, 255, 255, 255, true, (cam, progress) => {});// Default shake: 100ms at intensity 0.05
cam.shake(100);
// Stronger shake for 500ms
cam.shake(500, 0.02);
// Independent x/y intensity using a Vector2
cam.shake(300, new Phaser.Math.Vector2(0.1, 0.02));
// Full signature: shake(duration?, intensity?, force?, callback?, context?)The intensity value is a small float. The default 0.05 means the camera shifts up to 5% of the viewport size.
// Pan camera center to world coordinate (400, 300) over 2 seconds
cam.pan(400, 300, 2000);
// With easing
cam.pan(400, 300, 2000, 'Power2');
// Full signature: pan(x, y, duration?, ease?, force?, callback?, context?)
cam.pan(800, 600, 1500, 'Sine.easeInOut', false, (cam, progress, x, y) => {});Pan scrolls the camera so its viewport center finishes at the given world coordinate.
// Animate zoom to 2x over 1 second
cam.zoomTo(2, 1000);
// With easing
cam.zoomTo(0.5, 2000, 'Cubic.easeOut');
// Full signature: zoomTo(zoom, duration?, ease?, force?, callback?, context?)// Rotate camera to 45 degrees (in radians) over 1 second
cam.rotateTo(Phaser.Math.DegToRad(45), false, 1000);
// Shortest path rotation
cam.rotateTo(Math.PI, true, 1500, 'Quad.easeInOut');
// Full signature: rotateTo(angle, shortestPath?, duration?, ease?, force?, callback?, context?)The angle is in radians. Set shortestPath to true to take the shortest rotation direction.
cam.resetFX(); // stops and resets all running effects (rotate, pan, shake, flash, fade)Phaser provides two built-in camera control classes. Both require you to call update(delta) in your scene's update method.
Moves at a fixed speed per frame. No smoothing.
// In create():
const cursors = this.input.keyboard.createCursorKeys();
this.camControl = new Phaser.Cameras.Controls.FixedKeyControl({
camera: this.cameras.main,
left: cursors.left,
right: cursors.right,
up: cursors.up,
down: cursors.down,
speed: 0.5 // can also be { x: 0.5, y: 0.3 }
});
// In update(time, delta):
this.camControl.update(delta);Applies acceleration, drag, and max speed for smooth camera movement.
this.camControl = new Phaser.Cameras.Controls.SmoothedKeyControl({
camera: this.cameras.main,
left: cursors.left,
right: cursors.right,
up: cursors.up,
down: cursors.down,
zoomIn: this.input.keyboard.addKey('Q'),
zoomOut: this.input.keyboard.addKey('E'),
zoomSpeed: 0.02,
acceleration: 0.06,
drag: 0.0005,
maxSpeed: 1.0
});
// In update(time, delta):
this.camControl.update(delta);Both controls support zoomIn and zoomOut keys and a zoomSpeed config value.
The ignore method updates a Game Object's cameraFilter bitmask so the camera skips rendering it.
// Ignore a single object
cam.ignore(uiText);
// Ignore an array
cam.ignore([scoreText, livesIcon, pauseButton]);
// Ignore all children in a Group
cam.ignore(uiGroup);
// Ignore a Layer and all its children
cam.ignore(uiLayer);This is the primary mechanism for HUD-style setups: one camera ignores world objects, another ignores HUD objects.
The deadzone defines a rectangular area around the follow target where the camera does not scroll. The camera only moves when the target leaves this rectangle.
// Set a deadzone of 200x150 pixels centered on the camera viewport
cam.setDeadzone(200, 150);
// Access the deadzone rectangle (read-only, updated internally)
console.log(cam.deadzone); // Phaser.Geom.Rectangle or null
// Remove the deadzone
cam.setDeadzone();Convert screen (pointer) coordinates to world coordinates, accounting for scroll, zoom, and rotation:
const worldPoint = cam.getWorldPoint(pointer.x, pointer.y);
// Reuse an output object to avoid allocation
const output = new Phaser.Math.Vector2();
cam.getWorldPoint(pointer.x, pointer.y, output);Essential when working with scrolled/zoomed cameras -- raw pointer coordinates are screen space, not world space.
Each frame, renderList is populated with Game Objects visible to this camera. Rebuilt every frame.
const visible = cam.renderList; // array of GameObjects rendered this frameForce the camera to render to an offscreen framebuffer. Required for CaptureFrame and similar features.
cam.setForceComposite(true); // enable offscreen framebuffer
cam.setForceComposite(false); // disableFilters enable framebuffer rendering automatically. Use setForceComposite(true) when you need it without filters.
In Phaser 4, Camera has a filters property with two FilterList instances:
cam.filters.internal // FilterList -- applied by the system
cam.filters.external // FilterList -- for user-added filtersAdd post-processing effects to a camera the same way you add them to Game Objects:
// Add a blur filter to the camera
cam.filters.external.addBlur(1, 2);
// Add a glow
cam.filters.external.addGlow(0xff0000, 4, 0, false, 0.1, 10);
// Add a color matrix filter
const fx = cam.filters.external.addColorMatrix();
fx.grayscale();
// Remove all external filters
cam.filters.external.clear();Filters require WebGL. The camera must render via a framebuffer when filters are active. See setForceComposite(true) to explicitly enable this even without filters.
Camera events are emitted on the Camera instance itself (it extends EventEmitter). Listen with cam.on(event, handler).
| Event constant | Dispatched when |
|---|---|
Phaser.Cameras.Scene2D.Events.FADE_IN_START | fadeIn / fadeFrom begins |
Phaser.Cameras.Scene2D.Events.FADE_IN_COMPLETE | Fade-in finishes |
Phaser.Cameras.Scene2D.Events.FADE_OUT_START | fadeOut / fade begins |
Phaser.Cameras.Scene2D.Events.FADE_OUT_COMPLETE | Fade-out finishes |
Phaser.Cameras.Scene2D.Events.FLASH_START | Flash begins |
Phaser.Cameras.Scene2D.Events.FLASH_COMPLETE | Flash finishes |
Phaser.Cameras.Scene2D.Events.SHAKE_START | Shake begins |
Phaser.Cameras.Scene2D.Events.SHAKE_COMPLETE | Shake finishes |
Phaser.Cameras.Scene2D.Events.PAN_START | Pan begins |
Phaser.Cameras.Scene2D.Events.PAN_COMPLETE | Pan finishes |
Phaser.Cameras.Scene2D.Events.ZOOM_START | Zoom effect begins |
Phaser.Cameras.Scene2D.Events.ZOOM_COMPLETE | Zoom effect finishes |
Phaser.Cameras.Scene2D.Events.ROTATE_START | RotateTo begins |
Phaser.Cameras.Scene2D.Events.ROTATE_COMPLETE | RotateTo finishes |
Phaser.Cameras.Scene2D.Events.FOLLOW_UPDATE | Camera updates its follow position (each frame while following). Args: (camera, target) |
Phaser.Cameras.Scene2D.Events.PRE_RENDER | Before the camera renders |
Phaser.Cameras.Scene2D.Events.POST_RENDER | After the camera renders |
Phaser.Cameras.Scene2D.Events.DESTROY | Camera is destroyed |
cam.on(Phaser.Cameras.Scene2D.Events.FADE_OUT_COMPLETE, () => {
this.scene.start('GameOver');
});For detailed configuration options, API reference tables, and source file maps, see the reference guide.
© autonomous-ai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (references) in store/agents/phaser/skills/cameras of autonomous-ai/openharness.
Open the folder on GitHubat commit 74c2733
Phaser 4 Cameras next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Phaser 4 Cameras this skillautonomous-ai/openharness | 1.2k | — | ~4k | Automated safety check: Pass | MIT | |
| Godot Gdscript Patterns925236118/AlphaAgent | 103 | 10 repos | ~5k | Automated safety check: Pass | MIT | |
| Sprite Genaldegad/sprite-gen | 2.6k | — | ~4.8k | Automated safety check: Pass | Apache-2.0 | |
| 2D Map and Scene Generator0x0funky/agent-sprite-forge | 4.4k | — | ~2.9k | Automated safety check: Pass | MIT | |
| Fantasy Framework Development Guideqq362946/Fantasy | 1.4k | — | ~5.8k | Automated safety check: Pass | Custom licence | |
| Dev StoryDonchitos/Claude-Code-Game-Studios | 26k | — | ~2.4k | Automated safety check: Notes | MIT |
925236118/AlphaAgent
Master Godot 4 GDScript patterns including signals, scenes, state machines, and optimization.
aldegad/sprite-gen
Generates images and game sprites through GPT or Grok with guided provider choices, separate saved defaults, automatic cleanup and optional curation.
0x0funky/agent-sprite-forge
Plans and builds 2D game maps and scenes, from tilemaps and parallax backgrounds to HD-2D plates, with collision checks, a playable HTML preview and Tiled, Godot or LDtk export.
qq362946/Fantasy
Development and review guide for the Fantasy C# distributed game server framework: ECS, FTask, routing, service discovery, config and databases.
Donchitos/Claude-Code-Game-Studios
Implement a story: ADR guidelines, right programmer agent, code plus test.
trekawek/coffee-gb
Plays an authorized Game Boy or Game Boy Color ROM in one persistent headless Coffee GB session, inspecting frames and keeping an action trace for replay or tests.
autonomous-ai/openharness
Slices 3D mesh files into printer-profiled plain G-code through real slicer CLIs, with backend discovery, input inspection, dry runs and static validation.
autonomous-ai/openharness
Turns a home-automation request into standard, testable automations.yaml, run against Home Assistant Core's real triggers and verified with its own trace tool.
autonomous-ai/openharness
Turns a musical brief into LilyPond concert-pitch music, checked parts for each instrument and a playable practice pack.
autonomous-ai/openharness
Turns an STL and explicit printer and material requirements into compared OrcaSlicer plans, an editable 3MF project, checked G-code and a portable handoff.
autonomous-ai/openharness
Builds an editable DOCX report, a formula-driven XLSX workbook and a fresh LibreOffice PDF preview from one structured source file, then checks them together.
autonomous-ai/openharness
Dry-run, upload, and cautiously initiate local Bambu Lab print jobs from validated plain .gcode, using Bambu LAN FTPS/MQTT handoffs.
Categories
Guide to cameras in Phaser 4: the CameraManager, main camera, viewport and scroll, zoom, bounds, following sprites, effects, multiple cameras and minimaps. This skill documents the camera system in Phaser 4 for game code.cameras`, which starts with one default camera that becomes the main camera.
Phaser 4 Cameras fits situations like: making the camera follow the player sprite in a Phaser 4 scene; adding screen shake, fade or flash effects to game events; setting up a second camera for a minimap or split view; limiting camera scrolling to the world bounds.
Run `npx skills add autonomous-ai/openharness --skill cameras -a claude-code`. Or copy the skill folder (store/agents/phaser/skills/cameras in autonomous-ai/openharness) into .claude/skills/cameras in your project. Claude Code loads it when a task matches its description.
Run `npx skills add autonomous-ai/openharness --skill cameras -a codex`. Or copy the skill folder (store/agents/phaser/skills/cameras in autonomous-ai/openharness) into .agents/skills/cameras in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add autonomous-ai/openharness --skill cameras -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cameras, .gemini/skills/cameras, .github/skills/cameras and .opencode/skills/cameras in your project.
SKILL.md names no scripts, command-line tools or credentials: Phaser 4 Cameras is instructions for the agent only. Our summary lists: A Phaser 4 project.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Phaser 4 Cameras is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 4k tokens (SKILL.md is roughly 16k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.8k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Phaser 4 Cameras: Godot Gdscript Patterns (925236118/AlphaAgent, 103 stars), Sprite Gen (aldegad/sprite-gen, 2.6k stars), 2D Map and Scene Generator (0x0funky/agent-sprite-forge, 4.4k stars) and Fantasy Framework Development Guide (qq362946/Fantasy, 1.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
autonomous-ai (a GitHub organization) maintains it in autonomous-ai/openharness, which has 1,194 GitHub stars. The repository holds 99 skills in this directory. The repository was last updated on October 9, 2026.
Source: autonomous-ai/openharness on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.