Gamestudio Links
Zorro Links
Newest Posts
Lapsa's very own thread
by Lapsa. 06/26/24 12:45
Executing Trades on Next Bar Open
by Zheka. 06/20/24 14:26
A simple game ...
by VoroneTZ. 06/18/24 10:50
Face player all the time ...
by bbn1982. 06/18/24 10:25
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Lapsa), 1,268 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Mino, squik, AemStones, LucasJoshua, Baklazhan
19061 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 | chip programmers | 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