Jigoku / boxclip

2D platformer engine using LÖVE and Lua
https://jigoku.github.io/boxclip/
GNU General Public License v3.0
93 stars 8 forks source link

platform_s should act like other platforms #113

Closed Jigoku closed 3 years ago

Jigoku commented 3 years ago

Originally when the platform_s entity was added, it was intended to be a platform that would allow you to walk left/right whilst it was swinging, but there were problems with collisions/gravity at the time.

The current implementation with the "cradle" that catches the player is an ugly hack which just stops the player from moving left/right (requiring a jump to exit) and sets a random Y velocity.

Original implementation looked like this, https://www.youtube.com/watch?v=APUnwhrV57o but with the obvious problem of the player bouncing all over the place at the time.

Jigoku commented 3 years ago

fixed in #114