SlimePlatformer/Characters
SnekInAScarf 01eb5adbd1 Rotate edge sensors with the surface so edges work on walls and ceilings
The edge sensors now live under an EdgeSensors pivot that's rotated to
point into whatever surface the slime is on. Pressing into the surface
(down on floors, up on ceilings, towards the wall on walls) near an edge
slides over it onto the side of the platform. The other axis picks the
side; otherwise facing decides (last direction moved along a wall).

- Ceiling edge -> wall above, wall top -> floor, wall bottom -> ceiling
  underneath, floor edge -> wall below, all through one code path.
- Skip sensors that start inside something (inside corners).
- _begin_wrap takes the normal of the surface to end up on and works
  out the sprite rotation from it; wraps can now end on a ceiling.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 13:11:14 -07:00
..
player.gd Rotate edge sensors with the surface so edges work on walls and ceilings 2026-10-31 13:11:14 -07:00
player.gd.uid Initial upload of Slime Platformer. 2026-10-14 01:50:16 -07:00
player.tscn Rotate edge sensors with the surface so edges work on walls and ceilings 2026-10-31 13:11:14 -07:00