Save System
Saving system
This was hard, realy hard.
For the saving you have to save a lot of things in open world
games.
Position, inventory, each pick up you took, position all wepons what you picked up
and then threw it away.(This was the hardes).
So I started and I could save just: floats(0.1 etc.), ints(1,2 etc.), strings("Hi" etc.), bools(true etc).
So position was array of 3 floats: float pos[x,y,z]
For pick ups I had an big array of bools what were true(taken) or false(not taken).
For the wepon It was hard I tried a lot of thing.
I won't write here what these things were because it will be to long.
Solution was to save it to a scriptable object like Vector3[] and make from it
a fill and then make it again scriptable object.
This took me a lot of time.
Thanks for reading.
Good luck.
Different Dimension - Demo
Explore a strange world.
Status | Released |
Author | T Studio Games |
Genre | Adventure |
Tags | 2D, Exploration, Open World, Pixel Art, sad, Singleplayer, Story Rich, Top Down Adventure |
More posts
- EndNov 30, 2019
- SpellsAug 06, 2019
- First demoAug 06, 2019
- StartAug 06, 2019
Leave a comment
Log in with itch.io to leave a comment.