Bronx Arcade

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:

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:

  1. 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?
  2. 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.
  3. 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:

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":

To eliminate feature creep, every build advances through four strict milestones:

  1. 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.
  2. Milestone 1 — The Vertical Slice: Integrating real sprites, sound effects, UI, and juice into one complete, playable 60-second arcade loop.
  3. Milestone 2 — Systems & Content Scaling: Expanding levels, enemy waves, upgrades, and browser high-score persistence via clean data tables.
  4. 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:

  1. 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.
  2. 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/:

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.