Gamestudio Links
Zorro Links
Newest Posts
Camera always moves upwards?
by clonman. 11/13/25 14:04
brokerCommand PLOT_HLINE parameters
by M_D. 11/13/25 10:42
ZorroGPT
by TipmyPip. 11/10/25 11:04
Training with the R bridge does not work
by frutza. 11/05/25 00:46
Zorro 2.70
by opm. 10/24/25 03:44
Alpaca Plugin v1.4.0
by TipmyPip. 10/20/25 18:04
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
5 registered members (Grant, AndrewAMD, ozgur, Quad, TipmyPip), 29,980 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sheliepaley, Blueguy, blobplayintennis, someone2, NotEBspark
19177 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