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 / I really need help creating a data "save" and "load" function

Author
Message
MASTER OF PUPPETS
20
Years of Service
User Offline
Joined: 9th Jun 2004
Location: Trapped Under Ice
Posted: 10th Nov 2004 14:10
Okay, heres's the thing. I am making a game similar to a cross between Final Fantasy VIII and Zelda Majora's Mask. I need a function that can save and load data.
Here are the specs - you have 20 items and you can only save at save spots. On top of the twenty items you can also collect 50 magic stones. If you have any questions don't be afraid to ask.
P.S. all i can do so far is write to an open file and read an open file but i cant save items according to their slots and i can't save the stones.

metal is not music but a way of life...all hail to the reigning king METALLICA!!!
13e
20
Years of Service
User Offline
Joined: 20th Oct 2004
Location: Here
Posted: 10th Nov 2004 22:17 Edited at: 10th Nov 2004 22:19
I'm having a bit of trouble trying to get to grips with this too, maybe this'll help: -

EDIT: I saved the wrong link in my favourites!

Sorry, I can't remember which thread that helped me out!
Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 11th Nov 2004 00:10
This tutorial I wrote shows how to write data out to a file.

http://www.thegamecreators.com/userdata/codebase/files/A%20DB%20DB.doc

"eureka" - Archimedes

Login to post a reply

Server time is: 2025-05-24 12:18:55
Your offset time is: 2025-05-24 12:18:55