Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > General > Gaming and Game Development

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-28-2003, 12:44 AM   #1
tidalwv
Registered User
 
Join Date: Dec 2002
Location: Raleigh, NC
Posts: 15
Send a message via ICQ to tidalwv Send a message via AIM to tidalwv
Default Allow users to save their progress in a game

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?
tidalwv is offline   Reply With Quote
Old 02-28-2003, 06:27 AM   #2
hamzaf
Registered User
 
Join Date: Oct 2002
Location: Egypt
Posts: 22
Default

hi,
in flash 5, i think that you could save variables using the dasboardSave function:
http://tutorials.flashguru.co.uk/?tid=000041
and to load variables, use the loadVariables function..

hope this helps.
Hamza.
hamzaf is offline   Reply With Quote
Old 02-28-2003, 07:32 AM   #3
bobbo
Registered User
 
Join Date: Feb 2003
Posts: 2
Default locations / time / items

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.

Bobbo
bobbo is offline   Reply With Quote
Old 02-28-2003, 12:18 PM   #4
tidalwv
Registered User
 
Join Date: Dec 2002
Location: Raleigh, NC
Posts: 15
Send a message via ICQ to tidalwv Send a message via AIM to tidalwv
Default

Yeah, it'll involve items
tidalwv is offline   Reply With Quote
Old 02-28-2003, 05:41 PM   #5
xxlm
Meuh? MMeuh!
 
xxlm's Avatar
 
Join Date: Sep 2001
Location: Auckland - New Zealand
Posts: 3,050
Send a message via ICQ to xxlm Send a message via AIM to xxlm Send a message via MSN to xxlm Send a message via Yahoo to xxlm
Default

look for sharedObject
__________________
I'm a froggy, so excuse me for my poor english
Blog - Dev By MX
For any jobs go on my blog on the contact page...
xxlm is offline   Reply With Quote
Old 02-28-2003, 06:00 PM   #6
tidalwv
Registered User
 
Join Date: Dec 2002
Location: Raleigh, NC
Posts: 15
Send a message via ICQ to tidalwv Send a message via AIM to tidalwv
Default

I have 5, not MX, though...
tidalwv is offline   Reply With Quote
Old 02-28-2003, 06:46 PM   #7
xxlm
Meuh? MMeuh!
 
xxlm's Avatar
 
Join Date: Sep 2001
Location: Auckland - New Zealand
Posts: 3,050
Send a message via ICQ to xxlm Send a message via AIM to xxlm Send a message via MSN to xxlm Send a message via Yahoo to xxlm
Default

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

CU
__________________
I'm a froggy, so excuse me for my poor english
Blog - Dev By MX
For any jobs go on my blog on the contact page...
xxlm is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:51 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.