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,388 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
Saving my game #330950
07/01/10 07:36
07/01/10 07:36
Joined: Mar 2009
Posts: 88
Walori Offline OP
Junior Member
Walori  Offline OP
Junior Member

Joined: Mar 2009
Posts: 88
Good day, I encountered a somewhat a serious problem few days ago while developing my project called "Save game - Load game". Didn't see any problem till I tried to load a game from different instance of the application and this gave me "few" error messages.

So, how can I save my defined structs so that when I load my game they don't give error messages (note, there are both global structs and structs inside structs)? If this can be done with Pvars please enlighten me about it, manual didn't make me any smarter...

regards

Re: Saving my game [Re: Walori] #330952
07/01/10 07:47
07/01/10 07:47
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline
Expert
Espér  Offline
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
game_save/game_load needs you to make sure, that all Entities, Panels, Objects.. are the same at the loading state, and at the saved state..

That´s not possible in a normal game ( cause the entities and objects changes from map to map..)..

So.. i think you need to create your own Save/Load System..
perhaps with file_open_write/file_open_read ^^


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<

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