Files
penguin-jump-p5js/character.js
Daniel Legt 5ccf54d00c feat(character): restrict jumping to when on a platform
Change the jump() condition from checking velocity to detecting whether the character's feet are touching a platform. This prevents mid-air jumps and makes jump behavior more intuitive for platformer gameplay.
2026-06-24 20:00:25 +03:00

2.5 KiB