I
iBack
Guest
Hi I need help with saving the last highest score after the player has died.
what happens is, after the player sets a new high score (number greater to the last score) the last highest score will be shown at the main menu (I want just one last highest score to be written).
what i want is once the player picks up coin, the player will get a score of 10 (in-game), once the player dies and goes back to the main menu, at the top of page it should show the last highest score.
obj_coin2 collision event with obj_player:
what happens is, after the player sets a new high score (number greater to the last score) the last highest score will be shown at the main menu (I want just one last highest score to be written).
what i want is once the player picks up coin, the player will get a score of 10 (in-game), once the player dies and goes back to the main menu, at the top of page it should show the last highest score.
obj_coin2 collision event with obj_player:
GML:
instance_destroy();
with (obj_score) thescore = thescore + 10;
audio_play_sound(snd_cointest,1,0);