Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Saving and Loading Varibles 1

Status
Not open for further replies.

fugigoose

Programmer
Jun 20, 2001
241
US
I create RPG's and other games on Director. I have never figured out how to save though. Saving stats and position in a game in crucial, especially in a RPG. I was wondering how you could save a list of varibles (their values) to an external file and then load them again at a later date. That way the player can get out of the game and get back in and their progress will be recorded. I hope theres a way to do this :)
 
Dunno.

Expect it has something to do with cgi or asp. As far as I know, that's the only way to change a document on a server. I guess you'd have to have the user submit their score and it'd post to the cgi script (for example) and rewrite the text file (or whatever).

Blended
 
Note: This game isn't on a server, I just need to save it into a file on the hardrive:)
Also, what is the easiest way to do clipping, I assume its got something to do with inside(sprite(5).loch + 25,sprite(6).rect)=false, or maybe not.
 
setVariable
getVariable

read and write a file to the users HD that can contain any text info. Look it up in lingo dictionary for full details.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top