overbound / SonicTimeTwisted

Source Code for a Sonic Fan Game Made in Game Maker Studio
https://overboundstudio.com/
GNU General Public License v3.0
58 stars 16 forks source link

AAZ Past: fire effects are placed too high. #57

Closed AlexKhayrullin closed 4 years ago

AlexKhayrullin commented 4 years ago

The animations of tops of pools of lava in Attraction Attack Zone past appear disconnected from the rest of the pools by a dozen pixels.

AlexKhayrullin commented 4 years ago

Ditto in Planetary Panic act 1. The issue is reproduced on the master branch, meaning something in GMS 1.4.9999 might have broke it.

AlexKhayrullin commented 4 years ago

image

AlexKhayrullin commented 4 years ago

It turns out the issue was simply due to the image having been cropped, and changing the origin to -8 didn't do anything, because of this note in the official documentation for draw_sprite_part:

"NOTE: When drawing with this function, the sprite x offset and y offset are ignored and the sprite part will be drawn with the top left corner at the specified x / y position in the room.".