GameMaker SOLVED: Sprites and masks from strip images

Bee

Member
Hello all,

I hope the answer to this isn't too obvious and I'm just being clueless, but I also hope there's an easy answer.

I have a game generating random tiles for the play area. The tiles are all within one sprite as different image_indexes. I would like to match up their corresponding masks when the tiles are generated, but I see you can only set the mask_index as a single sprite image and not to an image_index. I have 62 different tiles and 62 different masks.

Is there a way to attach the correct mask to the correct sprite?
 

Bee

Member
I figured it out. Just adding objects with the mask sprites, set to manual mask, precise per frame.
 
Top