city41 / smaghetti

A web based level editor for Super Mario Advance 4, the GBA port of Super Mario Bros 3
https://smaghetti.mattgreer.dev
GNU Affero General Public License v3.0
47 stars 7 forks source link

Buried Veggy with e-coin payload can cause other sprites to not spawn #144

Closed city41 closed 3 years ago

city41 commented 3 years ago

In this scenario, the Goomba does not spawn. if you move the veggy onto the first screen, it does.

image

city41 commented 3 years ago

Fixed with f355ab7205db4a46dfb00a419a481c347742cd03

This was due to sorting the sprites by x. The buried vegetable is in the matrix coordinate system, while the e-coin it emits is in the pixel coordinate system.

There should only be one coordinate system, but fixing that won't happen for a long time sadly. By far the biggest tech debt in the code base...