M
milch
Guest
I want my tree sprite to turn transparent when the player walks behind it, but with place_meeting it checks for the collision area, not for the actual sprite area...
if place_meeting(x,y,character){
image_alpha = 0.5;
}else{
image_alpha = 1;
}
so right now it only turns the tree transparent when the player walks against it...
could someone tell me if there's a way to check if an object is meeting with a sprite? thanks!!
if place_meeting(x,y,character){
image_alpha = 0.5;
}else{
image_alpha = 1;
}
so right now it only turns the tree transparent when the player walks against it...
could someone tell me if there's a way to check if an object is meeting with a sprite? thanks!!