Sign inGet started
–

Implements 2D character movement in Godot 4.7 using CharacterBody2D and move_and_slide() for platformer and top-down controllers.

Lift · GLM-5.3-flash—untestable in our sandbox · why ↓
79
Trustsecurity · quality · license · upkeep
Scan Saferisk 0/100
License—metadata + link-out

What it does

Godot 4.7 CharacterBody2D movement in GDScript: platformer run and jump, top-down 8-direction motion, slopes and one-way platforms, with a headless landing test. Use when a 2D controller will not move, falls through the floor or is_on_floor() is always false. Not for coyote time and jump feel (`platformer`), RigidBody2D, raycasts or 3D (`godot-physics`) or tile levels (`godot-tilemap`).

#2d#character-controller#gamedev#gdscript#godot

Quality judgment

completeness
8.5/10
clarity
9.0/10
trigger quality
8.5/10
examples
8.0/10
structure
9.0/10
overall
8.5/10

Excellent skill: precise triggers with clear exclusions, working code patterns, a diagnostic gotcha list mapped to symptoms, and a concrete headless verification step with version notes. Only slight deductions: key details (one-way platforms, acceleration ramps) are deferred to an unseen reference file, and the test's blank-action caveat slightly weakens the verification guarantee.

Files (3)

assets/test_character_controller.gd · 4.2 KBreferences/controller-recipes.md · 3.1 KBSKILL.md · 7.2 KB