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.

DarkBASIC Discussion / in game save

Author
Message
pagio
21
Years of Service
User Offline
Joined: 8th Jan 2003
Location: - Please Select -
Posted: 26th Jan 2003 17:21
i realy can not think any way of making save code how i can save the progress of the game(in game save)
Dont forget the retro games
John H
Retired Moderator
21
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 26th Jan 2003 17:35
It really depends on what kind of game your making. If your doing an RPG, I would write a file like "SVGM01" and with that write the objects x,y and z positions, all the characters experience and stats and stuff, and so on. When the user chooses to "Load Game" You need to read that file, and load all of those stats into your game with variables.

If your doing a FPS, I would do something like a flags array, and when every level is passed a levelflags=1. Then I would save all those flags to a file, and then read that file when the user starts a new game.

You really werent specific enough, what kind of game are you making anyways?

RPGamer

Current - RPG: Eternal Destiny : Help Wanted!
http://www.halbrosproductions.netfirms.com
Dont ask those questions! Read the help files lazy!
pagio
21
Years of Service
User Offline
Joined: 8th Jan 2003
Location: - Please Select -
Posted: 26th Jan 2003 22:37
rpg
thanx i've got an idia

Dont forget the retro games

Login to post a reply

Server time is: 2024-05-04 23:04:06
Your offset time is: 2024-05-04 23:04:06