Godot 2D Movement
/godot-2d-movement
2D character movement in Godot 4.7 with CharacterBody2D: platformer jumping, top-down motion, slopes and reading collisions.
- GitHub stars
- 2,085 (repository stars as of 2026-10-21)
- License
- Apache-2.0
- Last commit
- 2026/10/09
- By
- gamedev-skills
Part of
Awesome Gamedev Agent Skills
74 portable SKILL.md skills for Godot, Unity, Unreal, Phaser, PixiJS, three.js, Bevy, pygame, LÖVE and Roblox, with a router.
Listed from the author's README. GameSkill has not run this end to end yet. Agent support and install steps are as documented by the author.
Install
npx skills add gamedev-skills/awesome-gamedev-agent-skills --skill godot-2d-movementInstalls only this skill. Add -a claude-code (puts it in .claude/skills/), -a codex or -a cursor (.agents/skills/) to choose the agent, and -g to install it for your user instead of the project.
Commands are copied from the project's README. Check the repository before running anything on your machine.
Install for a specific agent
| Agents | -a | Folder |
|---|---|---|
| Claude Code | claude-code | .claude/skills/ |
| Codex | codex | .agents/skills/ |
| Cursor | cursor | .agents/skills/ |
| Gemini CLI | gemini-cli | .agents/skills/ |
| GitHub Copilot | github-copilot | .agents/skills/ |
| OpenCode | opencode | .agents/skills/ |
| Windsurf | windsurf | .windsurf/skills/ |
Add -a <flag> to the command. These are project folders; add -g to install for your user account instead.
What you get
- Worked steps: Platformer controller; Top-down 8-direction movement; Reading slide collisions after moving; Coyote time
- A pitfalls section with the mistakes to avoid
- Bundled 1 reference doc the agent reads when needed
- Written for Godot 4.7
Good fit
- Coding a 2D player or enemy controller, a platformer or top-down character
- Fixing move_and_slide()/ is_on_floor() behavior in a .tscn with a CharacterBody2D
Try this prompt
Write a CharacterBody2D platformer controller that handles slopes and coyote time.About this skill
Implement 2D kinematic character movement in Godot 4.7 with CharacterBody2D and move_and_slide(): platformer run/jump with gravity, top-down 8-direction motion, slope handling, and reading collisions. Use when coding a 2D player or enemy controller, a platformer or top-down character, or fixing move_and_slide()/ is_on_floor() behavior in a .tscn with a CharacterBody2D.
From the godot-2d-movement SKILL.md in gamedev-skills/awesome-gamedev-agent-skills.
What's inside
- Platformer controller (gravity, jump, slopes)
- Top-down 8-direction movement
- Reading slide collisions after moving
- Coyote time (forgiving jump just after leaving a ledge)
Requirements
- Godot 4.7
FAQ
Works well with
Skills the author points to as related or as the better fit for neighbouring tasks.
Godot Physics
Use Godot 4.7 physics bodies and detection in 2D and 3D: RigidBody, StaticBody, Area, and CharacterBody; collision layers vs masks; contact/overlap signals; and raycasts (RayCast nodes and direct space-state queries).
Godot TileMap
Tile-based 2D levels in Godot 4.7 with TileMapLayer: collision and navigation on tiles, terrain autotiling and editing cells from code.
Godot Animation
Animate in Godot 4.7 with AnimationPlayer clips, AnimationTree state machines and blend spaces, and code-driven Tweens.
Game Camera Systems
Cameras that feel good: 2D follow with deadzone and look-ahead, 3D orbit with collision, first-person look, multi-target framing and shake.
More from Awesome Gamedev Agent Skills
See all 39Behavior Trees & Utility AI
Build a behavior-tree runtime and a Utility AI system with response curves, plus hybrid agents where the behavior tree drives utility scoring.
Bevy ECS
Structure a Bevy app around ECS: plugins, components and resources, systems with Query and Commands, system ordering and Time.
Card Game
Build a card game: card data, deck/hand/discard zones, draw/shuffle/reshuffle, a turn structure, costs, and effect resolution.
Create Game Assets
Plan, generate, source, normalize, and validate cohesive visual game assets.
Similar skills
Claude Code Game Studios
Turns Claude Code into a full game studio: 49 agents and 72 workflow skills arranged like a real studio hierarchy.
Godogen
Autonomous game development with Claude Code and Codex. Publishes a ready game repo for Godot, Bevy, Babylon.js or three.js.
Godot MCP (Coding-Solo)
MCP server for Godot: launch the editor, run projects, capture debug output and edit scenes.
Godot AI
Production-grade MCP server and editor plugin for Godot 4.7+: 46 tools and 120+ operations for scenes, nodes, scripts, UI and more.