• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Resizeing mask

Laura Bravo

Member
Is there a way to resize mask, or for that matter rotate mask.

My game resizes sprites to make them appear different distances and at times rotates them. but the collision mask stays the same. Can the mask be change through code without making 20-30 different sized masked?
 

Carolusclen

Member
1) is there any reason why you are using masks in the first place?

2) there is no code to manipulate masks as far as i know

3) if your mask is a specific shape, you could try using collision_circle, collision_rectangle etc and resize them according to the size of the sprite if you are using your masks for collision.

:)
 
Top