View Full Version : Allow users to save their progress in a game
02-28-2003, 01:44 AM
I am currently developing a adventure (think Monkey Island) game in Flash 5. The thing is that I am not sure if the game will end up being short and convient enough to play in one sitting.
My question, then, is this: assuming that the game is run on the player's computer as an .exe or an .swf accessed through .html on the player's computer, is there a way for Flash to read and write saved game files?
02-28-2003, 07:27 AM
in flash 5, i think that you could save variables using the dasboardSave function:
and to load variables, use the loadVariables function..
hope this helps.
02-28-2003, 08:32 AM
this depends on how complex the game is.
If you dont have to have items, then this can be simple.
You give the person a "passcode" that takes them to the correct scene in your flash program. A passcode of "L3D2" could be a code for Location 3 Day 2 of the game.
Even more simply you could just go by flash scene. A passcode of "beach5" could be used to take the person to the scene beach5.
If the character has to carry items this approach could be more difficult... you dont want to have 100 character passcodes to identify all the items.
But it is a simple technique that works for some cases.
02-28-2003, 01:18 PM
Yeah, it'll involve items :)
02-28-2003, 07:00 PM
I have 5, not MX, though...
you should use Director and not Flash I guess.
or try to find a softawer like the one on the home page.
It allow you to write .txt. Then yuo can save file int it ;)
vBulletin® v3.8.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.