Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (TipmyPip, 1 invisible), 18,731 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Highscoore list offline #84206
08/02/06 12:38
08/02/06 12:38
Joined: May 2006
Posts: 132
Norway
Fiskekona Offline OP
Member
Fiskekona  Offline OP
Member

Joined: May 2006
Posts: 132
Norway
I am trying to find an example script that shows how to make a highscoore list offline.
I find several that shows how to do it online whit sql and so on.

But I am looking for a way to make a highscoore list that follows my game.

Does any of you know where I can find a example, that shows me how to do this..


Programmer in training... Own GameStudio Commerical 6.50
Re: Highscoore list offline [Re: Fiskekona] #84207
08/02/06 12:45
08/02/06 12:45
Joined: Sep 2003
Posts: 4,959
US
G
Grimber Offline
Expert
Grimber  Offline
Expert
G

Joined: Sep 2003
Posts: 4,959
US
would just be a txt file. game loads you read in a score.txt file ( file you make in your game folder) to an array as the plaeyr plays the high score array is updated to reflect new/repalced scores.

when player picks option to quit/exit game. just write the highscore array back to the score.txt file

so, just look up basics of how to open, read from, write to, and close a file
manual covers the instructions well and im sure George has covered reading and writting variable data from/to a text file several times before (AUMs and georges scripting tutorial?)

Re: Highscoore list offline [Re: Grimber] #84208
08/02/06 12:47
08/02/06 12:47
Joined: May 2006
Posts: 132
Norway
Fiskekona Offline OP
Member
Fiskekona  Offline OP
Member

Joined: May 2006
Posts: 132
Norway
ok so it is so easy..... thanks


Programmer in training... Own GameStudio Commerical 6.50

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1