SlimePlatformer/Characters
SnekInAScarf 693df2f2cf Clean up player.gd: names, comments, grouping, smaller _physics_process
No behaviour change (a 1180-frame scripted trace is identical before and
after, and all headless tests pass).

- Renames: MAX_SECS_TO_UNSTICK -> HOLD_TIME (it times holds, hops and
  lips too), HOP_MAX_HEIGHT -> HOP_REACH (also sideways/down),
  ROTATE_TO_WALL_SPEED -> ROTATE_TO_SURFACE_SPEED, isClimbingLip ->
  isHangingOnLip, timeSpentUnstickingLip -> timeSpentOnLip, plus
  n/dir -> wallNormal/direction.
- CLIMB_SPEED and CEILING_STICK_SPEED are positive like the other speeds,
  with the direction applied where they're used.
- Missing type annotations added (including sprite: Sprite2D).
- Constants and state grouped by feature; magic numbers for sensor depth
  and landing pitch named.
- _physics_process split into _update_facing, _update_vertical_movement,
  _update_floor_hop, _update_horizontal_movement, _update_wall_sticking
  and _update_ceiling_sticking; _finish_wrap split out of _update_wrap.
- _accelerate/_air_steer take delta like the other helpers.
- Stale and vague comments fixed (lip push marked as a fallback, the
  resolved note at the top removed, typos).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 17:43:17 -07:00
..
player.gd Clean up player.gd: names, comments, grouping, smaller _physics_process 2026-10-31 17:43:17 -07:00
player.gd.uid Initial upload of Slime Platformer. 2026-10-14 01:50:16 -07:00
player.tscn Halve edgeSensorRange to 12 so edge wraps need the slime at the edge 2026-10-31 15:54:34 -07:00