UnderminersTeam / UndertaleModTool

The most complete tool for modding, decompiling and unpacking Undertale (and other GameMaker games!)
GNU General Public License v3.0
1.19k stars 233 forks source link

Fix 2024.6 masks not showing #1963

Closed luizzeroxis closed 8 hours ago

luizzeroxis commented 3 weeks ago

Description

In GMS 2024.6, masks have the size of the bounding box instead of the same as the sprite. This caused them to not display in the UI if these sizes were different. This PR makes so the mask size is stored so it's displayed correctly in the UI.

Caveats

None

Notes

Here's a data.win that has a mask which would not work without theses changes: fix-2024-6-masks-test.zip

github-actions[bot] commented 3 weeks ago

Download the artifacts for this pull request here:

GUI:

CLI: