Commit Graph

4 Commits

Author SHA1 Message Date
6605221398 Fixed velocity problem for landing on moving floors
The problem was that blobby got the velocity
of the velocity_jump_boost added to him whilst
jumping on a moving platform without moving
2022-05-31 23:09:43 +02:00
8d92d285d9 Movement accelerations use two step euler method 2022-05-29 23:29:00 +02:00
6bf50d1bab Jump forces, smoother falling, ez walljumps
The jump velocity is not calculated on a one second basis anymore.
Instead the 60hz physics ticks are
the new reference for the jump force constants.
This is to unify the calculation of velocities in the blobby class.

Walljumps are now easier.
A just pressed jump event was changed to a pressed jump event.
This means the player can walljump,
with pressing a direction while sliding down a wall and keeping jump pressed.

Falling was smoothed out with a slightly and naivly improved euler method.

Also the spring is being experimented on.
2022-05-28 16:10:33 +02:00
9c2a01f8a1 Renamed Areas and Bodies, slight restructure, preliminary spring 2022-05-23 16:19:32 +02:00