BLOCKY TOY — 3D Animation Production Skill
Build code-based 3D animated films as coherent, functioning worlds inhabited by individual, acting characters—not isolated assets or recolored clones.
Never rewrite working project code unnecessarily. Inspect the target codebase first, adapt to its engine and directory layout, reuse existing primitives, implement incrementally, and verify visually and programmatically before claiming success.
Production Modes & Controls
Support both modes seamlessly without forcing users to specify every option (references/input-modes-and-script-parsing.md):
- Idea Mode (e.g.
/blocky-toy --duration 5m "The Last Train Home"): Screenwriting Department (Screenwriter, Dialogue Writer, Story Editor) develops premise, cast motivations, conflicts, natural dialogue, scenes, and payoff intotemplates/screenplay.mdbefore 3D production, making creative choices faithfully without asking unnecessary questions. - Script Mode (e.g.
/blocky-toy --duration 10m --script ./scripts/story.md): Treat the provided script (.md,.txt, screenplay, outline, dialogue-only, or inline) as authoritative source of truth. Preserve main plot, motivations, key events, scene order, relationships, and ending; enhance dialogue naturalness, scene descriptions, visual storytelling, acting, and continuity without silently changing core narrative intent (propose structural changes as recommendations). - Optional Controls:
--duration(variable:15sclips,1–3mstories,3–15m+short films—never stretch stories artificially),--language,--style,--voice,--format(user-selectableportrait/reels/9:16orlandscape/16:9/4:5/1:1; defaults to Reels9:161080×1920when omitted),--script.
Pre-Code Gate (Run Before Writing Any Code)
- Detect Mode & Story Scope: Identify Idea Mode vs. Script Mode (
scripts/parse-script-outline.mjs), spoken vs. silent format, target dialogue language(s) (never hardcode one language), output aspect ratio (default9:16Reels unless specified), and visual direction. - Inspect Target Project: Read only the active workspace's existing scene files, character rigs, materials, camera rig, audio/TTS scripts, and build/render tools before proposing changes.
- Reuse Locally, Isolate Strictly: Extend registries, materials, colliders, and controllers within the current project across its scenes. Never copy, import, or reuse 3D assets, character rigs, audio WAVs, or render caches (
output/,frames/,.cache/) from external/previous projects (e.g.,test-ai-videoor sibling repos) ordocs/media/into a new project. - Incremental Execution: Plan changes in small modules, verify each layer, and load only the reference files needed for the current stage.
Adaptive 14-Stage Workflow
Skip stages that do not apply (e.g., omit Stage 8 for a silent environmental piece; omit Stage 5 macro-zoning for a single-room interior).
| Stage | Focus | Action | Load Reference / Template |
|---|---|---|---|
| 1 | Screenwriting & Review | Develop/parse story (--script or Idea), craft natural dialogue & run 1 Editorial Review before locking templates/screenplay.md | references/screenwriting.md, references/story-structure.md, references/character-development.md, references/natural-dialogue.md, references/scene-and-emotional-craft.md, references/editorial-review.md, references/input-modes-and-script-parsing.md, templates/screenplay.md, templates/script-input.md |
| 2 | Project Audit | Inspect repo structure, dependencies, and render pipeline | references/production-workflow.md |
| 3 | Runtime Mapping | Map renderer, headless capture, and audio muxing capabilities | references/production-workflow.md |
| 4 | Art Direction & Scale | Establish palette, material rules, lighting, and metric scale (1u = 1m) | references/art-direction.md, references/world-scale.md, references/cinematography.md, templates/art-direction.md |
| 5 | World Masterplan | Design connected roads, zones, sidewalks, lots, greenery & ambient life before props | references/worldbuilding.md |
| 6 | World State & Physics | Set mood, clock time, day index, weather/time-of-day, temporal continuity, sky, grass & animal rules | references/real-world-consistency.md, templates/world-state.md, templates/scene-definition.md, scripts/atmosphere-presets.mjs |
| 7 | Character Identity & Lock | Define non-cloned canonical profiles (locked), asset refs & voice IDs | references/character-design.md, templates/character-profile.md |
| 8 | Dialogue & Acting | Build voice lines, WAV-aligned visemes, gaze, gestures & listener reactions | references/dialogue-and-acting.md, references/natural-dialogue.md, references/lip-sync-and-audio.md, templates/dialogue-timeline.md |
| 9 | Motion & Collision | Implement LEGO/Roblox-style blocky locomotion (blocky knees, foot lift, no sliding/treadmill), shared controller, rider-bound motorcycles, road-following cars, nav pathing & surface grounding | references/animation-physics.md, references/assets/walking-reference.jpg |
| 10 | Camera & Long-Form Plan | Plan Act/Scene/Shot beats, balanced pacing, default cuts & motivated camera framing | references/cinematography.md, references/long-form-production.md, templates/production-plan.md |
| 11 | Incremental Build & Cache | Build per scene/shot; reuse project-local assets & project-local scene cache | references/long-form-production.md |
| 12 | Logic & Scale Audits | Run automated checks for roads, collisions, scale, art direction, atmosphere/continuity, world movement & lip-sync | references/quality-assurance.md, scripts/validate-world-scale.mjs, scripts/validate-art-direction.mjs, scripts/validate-atmosphere.mjs, scripts/validate-world-movement.mjs |
| 13 | Visual Inspection | Inspect aerial, street-level, character-close, and final camera renders | references/quality-assurance.md |
| 14 | Fix & Export | Resolve every visual/logic defect, re-render, mux audio, and probe output | references/quality-assurance.md |
Non-Negotiable Production Rules
- Story Worth Watching First (Screenplay as Source of Truth): Write and editorially review the screenplay (
references/screenwriting.md,references/editorial-review.md,templates/screenplay.md) via distinct Screenwriter, Dialogue Writer, and Story Editor passes (max 1 targeted revision) before production. Ground scenes in clear premise, causal progression, distinct character motivations/flaws, visual storytelling, emotional restraint, and natural subtext-rich dialogue (references/natural-dialogue.md) free of generic AI filler; downstream stages must follow the approved screenplay without inventing unscripted plot changes. - Nothing Without Reason & Natural Law: Every crosswalk, sign, tree, multi-stop sky/cloud layer, soil-and-tuft lawn, light pool, vehicle turn, weather effect, or animal behavior must obey real-world physics, believable metric proportions (
1u = 1m, never miniature cars beside adults), and nature (references/world-scale.md,references/real-world-consistency.md). - World First, Props Second: Lock connected road/sidewalk/lot geometry before placing buildings, vehicles, or street furniture (
references/worldbuilding.md). - True Character Diversity, Clean Geometry & Identity Lock: Differentiate characters via silhouette, hairstyle (360°), beveled/tapered/rounded garment & A-line skirt geometry (never rigid pasted bricks or realistic cloth clutter), sleeve cut, footwear, proportions, and palette—never recolored clones, never unexplained head/body blocks or floating artifacts, and never auto-added accessories (
references/character-design.md). Once locked, reuse the canonical character asset/seed and propagate scene-aware continuity state across cuts. - Acting ≠ Narration: Narrators leave character mouths shut. Speaking characters synchronize WAV-aligned visemes, evolving mid-line emotions, gestures, eye contact, and non-speaking listener reactions (
references/dialogue-and-acting.md). - Dialogue-First, Natural Soundscape & Zero-Cost Audio: Prioritize clear dialogue grounded in scene-specific, low-volume real-world ambience (distant traffic, irregular birds, location-fit room tone; avoid loud/constant wind or hiss). Keep background music optional and context-aware (
noneby default in casual dialogue; use only for emotional turns, montages, or cinematic beats with smooth ducking and natural silence). Support any language via a clean TTS provider interface (msedge-tts+ FFmpeg fallback); never force paid APIs or keys (references/lip-sync-and-audio.md). - Zero-Defect Stylized Blocky Motion & Causal Movement: Use one shared LEGO/Roblox-inspired locomotion controller (
idle,walk,run,turn,start_stop,stand_interact;references/assets/walking-reference.jpg) with alternating legs, crisp blocky knee bends, lifted shoe soles, opposite arm swing, stable torso, and stride-locked contact (no foot sliding, no treadmill walks, no realistic mocap/floppy motion); keep moving motorcycles rider-bound, allow enclosed cars to follow roads logically without mandatory interior drivers, and eliminate jitter, obstacle/door clipping, ground sinking/floating, aimless motion, and teleports (references/animation-physics.md). - Balanced Cinematography & Pacing (Cinematic When Necessary, Simple When Sufficient): Apply across both Idea Mode and Script Mode (
references/cinematography.md). Prioritize character readability and clear storytelling with proportional medium/wide shots, standardcuttransitions by default, static cameras when sufficient, tracking for moving subjects, selective pans/dollies/close-ups only when narratively earned, and natural shot durations—avoiding live-action melodrama or unmotivated camera sweeps and transitions.
Token Efficiency & Clean Code Rules
- Progressive Disclosure: Read only the
references/andtemplates/rows relevant to the user's request. - Dry & Parameterized: Extract shared helpers and data tables instead of duplicating components per character, building, or test act.
- Code-Based Stack Independence (No Blender): Adapt instructions to the target project's code-based 3D stack (Three.js/R3F, WebGL/Babylon.js, Godot, Unity, etc.) after inspecting
package.jsonand existing modules—never check for, depend on, or integrate Blender (bpy) or switch stacks unnecessarily.
Truthful Validation & Status Reporting
Never report a capability as working unless tested after the final edit. Classify every deliverable strictly as:
- Implemented and verified: Code runs cleanly and automated checks + visual/audio inspection pass.
- Implemented but not verified: Code written, pending execution or render inspection.
- Planned but not implemented: Designed only.
- Unsupported by current runtime: Blocked by missing engine/runtime capability (state exact gap).