N
no1youngin
Guest
trying to make my sprite turn white for a second once taking damage (by touching the bullet).
the first image_index is the normal enemy, the second is the enemy colored in white. made this code in the step event of the enemy. Why doesn't this work?
if place_meeting(x,y,obj_bullet)
{
image_index = 1;
}
if !place_meeting (x,y,obj_bullet)
{
image_index = 0;
}
the first image_index is the normal enemy, the second is the enemy colored in white. made this code in the step event of the enemy. Why doesn't this work?
if place_meeting(x,y,obj_bullet)
{
image_index = 1;
}
if !place_meeting (x,y,obj_bullet)
{
image_index = 0;
}