Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Is it possible to save game progress?

Author
Message
Triple Ha
20
Years of Service
User Offline
Joined: 18th Apr 2004
Location: California, but I wish I was in Japan
Posted: 20th Aug 2004 11:21
Topic^

--------------------click below--------- Skyblaze!
Guhill The friendly one
20
Years of Service
User Offline
Joined: 12th Jun 2004
Location: The fourth demension
Posted: 20th Aug 2004 11:51
Sure, just use the "write file file#,variable" command to write integers to files, and use read file to load them, you can do a .txt file or you your own custom file, such as .rpg, or whatever.

Anything else?

Robots rule, can't wait to build one.
Xander
21
Years of Service
User Offline
Joined: 3rd Mar 2003
Location: In college...yeah!
Posted: 20th Aug 2004 13:57
That is the exact method I use for game saving. Just make sure you write and read the exact same variables in the exact same order. What you save depends on many factors, for example: do you really want to save the position of every object, or just the players progress through the levels. There are many different levels of saving possible, pick the best one for your game type.

Xander Moser of Bolt Software
Firewall: Your Computer's First Defense - Real Time Strategy game
[href][/href]
Triple Ha
20
Years of Service
User Offline
Joined: 18th Apr 2004
Location: California, but I wish I was in Japan
Posted: 20th Aug 2004 18:25
Thanks.

--------------------click below--------- Skyblaze!

Login to post a reply

Server time is: 2024-11-27 06:53:14
Your offset time is: 2024-11-27 06:53:14