S
shadow7692
Guest
For my animations, I'm using a sprite sheet. This means that I use
I have a separate sprite sheet for my hitboxes, each X and Y 'box' corresponds to the same 'box' as the animation frame. I know that I must create a collision mask but I don't know how to make gamemaker generate one automatically, then assign that hitbox collision mask to the sprite.
Any ideas? I'm not looking for someone to write me code, but rather explain how I should go about this and any useful built-in functions I might need to use. Also links would be really useful too. Thanks in advance!
draw_sprite_part()
and just change the X and Y to essentially move through each box in the row for it to look animated. I am trying to implement a hitbox and am having trouble generating the collision masks.I have a separate sprite sheet for my hitboxes, each X and Y 'box' corresponds to the same 'box' as the animation frame. I know that I must create a collision mask but I don't know how to make gamemaker generate one automatically, then assign that hitbox collision mask to the sprite.
Any ideas? I'm not looking for someone to write me code, but rather explain how I should go about this and any useful built-in functions I might need to use. Also links would be really useful too. Thanks in advance!