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
1 registered members (TipmyPip), 18,038 guests, and 6 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
add_struct Workshop or Tutorial #282679
08/03/09 06:57
08/03/09 06:57
Joined: May 2009
Posts: 137
Ohio, U.S.A.
PigHunter Offline OP
Member
PigHunter  Offline OP
Member

Joined: May 2009
Posts: 137
Ohio, U.S.A.
George,

Could you please do a workshop or tutorial on using add_struct to get game_save and game_load to work properly with structures?

Thank you

Re: add_struct Workshop or Tutorial [Re: PigHunter] #282800
08/03/09 19:53
08/03/09 19:53
Joined: Aug 2003
Posts: 2,011
Bucharest, Romania
George Offline

Expert
George  Offline

Expert

Joined: Aug 2003
Posts: 2,011
Bucharest, Romania
I have just started a long workshop series, so that would have to wait; nevertheless, I think that you should save the struct data to a file - I wouldn't use game_load / game_save for that. Debugging the save / load system would be much harder that way, especially for complex structs.

Re: add_struct Workshop or Tutorial [Re: George] #283021
08/05/09 10:11
08/05/09 10:11
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline
Serious User
pegamode  Offline
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
I agree ... saving struct data to a file works fine.

I use a savegame struct that contains all needed information and save it in a file.

Regards,
Pegamode.

Re: add_struct Workshop or Tutorial [Re: pegamode] #283152
08/06/09 05:17
08/06/09 05:17
Joined: May 2009
Posts: 137
Ohio, U.S.A.
PigHunter Offline OP
Member
PigHunter  Offline OP
Member

Joined: May 2009
Posts: 137
Ohio, U.S.A.
Thank you for the replies!


Moderated by  George 

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