Moondust-Project icon indicating copy to clipboard operation
Moondust-Project copied to clipboard

Character retains vertical velocity for 1-2 frames when moving platform he is riding changes direction.

Open Alucard648 opened this issue 8 years ago • 1 comments

Just download the test level and see, if small Mario can ride the moving platform without getting impaled on ceiling spikes. https://yadi.sk/d/HGvxO0OP3JhAAQ Test in both PGE engine and SMBX.

Alucard648 avatar May 31 '17 13:05 Alucard648

The reason of that is inaccurate motion which causes extra offset after point when platform must turn to another direction, and second reason is that when platform changes speed from moving up to move down (or just get slower speed), the standing objects are still move up, and as result, die on ceiling spikes. Fix of first reason is rework the platform algorithm by itself. Second reason must is improvment of speed-adding stack to don't shake/bump standing objects on speed changes of lower body.

Wohlstand avatar May 31 '17 13:05 Wohlstand