ForumsProgramming ForumHigh Score Table

4 4400
Diddy645
offline
Diddy645
23 posts
Nomad

I have made a few games that store the high scores in variables and can display them, but they always get erased when you exit out of the game (duh, I didn't expect it to save). I have no clue how to save to a server or even an external text file. I only know how to load from an external text file using new URLLoaders, etc. I do not know php or xml, either. I searched for a LOOONG time on google to try to find a tutorial, but there are only ones that show loading from external files. Can anyone either point me to a tutorial or show an example of how to do this?

  • 4 Replies
Diddy645
offline
Diddy645
23 posts
Nomad

I am very sorry about the double post....but there is no edit button above and I forgot to say this: I need to know it in actionscript 3, since I do not know actionscript 2 at all...

joeybetz
offline
joeybetz
107 posts
Shepherd

There is a good tutorial on SharedObjects here that might suffice for what you're doing.

The SharedObject is local to that users machine only, so the highscores won't be good for anyone outside.

To store persistent highscores for every user that plays your game takes quite a bit more code and server knowledge.

Diddy645
offline
Diddy645
23 posts
Nomad

Ok, thanks. I'll read it, and if it is what you described, then it will work for now. I will probably eventually research into server and xml/html code to see online high scores...but not yet...

rboyzrezky
offline
rboyzrezky
18 posts
Nomad

i think if you want online highscore you should have an own server and know PHP and mySQL stuff.
there're some tutorials about creating online highscore. try to see gotoandplay.it or newgrounds.com

Showing 1-4 of 4