C
Crossoni
Guest
Hi, I'm having problems with clearing my high scores. When I use the highscore_clear(); command on my game it clears my high score list, but when I delete that command from my script, the same high scores are back. I would want that I could empty my high score now but that it would save all the future high scores without resetting them every time I run the game. I am using the build-in high score table, so I am also wondering where does it save my high score info, since I can't seem to find the file anywhere. When I play my game with another computer the scores are reset, so the file has to be somewhere in my computer files.
Also I have problems with my input for high score name. When my player dies it asks for a name, and it should stop registering keys for the input after I press enter, but it doesn't. My script for it looks like this:
draw_text(room_width/2-50,room_height/2+50,"Please enter your name: "+keyboard_string)
if keyboard_string!=""&&keyboard_check_released(vk_enter)
{
name=keyboard_string
highscore_add("Wave: "+string(global.wave-1)+" " +name,global.points)
room_goto(rm_highscore)
}
I'm thankful if someone is willing to help me!
Also I have problems with my input for high score name. When my player dies it asks for a name, and it should stop registering keys for the input after I press enter, but it doesn't. My script for it looks like this:
draw_text(room_width/2-50,room_height/2+50,"Please enter your name: "+keyboard_string)
if keyboard_string!=""&&keyboard_check_released(vk_enter)
{
name=keyboard_string
highscore_add("Wave: "+string(global.wave-1)+" " +name,global.points)
room_goto(rm_highscore)
}
I'm thankful if someone is willing to help me!