ImmutableOctet / sonicgba

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

Running through a loop results in the player becoming stuck. #5

Closed ImmutableOctet closed 8 years ago

ImmutableOctet commented 8 years ago

When a character attempts to run through a regular loop, they will become stuck running the wrong way (Into the loop). Notice the word regular. This only happens when running through a normal loop like those found in NGHZ.

Presumably, this is related to #2, however, that is unconfirmed.

ImmutableOctet commented 8 years ago

This was due to a poor assumption on my part (As it usually is).

Basically, the ends of loops were tagged as collision-blocks with flipped X and Y degrees, meaning the negation from both attributes would render the degree normal.

For reference, this was fixed in commit 34bb17d26f8c9b6dead316a4d5677a83065a80f7.