this code doesn't work.
if place_meeting(x,y,obj_hero){
instance_destroy();
}
it just deletes it when it collides (as expected) ;)
Posted 25 February 2012 - 09:40 PM
if place_meeting(x,y,obj_hero){
instance_destroy();
}
it just deletes it when it collides (as expected) ;)
Posted 25 February 2012 - 09:57 PM
if(x == obj_hero.x && y == obj_hero.y) instance_destroy();
Posted 25 February 2012 - 11:34 PM
Well that doesn't work, but i dont know why,So if it is exactly the same position as the hero?
if(x == obj_hero.x && y == obj_hero.y) instance_destroy();
Posted 26 February 2012 - 01:30 AM
0 members, 0 guests, 0 anonymous users