- Carry item (Items/): picked up on touch, rides see-through in the slime's
center, left behind at the mouth when the slime enters a tube. Has gravity.
Placeholder Godot icon sprite. One placed in the test level.
- Wall-press sprite (new frame 9, PressWall animation): shown when pushing
into a wall from the floor or ceiling, into a tube mouth in a wall, or from
a wall into a floor/ceiling mouth. Flipped/turned and shifted to sit flush.
- Ceiling corners: pushing sideways into a wall keeps the slime on the
ceiling; holding down moves it onto the wall.
- Tubes: squeezing closes the gap to the mouth; mouths are found a frame
ahead so climbing past one can't skip it; backing out of a wall mouth
entered from the floor or ceiling puts the slime on the wall.
- Tube goo draws behind the tiles (shows only through the channel); the
manual tube's leader circle stays in front.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pressing into a surface now only wraps around its edge when the slime's
center is within 12px of it, i.e. the slime is touching the edge (about
1px gap), instead of up to 13px away with the old 24. Walking up to an
edge still always works, since the edge hold stops the slime there.
Measured with a headless sweep of 24/16/14/12/10/8/6/4 on floors,
ceilings and wall bottoms.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Accelerate to full speed in 4 frames and stop in 6, on floors, walls
and ceilings, instead of snapping.
- Keep momentum when leaving a surface; air steering is gentler and
extra speed fades slowly. Fall speed capped at 400.
- Edge wraps ease in from a standstill and carry their speed out onto the
new surface.
- Pull back onto a wall/ceiling that's drifted up to 4px away instead of
falling off (floor_snap_length matches).
- Physics interpolation and pixel-snapped 2D transforms. Sprite rotation
moved into _physics_process and made frame-rate independent.
- Squish sound + slime particles on landing, bubble sound on wraps.
Placeholder CC0 sounds by rubberduck from OpenGameArt.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
Two RayCast2D edge sensors point down into the floor edgeSensorRange to
each side of the slime. When one stops touching floor there's an edge in
range on that side, and pressing down slides to it, swings over the
corner and carries on down the wall so the slime ends flat against it.
- Down + a direction picks that side; down alone goes the way the slime
is facing, or the other way if only that side has an edge in range.
- Down in the middle of a platform does nothing.
- edgeSensorRange is exported (default 24, tuned with a headless sweep).
- Wraps can now start with a straight move to the arc, and end with a
move_and_slide so is_on_floor()/is_on_wall() aren't stale afterwards.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>