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).
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).