The Daily Click ::. Forums ::. Klik Coding Help ::. saving an array properly??
 

Post Reply  Post Oekaki 
 

Posted By Message

Wormware



Registered
  20/05/2003
Points
  1031
20th March, 2004 at 15:38:15 -

I've got a problem.. or actually 2 problems:

1: when I save an array, can I make it save in the game's own folder or game/savedgames?

2: How can I make the game make a list of all saved games so I can select one for loading?


 
www.freewebs.com/wormware

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
20th March, 2004 at 16:00:44 -

1: Yes, use appdrive$+appdir$+"savegame.sav"
2: Use a list object, and open a filelist at appdrive$+appdir$+"*.sav"

 
n/a

Wormware



Registered
  20/05/2003
Points
  1031
20th March, 2004 at 16:38:56 -

Thank you for the info!!!

 
www.freewebs.com/wormware

Knudde (Shab)

Administrator
Crazy?

Registered
  31/01/2003
Points
  5125

Has Donated, Thank You!Clickzine StaffKlikCast StarVIP MemberGhostbuster!Dos Rules!I donated an open source project
20th March, 2004 at 16:43:14 -

Well I was gonna help, but then Chris beat me to it.

 
Craps, I'm an old man!

Crystal Clear (H.E.S)

Possibly Insane

Registered
  06/10/2002
Points
  2548
20th March, 2004 at 17:21:08 -

cant you just use apppath+"*.sav" ?

 
HES homepage:
http://www.distinctiv-efair.com/heretic/studios
Crystal Clear Productions: http://www.distinctiv-efair.com/heretic/crystalclear

Pete Nattress

Cheesy Bits img src/uploads/sccheesegif

Registered
  23/09/2002
Points
  4811
20th March, 2004 at 17:39:12 -

doesn't that return the full path of the app, as in

C:\Folder\MyApp.exe

which would be pants.

 
www.thenatflap.co.uk

Crystal Clear (H.E.S)

Possibly Insane

Registered
  06/10/2002
Points
  2548
20th March, 2004 at 17:57:25 -

lol, oopsy forgot about that

 
HES homepage:
http://www.distinctiv-efair.com/heretic/studios
Crystal Clear Productions: http://www.distinctiv-efair.com/heretic/crystalclear
   

Post Reply



 



Advertisement

Worth A Click