N
Nakwatuk
Guest
I've searched a number of methods using gpu_set_colorwriteenable() to create a mask of a sprite within another sprite. However, I'm seeking a method to using an inverse of this.
Say there's a player sprite and the player is carrying an item. The item is represented as another sprite that is drawn right after. However, I only want the part of the item's sprite that is not overlapping the player to show. I'm also using full sprite sheets for these and not individual sprite frames.
This would be handy in a number of applications such as left to right handedness of an item but using the same sprite, etc. Any insight would be most helpful.
Cheers,
Nak
Say there's a player sprite and the player is carrying an item. The item is represented as another sprite that is drawn right after. However, I only want the part of the item's sprite that is not overlapping the player to show. I'm also using full sprite sheets for these and not individual sprite frames.
This would be handy in a number of applications such as left to right handedness of an item but using the same sprite, etc. Any insight would be most helpful.
Cheers,
Nak