/xenodot:godot-orthographic-follow-camerafrom xenodot
Creates an orthographic Camera3D on a pivot that smoothly follows a target, designed for top-down/isometric 3D pixel-art games. Prevents pixel crawl by keeping texel density constant.
Ships in xenodot. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A pivot-based rig: CameraRig (Node3D) rotates to the fixed view angle; the Camera3D child sits back along the pivot's axis and renders orthographically.
Why orthographic is a hard requirement, not taste: with a perspective camera, world texels change size across the screen and per frame, so pixels shimmer ("pixel crawl") and the later texel-snapping fix is mathematically impossible. Orthographic keeps texel density constant, which is what makes 3D read as pixel art.
godot-project-baseline applied (read CLAUDE.md first).godot-3d-pixelation is set up, the entire rig goes inside the SubViewport (it contains the camera). If skills run out of order, build the rig at the world root and note in CLAUDE.md that it must move into the SubViewport later.res://entities/camera_rig/camera_rig.tscn, root CameraRig (Node3D) with child Camera3D.res://entities/camera_rig/camera_rig.gd attached to the root.atan(0.5)); offer it only if the user asks for strict isometric.CameraRig (Node3D) → child Camera3D.CameraRig: Rotation Degrees = (-30, 45, 0).Camera3D: Position = (0, 0, 20) (pulled back along the pivot's local Z — distance is irrelevant to framing in orthographic, it only avoids near-plane clipping); Projection = Orthogonal; Size = 10 (this is the zoom knob: world units visible vertically); Far = 100.camera_rig.gd:class_name CameraRig
extends Node3D
@export var target: Node3D
@export var follow_speed: float = 8.0
func _physics_process(delta: float) -> void:
if target == null:
return
# Frame-rate independent exponential smoothing of the pivot position.
global_position = global_position.lerp(
target.global_position, 1.0 - exp(-follow_speed * delta))
camera_rig.tscn in the main scene (inside the SubViewport if present) and assign target in the inspector once a player exists. With no target it is a static camera — valid for the first POC step.CameraRig, Camera3D's own rotation stays (0,0,0).| Symptom | Fix |
|---|---|
| Scene has perspective distortion | Projection left at Perspective; set Orthogonal — and do not "compromise" with a narrow FOV perspective, it breaks texel snapping later |
| Nearby geometry gets sliced/invisible | Camera too close with default near plane → increase Camera3D Z position (e.g. 20–50); cost-free in orthographic |
| Everything black/empty | Rig outside the SubViewport while another active camera exists inside it; exactly one current Camera3D per viewport |
| Follow feels frame-rate dependent / jittery | Smoothing must use the 1.0 - exp(-speed * delta) form, not a constant lerp weight; jitter against a CharacterBody3D target means follow belongs in _physics_process (as written) |
| User wants camera rotation (Q/E to turn) | Rotate CameraRig yaw in 45°/90° steps via tween; free rotation reintroduces shimmer. See normalization gotcha row below |
| Yaw rotation tweens over-rotate after a few presses | _target_yaw accumulates unbounded while Godot normalizes rotation_degrees.y to [-180, 180] after each tween — they diverge. Fix: (1) if killing a running tween, snap rotation_degrees.y = _target_yaw first; (2) always wrap: _target_yaw = wrapf(_target_yaw + step, -180.0, 180.0) |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub arthur0n/xenodot-forge --plugin xenodot50 skills in this plugin
/agent-reportThe agent→orchestrator handoff protocol. A backgrounded worker's relayed result string truncates on long, tool-heavy turns, so the handoff is an artifact, not a string — the worker Writes its full report to a file, and the orchestrator reads that file directly. Load this whenever a task asks you to hand off a structured report to another agent. Any agent doing background work that must be handed off uses it — not only builders. Defines the report contract the writer follows./autonomous-main-goalThe hive's Autonomous Mode self-drive loop. When a standing Main Goal is active, evaluate it, break it into ordered slices, then on each `[Autonomous check/cavemanUltra-compressed communication mode — always active for this agent. Cuts token usage ~75% by dropping filler, articles, and pleasantries while keeping full technical accuracy. Drop only when interviewing the user via mcp__ui__form (labels/descriptions must be clear prose).
/godot-3d-pixelationSubViewport-based low-resolution crisp rendering of a 3D scene in Godot 4.x — the foundation of the "3D pixel art" style. Use for pixelated/retro/PSX/low-res 3D, setting SubViewport render resolution, "crisp pixels", restructuring a scene tree so 3D renders below window resolution, or when a downscaled viewport looks blurry./godot-animation-librariesImport and play skeletal animations on a sourced 3D character in Godot 4.6 — the separate-glTF workflow (one model file + anim-only files), merging anim clips into an AnimationLibrary loaded onto your own AnimationPlayer, and retargeting a foreign animation (e.g. Mixamo) onto your skeleton via SkeletonProfileHumanoid. Use when an animated rigged .glb arrives in assets/models/, when a character must stop being a static capsule and play a looping idle/walk, when animations come in their own glTF separate from the model, when a sourced animation targets a different skeleton than your character, or when an imported AnimationPlayer's clips won't play / play on the wrong bones. NOT for static-prop import (that is godot-mesh-import + its style delta), NOT for shader-time foliage sway (godot-foliage), NOT for 2D sprite-frame animation./godot-arena-spatial-designOPT-IN spatial-design principles for a combat/arena encounter space in Godot — nine measurable properties (loop topology, interior cover, partitioned sightlines, cover mix, bounded verticality, landmarks, spawn-to-engagement pacing, scale/density, choke-vs-open) that turn a flat blockout into a real firefight space. Use ONLY when the level being built is a combat/arena encounter (enemy waves, gunfights) — apply ALONGSIDE whichever build method is chosen (`godot-greybox` static default, `godot-runtime-arena` runtime, or `godot-gridmap-level` tile-fill). NOT the build mechanism itself, NOT a general level-design bar for non-combat spaces (that's `level-design-principles`).Other plugins' skills for the same job