Gamestudio Links
Zorro Links
Newest Posts
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
ZorroGPT
by TipmyPip. 04/08/26 17:08
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 3,926 guests, and 25 spiders.
Key: Admin, Global Mod, Mod
Newest Members
VladMak, Geir, ondrej, mredit, vestriaa
19207 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 | 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