# godot-tweening

Blueprint for programmatic Godot animations using Tween. Helps configure UI transitions, easing curves, and safe lifecycle cleanup.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 475 installs · ★ 893
- Author: thedivergentai
- License: LGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/thedivergentai/Game-Dev-Agentic-Skills/tree/HEAD/skills/godot-tweening/SKILL.md
- Updated: 2026-10-16
- HTML: https://affpapa.org/en/nevibecode/skills/godot-tweening

## What it does

This skill guides coding agents through procedural animations in Godot using `create_tween()`. It introduces a decision tree to choose between `Tween` and `AnimationPlayer`, detailing parallel steps via `set_parallel()` and chained calls with `chain()`. Attempting to animate the same property across overlapping triggers without calling `kill()` first leads to immediate visual glitches.

Reference scripts cover common gamedev scenarios. These include pause menus running when `Engine.time_scale` is zero, physics sync using `TWEEN_PROCESS_PHYSICS`, and nested cutscene steps. Skipping `bind_node(self)` causes orphaned tweens to persist in memory after their target node is freed.

## Requirements
- Works with: Godot

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-tweening -a claude-code
```

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

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-tweening -a codex
```

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

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-tweening -a cursor
```

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

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install thedivergentai/Game-Dev-Agentic-Skills godot-tweening
```

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

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-tweening -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/thedivergentai/Game-Dev-Agentic-Skills --path skills/godot-tweening
```

### Windsurf (Devin Desktop)

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

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-tweening -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/thedivergentai/Game-Dev-Agentic-Skills/tree/HEAD/skills/godot-tweening/SKILL.md

## When to use it
- build UI animations with appropriate easing transitions
- prevent overlapping tween conflicts when buttons are spammed
- run pause menu transitions while game time is frozen
- interpolate numeric text values using `tween_method`

## Example prompts
- Create a Godot UI popup transition that cancels any active tween before playing
- Show how to animate a pause screen when Engine.time_scale is set to zero
- Set up a physics-synced property tween using reset_physics_interpolation

## Similar
- [godot-gdscript](https://affpapa.org/en/nevibecode/skills/godot-gdscript.md) — skill · 6500 installs
- [godot-physics](https://affpapa.org/en/nevibecode/skills/godot-physics.md) — skill · 6300 installs
- [godot-best-practices](https://affpapa.org/en/nevibecode/skills/godot-best-practices.md) — skill · 2100 installs
- [cli-anything-godot](https://affpapa.org/en/nevibecode/skills/cli-anything-godot.md) — skill · 548 installs
- [godot-prompter](https://affpapa.org/en/nevibecode/plugins/godot-prompter.md) — plugin · ★ 867
- [godot-mcp-enhanced](https://affpapa.org/en/nevibecode/mcp/godot-mcp-enhanced.md) — MCP server · ★ 103

From the same set: [thedivergentai/game-dev-agentic-skills](https://affpapa.org/en/nevibecode/by/thedivergentai/game-dev-agentic-skills.md) — 61 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
