# fal-gamedev

The skill walks an agent through four recipes: character, sprite sheets, background removal, background layers. Useful when a 2D game needs art and you would rather not draw it by hand.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 375 installs · ★ 256
- Author: fal-ai-community
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/fal-ai-community/skills/tree/HEAD/skills/fal-gamedev/SKILL.md
- Updated: 2026-10-23
- HTML: https://affpapa.org/en/nevibecode/skills/fal-gamedev

## What it does

Four recipes, each invokable on its own. A character comes from a text description or an existing image, then sprite sheets for walk, jump, attack and idle are generated from that character. Background removal runs through Bria, and backgrounds come as either three parallax layers or a top-down isometric map for an RPG.

The stack is a set of `genmedia run` and `genmedia status` calls against `fal-ai/nano-banana-pro`, `fal-ai/nano-banana-pro/edit`, `openai/gpt-image-2`, `openai/gpt-image-2/edit` and `fal-ai/bria/background/remove`. The skill insists each command goes out as its own Bash call — no variables, no pipes — and that parallel jobs fire with `--async` and get polled one after another. Output lands in `./game-assets/<character-slug>/`, split into `sprites/` and `backgrounds/`.

You need the genmedia CLI, initialized once with `genmedia init`. Bria has no queue endpoint, so it runs synchronously instead of async. When a status poll returns 400 saying the job is still running, the skill says to wait 10 seconds and repeat the same call rather than firing the generation again.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add fal-ai-community/skills --skill fal-gamedev -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/fal-gamedev/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/fal-gamedev/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add fal-ai-community/skills --skill fal-gamedev -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/fal-gamedev/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add fal-ai-community/skills --skill fal-gamedev -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/fal-gamedev/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install fal-ai-community/skills fal-gamedev
```

2. **Manually: put the files in place**
- File: `.github/skills/fal-gamedev/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add fal-ai-community/skills --skill fal-gamedev -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/fal-ai-community/skills --path skills/fal-gamedev
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/fal-gamedev/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add fal-ai-community/skills --skill fal-gamedev -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/fal-ai-community/skills/tree/HEAD/skills/fal-gamedev/SKILL.md

## When to use it
- generate a pixel art character from a text prompt
- build a walk sprite sheet from a character image
- strip backgrounds off sprites into transparent PNGs
- produce a three-layer parallax background for a side-scroller
- lay out an isometric map for an RPG

## Example prompts
- Generate a pixel art character: a pirate carrot, front view, standing idle
- Make a walk sprite sheet from `game-assets/pirate-carrot/character.png`
- Remove the background from every sprite in `sprites/`

## Similar
- [orbit-card](https://affpapa.org/en/nevibecode/skills/orbit-card.md) — skill · 10000 installs
- [cad](https://affpapa.org/en/nevibecode/skills/cad.md) — skill · 14000 installs
- [step-parts](https://affpapa.org/en/nevibecode/skills/step-parts.md) — skill · 11200 installs
- [sdf](https://affpapa.org/en/nevibecode/skills/sdf.md) — skill · 10500 installs
- [urdf](https://affpapa.org/en/nevibecode/skills/urdf.md) — skill · 10500 installs
- [hatch-pet](https://affpapa.org/en/nevibecode/skills/hatch-pet.md) — skill · 3300 installs

From the same set: [fal-ai-community/skills](https://affpapa.org/en/nevibecode/by/fal-ai-community/skills.md) — 14 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
