GDevelop icon indicating copy to clipboard operation
GDevelop copied to clipboard

[Platformer] The character no longer has a 1-frame delay when following platforms

Open D8H opened this issue 2 years ago • 3 comments

Fixes: https://forum.gdevelop.io/t/stop-player-sliding-on-moving-platform/42693

Built over:

  • https://github.com/4ian/GDevelop/pull/4518

Bug reproduction

https://user-images.githubusercontent.com/2611977/200417980-cdd58964-c909-459a-b815-24f01e07456b.mp4

1st Bug fix attempt

The object as hit box technic can't be used with moving platforms because it will always be 1 frame late. There is still a 1-pixel dancing between the character and the platform. I'm not sure what it is.

https://user-images.githubusercontent.com/2611977/200418086-05b04e6a-21f0-48ed-9542-f456e57e1f1f.mp4

With the new action

image

https://user-images.githubusercontent.com/2611977/200596984-f033f01f-fef1-4e3f-8efb-12efec50be97.mp4

D8H avatar Nov 07 '22 21:11 D8H