Godot 4 · AnimatedSprite2D
@onready var actor: AnimatedSprite2D = $AnimatedSprite2D
func _ready() -> void:
actor.sprite_frames = preload("res://adapters/godot/frames.tres")
actor.play("attack")Playable example and workflow guide
Play a complete move in a 2D template, then use the guide to plan sprites, effects and sound for your own game.
codex mcp add game-studio --url https://spritedash.com/mcp --bearer-token-env-var GAME_STUDIO_TOKEN
Play a template and check how one character, one effect and one sound work together before planning a full move set.
When MCP opens, use a project-scoped key and limit its permissions, per-task credits and total credits.
Choose a documented sprite export format for your game, or review the static whitebox ZIP structure for a complete browser template.
| Target | Included files | How to use |
|---|---|---|
| Universal sprites | atlas.json · sheet.png · frames/ · audio/ | Frame bounds, anchor and durations |
| Phaser 3 | texture-atlas.json · sheet.png | Load via this.load.atlas() |
| Godot 4 | frames.tres · sheet.png · play.gd | Load in AnimatedSprite2D |
| Static web game | whitebox_web · game-config.json · asset-manifest.json | Serve the unpacked folder over HTTP |
@onready var actor: AnimatedSprite2D = $AnimatedSprite2D
func _ready() -> void:
actor.sprite_frames = preload("res://adapters/godot/frames.tres")
actor.play("attack")Public MCP access is closed during Early Access. These setup examples document the scoped Streamable HTTP workflow for when the endpoint opens.
get_accountRead the current plan, both credit pools and entitlements. Free. Call at most once per session.
projectsList, get or whitebox_get with read scope. Create or whitebox_save with generate scope. Creation needs idempotencyKey; whitebox saves use expectedRevision. Free.
set_style_lockSave a new default style lock version with palette and project-owned reference images. Free.
request_uploadRequest a short-lived PUT ticket for a project-owned image or audio file. Free. Send binary bytes, not base64 JSON.
create_subjectCreate a character or a 2D VFX subject. Prompt generation requires a matching quote; registering an uploaded image is free. Use an idempotency key.
quote_taskQuote an existing Studio task input. Free. Quotes expire in five minutes; use the exact quoted input and a fresh idempotency key.
generate_animationQueue a character action with a matching quote and idempotency key. Paid generation consumes quoted credits.
generate_vfxQueue a weapon slash, explosion, hit sparks or magic clip with a matching quote and idempotency key. Supports luma_alpha. Uses quoted credits.
generate_sfxQueue SFX generation or register uploaded audio. Uses the matching quote and idempotency key; upload registration is free.
get_task_statusRead one to twelve project-owned tasks. Free. Optionally wait up to 15 seconds; respect retryAfterMs for pending work.
reslice_or_bind_sfxReslice an existing video, or CAS-save frame bindings and mix. Both are free. Use an idempotency key.
export_assetsQueue 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 mcp add game-studio --url https://spritedash.com/mcp --bearer-token-env-var GAME_STUDIO_TOKENclaude mcp add --transport http game-studio https://spritedash.com/mcp --header "Authorization: Bearer $GAME_STUDIO_TOKEN"{
"mcpServers": {
"game-studio": {
"url": "https://spritedash.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_STUDIO_KEY"
}
}
}
}The setup examples cover Codex, Claude Code and Cursor. Public MCP connections are closed during Early Access.
The generation workflow requires matching quotes and checks the key’s limits when accepting a task. Hosted generation is closed during Early Access.
A static whitebox ZIP is designed to run as a standalone browser template. A sprite package provides files to import into an existing game.
Try the public demos during Early Access. Hosted generation, MCP and checkout are currently closed.