Godot 2d Movement

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.

gabrielmoreira Updated 17 repo stars

File contents

gabrielmoreira/agent-skills-mirror/tree/main/mirrors/repos/gamedev-skills@awesome-gamedev-agent-skills/skills/godot/godot-2d-movement commit 4ec855eb35

Frequently asked questions

npx skillmds@latest add gabrielmoreira/godot-2d-movement