|
Bugs
Mar 9, 2014 16:42:48 GMT 1
Post by User on Mar 9, 2014 16:42:48 GMT 1
When you save and reload everything respawns in the world and your interfaces are doubled and so forth, to the number of save reloads you do. So reload once 2 potions on ground, reload again, 3 on the ground ect. i.imgur.com/82AFvmc.jpg?1i.imgur.com/r9XucD7.jpg
|
|
Admin - Guest Account
Guest
|
Bugs
Mar 12, 2014 8:31:11 GMT 1
Post by Admin - Guest Account on Mar 12, 2014 8:31:11 GMT 1
Hi, thanks for notifying me about this, items should be nested under manager with hash tables, when you load scene, system will check items int those hash tables, it will check for items and their positions using hash tables values that are saved when you press save so what item is missing it will be added to the scene using vector 3 saved position and parented again to the same game object manager. When you look on my scene you will find that manager on bottom of the scene game objects which has two children, systems and items and here will be parented all items on scene so this way system will know what items to load and what items are removed from scene. So what you have to do is to check and save every hash table using serializer in scene especially those managers depends on what you using. When Hash Tables is saved it will be stored in database using save feature. Read GUIDE provided in package, it will explain how thos save / load feature works. Let me know if this helps.
Btw i can't log in on forum from work so i have to answer as guest.
Cheers!!!
|
|
|
Bugs
Apr 19, 2014 6:36:23 GMT 1
Post by Terrence on Apr 19, 2014 6:36:23 GMT 1
Had the same problem. I didnt child the Invetory and Stats to the gameManager. I went back through the guide and couldnt find where it said to do that but maybe Im blind. If it is in there maybe you could Highlight it or set it to bold? May help some other people. Everythings working great now. Thanks
|
|
|
Bugs
Apr 19, 2014 8:41:31 GMT 1
Post by Super Admin on Apr 19, 2014 8:41:31 GMT 1
Thanks for reply, when you open GUIDE, on page 40 you can read about serializer and save options, what to store and how to store: On this picture you can see some info about what to store using serializer and on this image you can see what to store and where, maybe it's not that detailed but it can help you to understand how save functionality works, storing values than you just reference from your project what you want in scene, create instances on stored vector 3 positions or populate your containers with values, and there you go Cheers!!!
|
|