VitorVilela7 / wide-snes

Super Mario World (SNES) Widescreen Project
1.6k stars 56 forks source link

Koopa shell sprite issue in vertical scrolling levels #10

Open TheMikeBachmann opened 3 years ago

TheMikeBachmann commented 3 years ago

I have only observed this so far in Vanilla Secret 1, but kicking a koopa shell off the bottom of the screen can cause the shell to flicker towards the top half of the screen intermittently. It seems to be dependent on how far off the screen the shell goes.

Video of the issue: https://drive.google.com/file/d/1vXuAf6dnVeooQ3xSWAHlrSoFo072omXk/view?usp=sharing

I can recreate the issue with other koopas in this level, not just limited to the one in the video.

TheLX5 commented 3 years ago

Same root as the one on Vitor's Twitter. Except it's vertical instead of horizontal.

TheMikeBachmann commented 3 years ago

Yeah I was under the impression that one was fixed. This does still seem tied to horizontal though. If you listen to when it hits the wall, it only happens at one end of the bounce, not the other.

zstraken commented 3 years ago

Doesn't need to be a koopa shell either. It can be seen in Vanilla Dome 2 with a buzzy beetle. Stages like sunken ghost ship however didn't seem to suffer from this problem, even when I skipped the star and hopped on enemies while slowly floating down.

Links showing it in action: https://youtu.be/l7P-KtVRhDk?t=232 https://youtu.be/l7P-KtVRhDk?t=368

VitorVilela7 commented 3 years ago

This is because buzzy beetles reuse the shell code from koopa troopas and apparently the bug is triggered when they get stunned.