Highscore Table(Saving to a file)

Monkey Targets Forums/HTML5/Highscore Table(Saving to a file)

probson(Posted 2017) [#1]
Hi,

Is it possible in HTML5 mode to save the highscores to a table and load them next time around or do I need to do that in GFLW2?

My students doing projects and all are going to have some way to save the score or time they got. It then needs to write this to a file for next time.

They will have to implement a merge sort of similar in Monkey X to sort data and then work out how to display to screen. I just want to know it's possible.

Thanks,

Paul


Xaron(Posted 2017) [#2]
Saving to a file doesn't work in HTML5 as far as I know due to this sandbox protection stuff. But you can use SaveString() and LoadString() which should be suitable for a highscore list.