H
hamid1855
Guest
Ok I have a surface with a bunch of stuff drawn on it in the beginning. The user is able to erase stuff on it using bm_subtract blend mode.
After the user is done erasing stuff, they let go of the mouse and the sprite index of the another object is updated and its sprite index is set to a sprite created from the surface that the user was erasing stuff from.
The problem I am having is that when I use sprite_create_from surface and set it to the object, it doesnt change the parts that the user erased for some reason. I thought bm_subtract actually erases the pixels that were there, then why is the sprite created from the updated surface changing as well?
Thanks in advance.
After the user is done erasing stuff, they let go of the mouse and the sprite index of the another object is updated and its sprite index is set to a sprite created from the surface that the user was erasing stuff from.
The problem I am having is that when I use sprite_create_from surface and set it to the object, it doesnt change the parts that the user erased for some reason. I thought bm_subtract actually erases the pixels that were there, then why is the sprite created from the updated surface changing as well?
Thanks in advance.