Legacy GM Spliting sprite masks?[Solved]

J

jigglesthepuff

Guest
I was just wondering if it is possible to make a mask that has a gap in it, to make a platform's single object behave as if it were two seperate objects (with collisions). My goal is to make a platform with a hole in it so a character can fall through, with only one object. Please help, thanks.
 
J

jigglesthepuff

Guest
Will just setting it to precise do it, or do I need to manually set it?
 
B

bojack29

Guest
Precise will look at all the pixels with the alpha that you specify. If you make two squares with a gap between them in the sprite editor, then the mask will be those two boxes.
 
J

jigglesthepuff

Guest
Thanks @Ralucipe, @bojack29

I changed the sprite mask to precise, set the alpha tolerance to 0, and also I had to change the character's collision to precise. Thanks for the help ;)
 
Last edited by a moderator:
Top