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 / Game Saves

Author
Message
Pyromaniac
21
Years of Service
User Offline
Joined: 8th Jan 2003
Location: United Kingdom
Posted: 7th Feb 2003 23:40
Ok, so what i need to know is how do i save the positions of sprites, etc to a text file so it can be opened again after i restart my game? How would i do this (or is there a better way?), I use the latest version of BDpro
Pyromaniac
21
Years of Service
User Offline
Joined: 8th Jan 2003
Location: United Kingdom
Posted: 7th Feb 2003 23:40
sorry if the post was breif i a very tired/frustrated

Pyromaniac
21
Years of Service
User Offline
Joined: 8th Jan 2003
Location: United Kingdom
Posted: 7th Feb 2003 23:41
btw, if anyone knows a good DBpro tutorial site be sure to tell me to prevent me from asking questions in the future ^_^

Hockey07
21
Years of Service
User Offline
Joined: 18th Dec 2002
Location: United States
Posted: 7th Feb 2003 23:55
http://www.darkbasic.co.uk/create/bm_tutorials/basic/arrays.htm

it might be for DB only, though... I think that is for saving too, because I know you use arrays to store information like that..

AlamDV, NHL, NHL 2K3....... The best combination ever!
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 8th Feb 2003 00:23
Id write the data in a file, then when you load it, save the data as variables, then just plug it into your position object and stuff statements in your load game.

RPGamer

Current - RPG: Eternal Destiny : Help Wanted!
http://www.halbrosproductions.netfirms.com
Dont ask those questions! Read the help files lazy!
Shadow
22
Years of Service
User Offline
Joined: 17th Oct 2002
Location: In the shadows
Posted: 8th Feb 2003 21:45
to save


to load
Pyromaniac
21
Years of Service
User Offline
Joined: 8th Jan 2003
Location: United Kingdom
Posted: 8th Feb 2003 23:06
Thanks Guys!!! ^_^

Login to post a reply

Server time is: 2024-11-24 02:04:46
Your offset time is: 2024-11-24 02:04:46