Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
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
4 registered members (ozgur, AbrahamR, wdlmaster, 7th_zorro), 839 guests, and 7 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
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 | 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