Blueprint
Building your gaming factory
Stage 1: Architecting the Studio Floor (BLUEPRINT.md & Git)
Before building a single game, you have to build the factory. Instead of manually setting up folders and configs for every project, I start by sitting down with an AI to co-design a master specification file called BLUEPRINT.md. Think of it as the Standard Operating Procedures (SOPs) for the entire studio.
Inside BLUEPRINT.md, I formalize three core foundations:
- Standardized Studio Folder Anatomy: Every repository uses the exact same layout so both humans and AI agents always know where everything lives:
docs/— The Game Design & Art Bible (GDD.md), local factory rules (BLUEPRINT.md), andCHANGELOG.md.skills/— Reusable agent instructions (AGENTS.mdand task-specific skill prompts).assets_raw/— Unprocessed AI generations and raw audio (kept separate so heavy source files never bloat browser load times).assets_game/— Cleaned, palette-locked sprites, WebP textures, and OGG sound effects ready for Godot.src/— The Godot project (project.godot,.tscnscenes, typed.gdscripts, and.tresdata resources).exports/web/— The compiled HTML5 output ready for Bronx Arcade.marketing/— Promo videos, screenshots, GIFs, and launch copy.
- Strict Agent Guardrails: Rules AI agents are never allowed to break—such as never modifying
project.godotblindly, never mixing deprecated Godot 3 syntax with Godot 4 typed GDScript, and never dumping raw assets intosrc/. - Everything is a Git Repo: Once
BLUEPRINT.mdis finalized, a CLI coding agent scaffolds the master template repo. Every new game starts by cloning that template into a fresh folder and Git repository. The Golden Rule: never let an AI agent touch a dirty working tree. Always commit a clean milestone first so a singlegit reset --hardrestores everything in two seconds if an agent hallucinates a bad scene refactor.
Stage 2: The Creative Office — The Game Design & Art Bible
In a real game studio, engineers don't write engine code before the Creative Director locks down what the game actually is. Every repo starts in docs/GDD.md with a Game Design & Art Bible.
Before opening Godot, I collaborate with AI to lock down three pillars:
- Core Gameplay Loop & Controls: What does the player do in the first 10 seconds? What are the exact inputs, win/lose conditions, and scoring mechanics?
- Art Direction & Visual Bible: What is the visual identity? I define a fixed color palette, pixel grid resolution (e.g., 16x16 or 32x32), contrast rules, and UI styling so the game fits Bronx Arcade's bold, high-contrast aesthetic.
- Scope & Cut List: What features belong in the first playable version, and what gets cut so the game actually ships?
Stage 3: The Art Department (Solving the "AI Slop" Problem)
The biggest giveaway of AI-assisted indie games is visual inconsistency—clashing pixel sizes, muddy lighting, or stray semi-transparent pixels. Treating the Art Department as a two-step pipeline keeps you in control as the Creative Director:
- The Drafting Table (
assets_raw/): AI image and audio tools generate initial sprite sheets, tilesets, backgrounds, and chiptune sound effects using prompts strictly constrained by the Art Bible's palette and perspective rules. - Post-Processing & Cleanup (
assets_game/): Raw AI output never goes straight into the engine. Sprites run through cleanup tools (Aseprite, ImageMagick/Python scripts, or custom Godot shaders) to quantize colors to the locked palette, strip stray edge pixels, align sprite sheets to exact grid dimensions, and compress files into lightweight WebP and OGG formats so browser load times stay instant.
Stage 4: The Engineering Floor (src/, Agent Automation & Milestones)
With the Design Bible and engine-ready assets locked, production moves to the Engineering Floor. Instead of copying and pasting blindly from a chat window, I use specialized agent skills (skills/) to automate repetitive work while keeping human oversight on the "game feel":
- What AI Agents Automate: Scaffolding modular typed GDScript components (state machines, wave spawners, local browser
ConfigFilehigh-score saves), generating balanced.jsonor.tresdata tables for enemy waves and tower upgrades, and running automated HTML5 export scripts. - What Stays Human-Driven: Scene tree architecture, signal wiring, and "game juice" (tuning coyote time, input buffering, hit-stop frames, and screen shake so controls feel crisp at 60 FPS).
To eliminate feature creep, every build advances through four strict milestones:
- Milestone 0 — The Greybox: Colored rectangles testing core movement, physics, and controls. If it isn't fun with boxes, it won't be fun with sprites.
- Milestone 1 — The Vertical Slice: Integrating real sprites, sound effects, UI, and juice into one complete, playable 60-second arcade loop.
- Milestone 2 — Systems & Content Scaling: Expanding levels, enemy waves, upgrades, and browser high-score persistence via clean data tables.
- Milestone 3 — Web Optimization & Release: Shrinking HTML5 export size, verifying desktop/mobile inputs, and updating
CHANGELOG.md.
Stage 5: Quality Assurance (exports/web/)
Browser games live and die by zero-friction accessibility. Because Bronx Arcade requires no install and no account, a player decides within seconds whether to play or close the tab. Every release candidate passes two QA gates:
- Automated Headless Checks: Running Godot CLI scripts to verify that scenes load with zero null instance errors, wave math never divides by zero, and HTML5 web exports compile cleanly without thread or audio-buffer warnings.
- The 30-Second Browser Test: Opening the exported build in a fresh incognito browser tab. Within 30 seconds, a brand-new visitor must understand what they control, what the goal is, and why it's fun, without reading a wall of tutorial text.
Stage 6: Publishing & Marketing Desk (marketing/ & Splash Updates)
A game sitting silently on a server isn't finished—it needs a launch. Once QA signs off, the Marketing Desk runs a repeatable launch checklist using assets stored in marketing/:
- Gameplay Capture & Promo Videos: Recording crisp 15-to-30-second gameplay hooks, looping GIFs, and vertical promo clips highlighting the core mechanic, paired with punchy hooks pulled straight from
GDD.md. - Updating the Splash Site & Dedicated Game Page: Deploying the
exports/web/bundle to Bronx Arcade, featuring the build on The Wall, and publishing its dedicated page with full controls, strategy tips, screenshots, andCHANGELOG.mdpatch notes. - Community & Social Rollout: Using marketing agent skills to draft tailored launch posts for X, Reddit indie dev communities, and Godot showcases—always linking directly to the zero-install browser build so players can jump right in.
The Factory in Action
That is the complete solo studio pipeline: BLUEPRINT.md → Git Repo → Design & Art Bible → Art Cleanup → Engineering Milestones → QA → Marketing & Launch. It turns game development from an overwhelming mountain of unfinished ideas into a repeatable assembly line that fits into real life.
Want to play what comes off this assembly line? Head over to The Wall and launch a game right in your browser—or explore The Lab to read the Game Design Documents behind upcoming builds.
How to start
The blueprint below is the file. Make an empty directory. Save it there as BLUEPRINT.md. Feed that file to a CLI coding agent and tell it to initialize a new game repository. That is the instruction on the first lines of the file.
The Golden Rule still holds. Never let an AI agent touch a dirty working tree. Always commit a clean milestone first, so a single git reset --hard restores everything if an agent hallucinates a bad scene refactor.
BLUEPRINT.md
# BLUEPRINT.md — Bronx Arcade Solo Game Studio SOP > **Purpose:** Master specification for scaffolding, building, testing, and shipping zero-install Godot 4 HTML5 browser games for **Bronx Arcade**. Feed this file to a CLI coding agent in an empty directory to initialize a new game repository. --- ## 1. Studio Philosophy & Non-Negotiables - **Target Platform:** Web Browser (HTML5 / WebGL2), desktop and mobile friendly. - **Zero Friction:** No account, no install, playable within 5 seconds of page load. Local progress/high scores saved via browser `ConfigFile` / `localStorage`. - **Engine Standard:** Godot 4.x using **strictly typed GDScript** (`var speed: float = 200.0`, explicit return types `-> void`). Never use deprecated Godot 3 syntax. - **Asset Discipline:** Never dump unprocessed AI images or heavy WAV files into `src/`. All web assets must be palette-locked, grid-aligned, and compressed. --- ## 2. Standard Repository Anatomy Initialize every new game repo with this exact directory structure: ```text game-slug/ ├── AGENTS.md # Entry instructions & guardrails for CLI coding agents ├── README.md # Quickstart, controls, and build commands ├── .gitignore # Ignores .godot/, exports/, assets_raw/, OS temp files ├── docs/ │ ├── BLUEPRINT.md # Copy of this studio SOP │ ├── GDD.md # Game Design & Art Bible (locked before coding) │ └── CHANGELOG.md # Public patch notes per milestone ├── skills/ │ ├── gdscript-coder.md # Rules for modular nodes, signals, and typed GDScript │ ├── art-pipeline.md # Palette quantization, sprite sheet slicing & WebP rules │ ├── qa-browser-test.md # Headless scene checks & HTML5 export verification │ └── marketing-launch.md # Promo video hooks, splash page copy & social posts ├── assets_raw/ # Unprocessed AI outputs & raw audio (excluded from build) ├── assets_game/ # Engine-ready WebP sprites, tilesets, fonts & OGG audio ├── src/ # Godot 4 project root (project.godot, scenes/, scripts/, data/) ├── exports/ │ └── web/ # Compiled HTML5 output (index.html, .wasm, .pck, .js) └── marketing/ # 15-30s gameplay captures, GIFs, thumbnails & launch copy ``` --- ## 3. AI Agent Guardrails (`AGENTS.md` Rules) Every AI agent operating inside this repository must obey these rules: 1. **Clean Git Tree Required:** Never run automated multi-file edits on an uncommitted working tree. 2. **Protect `project.godot`:** Do not overwrite input maps, display scaling, or autoload singletons without explicit approval. 3. **Modular Components:** Build small, reusable scripts (e.g., `HealthComponent`, `HitboxComponent`, `ScreenShakeCamera`) connected via Godot signals rather than monolithic manager scripts. 4. **Data-Driven Content:** Store enemy stats, wave spawns, and upgrade curves in external `.json` or Godot `.tres` resource files under `src/data/`, never hardcoded inside gameplay loops. 5. **Web Export Safety:** Avoid multithreaded features requiring `SharedArrayBuffer` unless explicitly configured; keep total HTML5 export size under **15 MB**. --- ## 4. Assembly Line Stages & Milestones ### Stage 1: Creative Office (`docs/GDD.md`) - [ ] Define the **10-Second Hook** (core loop, controls, win/lose conditions). - [ ] Lock the **Art Bible** (fixed color palette hex codes, base resolution, pixel grid size, UI font). - [ ] Write the **Scope & Cut List** (what ships in v1.0 vs. what gets cut). ### Stage 2: Art Department (`assets_raw/` → `assets_game/`) - [ ] Generate concept sprites, tilesets, and SFX into `assets_raw/` using Art Bible constraints. - [ ] Quantize colors to the locked palette and clean stray alpha pixels. - [ ] Export sprite sheets and compress final textures to `.webp` and audio to `.ogg` inside `assets_game/`. ### Stage 3: Engineering Floor (`src/`) - [ ] **Milestone 0 (Greybox):** Core movement, physics, and controls playable with placeholder shapes. Commit to Git. - [ ] **Milestone 1 (Vertical Slice):** Integrate `assets_game/` sprites, SFX, hit-stop/screen shake, and HUD into one complete 60-second loop. Commit to Git. - [ ] **Milestone 2 (Systems & Content):** Populate waves, levels, upgrades, and local high-score saving from `src/data/`. Commit to Git. ### Stage 4: Quality Assurance (`exports/web/`) - [ ] **Headless Check:** Run Godot CLI to verify zero script parse errors or `null instance` warnings. - [ ] **HTML5 Export:** Compile release build to `exports/web/` and verify total bundle size. - [ ] **30-Second Browser Test:** Launch in an incognito browser tab. Verify controls, goal clarity, audio playback, and 60 FPS performance within 30 seconds. ### Stage 5: Publishing & Marketing Desk (`marketing/`) - [ ] Capture a 15–30 second gameplay trailer and looping GIF in `marketing/`. - [ ] Deploy `exports/web/` to **Bronx Arcade** and feature the game on **The Wall**. - [ ] Publish the dedicated game page with controls, strategy tips, screenshots, and `docs/CHANGELOG.md`. - [ ] Generate and post launch announcements tailored to the game's core hook.