PICO-8 platformer system: handling every notoriously difficult physics edge case
5 hours ago
- #Collision System
- #Pico-8
- #Game Development
- Author created a platformer collision system in Pico-8 without conventional collision/response solver.
- System uses a 'push-forwarding' approach where objects check overlaps before moving.
- Movement is chunked into smaller deltas to prevent stopping before edges.
- Axis-separated movement allows running along the ground despite gravity.
- Objects can carry others by applying delta movement, processed bottom-up to prevent jittering.
- Slopes convert horizontal to vertical movement, enabling box pushing up slopes.
- Water adds upward velocity to objects inside it.
- Collision points are generated for every 8x8 region to handle larger actors.
- Code is shared under CC0 license, free for use and modification.