ImmutableOctet / sonicgba

A cross-platform port of Sonic Advance
https://www.reddit.com/r/sonicgba
Other
16 stars 2 forks source link

Players' positions desynchronize with moving platforms. #14

Closed ImmutableOctet closed 8 years ago

ImmutableOctet commented 8 years ago

This happens when a character is standing on a moving platform (Vertical).

Upon moving upward, the player "falls" (Moves) into the platform before being pushed above it as expected. This does not happen while moving downward.

ImmutableOctet commented 8 years ago

Turns out this was an issue with degree-rounding with 'MoveCalculator' objects. This seems to be fixed for all moving platforms, including spike islands, etc.

For reference, this was fixed in commit 1a0417c1d5d2731be2847af501f9d4325f857c31.