Q
quirkylemon103
Guest
so i finished the tutorial for space rocks except whenever you hit an asteroid you either lose 2 lives and die or you just die
here is the code
this is in obj_game
this in the collision event between ship and asteroid
also I've checked to see if i have duplicates anywhere and i didn't get any when i
used the cctrl shift f
here is the code
GML:
if (lives <= 0)
{
instance_destroy(obj_ship)
audio_play_sound(snd_lose, 1, false);
room_goto(rm_gameover)
}
Code:
lives -= 1;
also I've checked to see if i have duplicates anywhere and i didn't get any when i
used the cctrl shift f
Last edited by a moderator: