Playable example and workflow guide

Vibe Coding a Game With 2D Assets

Play a complete move in a 2D template, then use the guide to plan sprites, effects and sound for your own game.

MCP setup example · Early AccessScroll sideways for the full command
codex mcp add game-studio --url https://spritedash.com/mcp --bearer-token-env-var GAME_STUDIO_TOKEN
Pixel-art platformer practice scene

Workflow

  1. Try one complete move

    Play a template and check how one character, one effect and one sound work together before planning a full move set.

  2. Plan the coding client’s access

    When MCP opens, use a project-scoped key and limit its permissions, per-task credits and total credits.

  3. Plan the engine handoff

    Choose a documented sprite export format for your game, or review the static whitebox ZIP structure for a complete browser template.

Engine export specifications

Engine export specifications
TargetIncluded filesHow to use
Universal spritesatlas.json · sheet.png · frames/ · audio/Frame bounds, anchor and durations
Phaser 3texture-atlas.json · sheet.pngLoad via this.load.atlas()
Godot 4frames.tres · sheet.png · play.gdLoad in AnimatedSprite2D
Static web gamewhitebox_web · game-config.json · asset-manifest.jsonServe the unpacked folder over HTTP

Load it in your game

Godot 4 · AnimatedSprite2D

@onready var actor: AnimatedSprite2D = $AnimatedSprite2D

func _ready() -> void:
    actor.sprite_frames = preload("res://adapters/godot/frames.tres")
    actor.play("attack")

The 12 Studio MCP tools

Public MCP access is closed during Early Access. These setup examples document the scoped Streamable HTTP workflow for when the endpoint opens.

get_account

Read the current plan, both credit pools and entitlements. Free. Call at most once per session.

projects

List, get or whitebox_get with read scope. Create or whitebox_save with generate scope. Creation needs idempotencyKey; whitebox saves use expectedRevision. Free.

set_style_lock

Save a new default style lock version with palette and project-owned reference images. Free.

request_upload

Request a short-lived PUT ticket for a project-owned image or audio file. Free. Send binary bytes, not base64 JSON.

create_subject

Create a character or a 2D VFX subject. Prompt generation requires a matching quote; registering an uploaded image is free. Use an idempotency key.

quote_task

Quote an existing Studio task input. Free. Quotes expire in five minutes; use the exact quoted input and a fresh idempotency key.

generate_animation

Queue a character action with a matching quote and idempotency key. Paid generation consumes quoted credits.

generate_vfx

Queue a weapon slash, explosion, hit sparks or magic clip with a matching quote and idempotency key. Supports luma_alpha. Uses quoted credits.

generate_sfx

Queue SFX generation or register uploaded audio. Uses the matching quote and idempotency key; upload registration is free.

get_task_status

Read one to twelve project-owned tasks. Free. Optionally wait up to 15 seconds; respect retryAfterMs for pending work.

reslice_or_bind_sfx

Reslice an existing video, or CAS-save frame bindings and mix. Both are free. Use an idempotency key.

export_assets

Queue an Atlas-validated generic, Phaser 3 and Godot 4 ZIP, or a standalone whitebox_web game ZIP using whiteboxConfigId. Free. Use an idempotency key; poll with get_task_status and download with export scope.

Codex

codex mcp add game-studio --url https://spritedash.com/mcp --bearer-token-env-var GAME_STUDIO_TOKEN

Claude Code

claude mcp add --transport http game-studio https://spritedash.com/mcp --header "Authorization: Bearer $GAME_STUDIO_TOKEN"

Cursor

{
  "mcpServers": {
    "game-studio": {
      "url": "https://spritedash.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_STUDIO_KEY"
      }
    }
  }
}

Frequently asked questions

Which coding clients are documented?

The setup examples cover Codex, Claude Code and Cursor. Public MCP connections are closed during Early Access.

Can an MCP client bypass the quoted budget?

The generation workflow requires matching quotes and checks the key’s limits when accepting a task. Hosted generation is closed during Early Access.

What is the difference between the two export formats?

A static whitebox ZIP is designed to run as a standalone browser template. A sprite package provides files to import into an existing game.

Explore the Studio workflows

Build your first playable move

Try the public demos during Early Access. Hosted generation, MCP and checkout are currently closed.

Open Studio Free