Commit graph

9 commits

Author SHA1 Message Date
43380dd72c Smoothly wrap around ceiling lips and wall tops
Instead of relying on physics to slide the round collider around a
corner, find the corner with raycasts and swing the slime around it on
a quarter circle at crawling speed, rotating the sprite along with it.

- Hanging on a ceiling lip + up: swing onto the wall above.
- Climbing up past the top of a wall: swing over onto the floor on top.
- Tapping up up to 0.15s before reaching a lip still counts.
- Falls back to the old behaviour if the corner can't be found or there
  is no room at the end of the swing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 12:41:11 -07:00
485553df3e Fix climbing from a ceiling lip onto the wall above
- Pressing up while hanging on a lip now moves the slime up and back
  towards the platform so it wraps onto the wall instead of staying frozen.
- Only walking off a ceiling edge starts a lip hang (not landing on a
  ceiling or dropping off it with down).
- Don't count the held direction towards unsticking from the wall right
  after climbing on from a lip, until it's released.
- Remove leftover debug print.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 12:30:08 -07:00
0db36e2526 Added lip climbing 2026-10-30 23:59:38 -07:00
64188a72d3 Revert "blah"
This reverts commit 454624856d1f686e4ce5e3df4e6a5e2b47cfc83d.
2026-10-30 23:16:23 -07:00
f70cc0b97a Added extra code for sticking to the wall or ceiling.
- Slight delay before unsticking from a wall/ceiling.
2026-10-29 14:25:36 -07:00
4df996690e - Removed jumping code
- Add clinging to ceiling upon touch
2026-10-29 01:28:37 -07:00
ca14c26a2d - New placeholder slime sprite
- testing removing jump from player
2026-10-26 23:28:46 -07:00
696a89d1ec Add jump buffering to player slime. 2026-10-18 20:14:18 -07:00
164aaaaeb7 Initial upload of Slime Platformer. 2026-10-14 01:50:16 -07:00