godot-characterbody-2d

Implement 2D character movement patterns for Godot using CharacterBody2D.

Updated Aug 8, 2026
One-click install
npx skills add https://github.com/kimgea/agent-kit --skill godot-characterbody-2d-kimgea
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: godot-characterbody-2d
Source: https://github.com/kimgea/agent-kit/tree/main/skills/godot-characterbody-2d
Command: npx skills add https://github.com/kimgea/agent-kit --skill godot-characterbody-2d-kimgea

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill enables reliable 2D character movement in Godot by supplying CharacterBody2D patterns that cover common platformer and top-down controls, coyote time, jump buffering, friction, and state machines.

Core Features & Use Cases

  • Platformer movement: robust platformer movement with coyote time, jump buffering, and gravity-safe jumping.
  • Top-down movement: 8-direction and tank-control schemes with smooth acceleration.
  • State machine patterns: movement state handling for idle, running, jumping, and dashing in games.

Quick Start

Integrate these CharacterBody2D patterns into your Godot project to implement reliable platformer and top-down movements.

Frequently Asked Questions about godot-characterbody-2d

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement coyote time and jump buffering for 2D platformer movement in Godot?

The Skill implements 2D movement using a clean separation between input, physics, and state machines, ensuring that character controls remain modular and reusable across platformers and top-down games.

What's the best way to structure a state machine for CharacterBody2D in Godot?

The best way to structure a CharacterBody2D state machine in Godot is by cleanly separating input, physics, and state logic to handle idle, running, jumping, and dashing movements. This Skill provides script-driven patterns for that exact architecture.

Can I use these CharacterBody2D patterns for top-down 8-directional movement in Godot?

Yes, you can use these CharacterBody2D patterns for top-down 8-directional movement in Godot. The Skill includes specific control schemes for top-down games with smooth acceleration and tank controls alongside standard platformer mechanics.

How do I add smooth friction and acceleration to 2D game characters in Godot?

You add smooth friction and acceleration to 2D game characters in Godot by applying the CharacterBody2D movement patterns supplied by this Skill, which cover both platformer and top-down control schemes with reusable physics logic.

Do I need any external dependencies to use these Godot 2D movement patterns?

You do not need external dependencies to use these Godot 2D movement patterns. The Skill is entirely script-driven with no required dependencies, relying only on self-contained frontmatter and optional references to extend behavior.