cubeww / UndertaleModTool-ExportToProjectScript

UTMT project export script
GNU General Public License v3.0
27 stars 12 forks source link

fix: colkind uses BBoxMode (#12) #13

Open ithinkandicode opened 4 years ago

ithinkandicode commented 4 years ago

Closes #12

Checks sepmasks (values here) to set colkind, which sets the sprite collision shape:

There's no easy way to tell if the collision shape should really be Precise, Ellipse or Diamond, as UMT says they use all Precise sepmasks, but it's a safe default.

For the sake of completion here's the possible values for colkind:

UMT's "RotatedRect" might mean Diamond, but during tests with GMS 1.4 I didn't see UMT use it.