View Full Version : Simple high score list for off line use
Tony Bolero
September 3rd, 2007, 09:30 AM
Hi!
I want to build a high score list for a flash game. The game will be used off line so I canīt use php or whatever to store the list. Do you know where to begin??
Best regards
Tony Bolero
DrRobot
September 3rd, 2007, 08:49 PM
i'm not sure you can do a offline highscore list. how would it get the scores from the other computers?
unless it's highscores like in guitar hero and it's only relevent to your name?
Tony Bolero
September 4th, 2007, 02:23 AM
i'm not sure you can do a offline highscore list. how would it get the scores from the other computers?
unless it's highscores like in guitar hero and it's only relevent to your name?
Oh, sorry. People will only be able to play it on one computer. They all use the same computer. But I need to save the score if someone closes the browser or restart the computer.
SacrificialLamb
September 4th, 2007, 03:29 AM
Flash is a sand box program and dose not allow you to edit things not make it easy to edit thing on the computer it's on, I don't know about AS3 but I'm under the impression that Shared Objects (cookies) is all it allows, but you should be able to make a high score list from that, but it may clear some times when the cookies are removed
http://www.kirupa.com/developer/mx/sharedobjects.htm
neilmmm
September 4th, 2007, 11:29 AM
you need to use sharedObject to store the data on the computer, you want to keep the scores and names in an array which sharedObject retrieves
hope that points you in the right direction
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.