fal-gamedev

Installation
SKILL.md

2D Game Assets

Requires the vg CLI (npm install -g vibedgames, or pnpm dogfood in this repo). The vibedgames server holds the FAL key; no per-machine setup.

Full pipeline for 2D pixel art game assets: character → sprite sheets → background removal → game background. Each recipe is independently invokable, run just the part you need.

Always use --json so output is machine-readable. Use --download to save files locally. Do not curl URLs manually, use the --download flag.


Execution rules, follow these strictly

  1. Each fal call = one Bash tool call: issue each vg media run and vg media status as its own bare tool call. No variable assignments, no pipes, no shell redirects. This keeps every call matching the vg media * allowlist so it runs without permission prompts.

  2. Parallel jobs → async: issue each vg media run --async as its own separate Bash tool call (not combined into one shell block). All jobs queue and run in parallel on fal's side; total time ≈ slowest single job. After all are fired, poll each with vg media status sequentially (not in parallel, one failure must not cancel others).

# Step 1, fire async (each line = its own Bash tool call, returns request_id immediately)
vg media run fal-ai/nano-banana-pro/edit --prompt "$WALK_PROMPT" --image_urls "[\"$CHARACTER_URL\"]" --aspect_ratio "1:1" --resolution "1K" --async --json
vg media run fal-ai/nano-banana-pro/edit --prompt "$IDLE_PROMPT" --image_urls "[\"$CHARACTER_URL\"]" --aspect_ratio "1:1" --resolution "1K" --async --json
Installs
1
Repository
kyh/vibedgames
GitHub Stars
62
First Seen
Jun 4, 2026