No description
Find a file
SnekInAScarf 804a7a76c9 Make player.gd easier to read for newer programmers
No behaviour change (the 1180-frame scripted trace is identical before
and after, and all headless tests pass).

- Overview at the top: what the slime can do, how a frame runs, and a
  glossary (y points down, delta, normal, tangent, dot product, raycast).
- Big section headers; every setting has a plain-English comment.
- No backslash line continuations or dense one-line if/elses: long
  conditions are split into named bools (climbedPastWallTop, holdingDown,
  standingStill, hitHeadOn, ...), one-line ifs are full blocks.
- Explicit checks instead of truthiness (== 0.0, .is_empty(), == null).
- The maths is explained: the hop speed formula (now _get_hop_speed),
  exponential smoothing, arc length, the wall-hop arc.
- Clearer names: pos -> currentPosition, line -> justInsideSurface,
  step -> distanceThisFrame, along -> inputAlongSurface, offset ->
  fromCorner, wrapTravelled -> wrapDistanceTravelled, and the wrap angle
  parameters -> arcStartAngle/arcEndAngle.
- Letting go of walls and ceilings split out of the movement steps into
  _update_wall_letting_go and _update_ceiling_letting_go.
- Keeps the "FX resources" grouping of the sound/particle nodes and
  landSounds from the working copy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 18:09:43 -07:00
.vscode Revert "blah" 2026-10-30 23:16:23 -07:00
Assets Smoother movement feel, plus landing/wrap sounds and splat particles 2026-10-31 13:37:54 -07:00
Autoloads - Added options menu with Claude. Complete with keybindings and volume sliders. 2026-10-18 18:21:27 -07:00
Characters Make player.gd easier to read for newer programmers 2026-10-31 18:09:43 -07:00
Levels - Added in-game pausem menu. Generated with Claude! 2026-10-17 23:51:15 -07:00
UI - Added options menu with Claude. Complete with keybindings and volume sliders. 2026-10-18 18:21:27 -07:00
.editorconfig Initial upload of Slime Platformer. 2026-10-14 01:50:16 -07:00
.gitattributes Initial upload of Slime Platformer. 2026-10-14 01:50:16 -07:00
.gitignore Initial upload of Slime Platformer. 2026-10-14 01:50:16 -07:00
default_bus_layout.tres - Added options menu with Claude. Complete with keybindings and volume sliders. 2026-10-18 18:21:27 -07:00
icon.svg Initial upload of Slime Platformer. 2026-10-14 01:50:16 -07:00
icon.svg.import Initial upload of Slime Platformer. 2026-10-14 01:50:16 -07:00
placeholder_tiles.tres Initial upload of Slime Platformer. 2026-10-14 01:50:16 -07:00
project.godot Hold at the edge of any surface before letting go 2026-10-31 15:02:33 -07:00