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!

Set Pref/Get Pref (game saving)

Status
Not open for further replies.

carnby

Technical User
Oct 11, 2001
4
GB
Need a game save function for a simple adventure game. I want to use Set/Get Prefs. The player saves after completing a level (each level is a dxr file). When loading a saved game I need to call up the next level. Is there a simple way to do this. Any advice welcome.
Thanks

A.D.
 
Yeah, just save the name of the next game, not the one they just finished. Read it in with getprefs then just use a goto movie command to move on. Or use a list, save the users last finished level, find it in the list and get the next one in the list

eg
[level1, level2, level3]
user saves level2, search list for level2, go one more and go to that movie.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top