i am making a game where you can collect coins, and i have written a score system for it, but if you change rooms, the score is back to zero, how can you save the score? here the code:
collision with the player in the coin object
//+ Score
global.coin_score += 1;
instance_destroy();
audio_play_sound(snCoinPickup, 10, false);
the score object
//the score
global.coin_score = 0;
it would be nice if you guys can help me out with that
collision with the player in the coin object
//+ Score
global.coin_score += 1;
instance_destroy();
audio_play_sound(snCoinPickup, 10, false);
the score object
//the score
global.coin_score = 0;
it would be nice if you guys can help me out with that