Interrupt / delverengine

Delver game engine and editor
zlib License
803 stars 80 forks source link

Fixing sprite scales when using scaled atlases #159

Closed Interrupt closed 4 years ago

Interrupt commented 4 years ago

fixing-scaled-sprite-offset

Interrupt commented 4 years ago

When adjusting the drawable position based on clipping down to the non-transparent parts of the texture, it was not taking into account the scale and atlas scale of the sprite, causing some things to float off the floor when changing their texture.