Godot 4 · AnimatedSprite2D
@onready var actor: AnimatedSprite2D = $AnimatedSprite2D
func _ready() -> void:
actor.sprite_frames = preload("res://adapters/godot/frames.tres")
actor.play("attack")Godot 4 workflow guide
Try a game template without an account. Follow the Godot 4 SpriteFrames import steps and review MCP configuration examples for future access.
codex mcp add game-studio --url https://spritedash.com/mcp --bearer-token-env-var GAME_STUDIO_TOKEN
The configuration examples show how Codex, Claude Code or Cursor can connect once the endpoint is available. Use only the scopes and project the client needs.
The documented workflow quotes an action, checks its task status and selects Godot 4 as the export target.
If you have a Godot export ZIP, extract it so the adapters/godot paths exist under res://. Assign frames.tres to AnimatedSprite2D and use play.gd to apply the exported pivot.
| 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 public MCP endpoint is closed. The setup examples document how the asset workflow is designed to connect.
The MCP tools are designed for asset workflows. Import the files in your own Godot project.
The Godot 4 adapter includes frames.tres, its sheet and play.gd for pivot and playback.
Try the public demos during Early Access. Hosted generation, MCP and checkout are currently closed.