Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (dr_panther, 1 invisible), 620 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
sample script of save and load game #381367
08/27/11 02:53
08/27/11 02:53
Joined: Apr 2011
Posts: 36
M
marvz Offline OP
Newbie
marvz  Offline OP
Newbie
M

Joined: Apr 2011
Posts: 36
guys, help me to have a sample script of how to save and load game.. plz.. This is all I need in my game.. I can't understand what is in the manual so I'm try to look for a sample script from you guys.. plz help me!

Re: sample script of save and load game [Re: marvz] #381373
08/27/11 07:55
08/27/11 07:55
Joined: Apr 2008
Posts: 650
Sajeth Offline
User
Sajeth  Offline
User

Joined: Apr 2008
Posts: 650
void savegame()
{
game_save("svgm",1,SV_ALL);
}

void loadgame()
{
game_load("svgm",1);
}

somewhere in main():
on_f1=savegame;
on_f2=loadgame;


Teleschrott-Fan.

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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