• 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!

Legacy GM Custom Collision Masks

A

Aaron Kendrick

Guest
Ive got an interesting question.:

Is it's possible to create custom sized collision masks?

Sure, you can create black, rectangular sprites from surfaces using create_sprite_from_surface, but wouldn't that be a problem if used extensively? It's not like there is a way to delete he extra sprites (unless there is, please tell me).

Im trying to find a quick and easy method to create custom sized collision masks (it could just be rectangles and I'd be happy) that I can call upon whenever needed.

Is this even in the realm of possibility? It seems like it should be. For example: set_mask_rectangle(width,height).
 
Top