Search found 23 matches
- Fri Oct 07, 2022 1:11 pm
- Forum: General Discussion
- Topic: Saving the entire state?
- Replies: 2
- Views: 506
Re: Saving the entire state?
I see that explains a lot of things. Thanks for the explanation
- Fri Oct 07, 2022 12:39 pm
- Forum: General Discussion
- Topic: Saving the entire state?
- Replies: 2
- Views: 506
Saving the entire state?
When playing some older games I realized that the save button take a snapshot of the entire state of the game. When you load the save file it put you in the EXACT same state. Like the NPC's that were in the middle of an animation are loaded in this exact animation frame; the dynamic puffs of smoke a...
- Thu Jul 21, 2022 1:29 pm
- Forum: General Discussion
- Topic: Is it possible to save asynchronously?
- Replies: 5
- Views: 1167
Re: Is it possible to save asynchronously?
Thanks for the clarifications!
How would splitting calls over multiple frames would look like in code?
If I have 600 objects, does that mean it will take 600 frames to finish the saving process?
How would splitting calls over multiple frames would look like in code?
If I have 600 objects, does that mean it will take 600 frames to finish the saving process?
- Thu Jul 21, 2022 12:18 pm
- Forum: General Discussion
- Topic: Is it possible to save asynchronously?
- Replies: 5
- Views: 1167
Re: Is it possible to save asynchronously?
Hi there! Yes I have followed the guide. The thing is that I save like 600+ gameobjects so a hiccup seem inevitable when you iterate over that long list and do operations on each objects. Now the act of saving only freeze the frame for like 0.1 or 0.2 seconds so it's not that dramatic but I would li...
- Wed Jul 20, 2022 3:44 pm
- Forum: General Discussion
- Topic: Is it possible to save asynchronously?
- Replies: 5
- Views: 1167
Is it possible to save asynchronously?
I have some checkpoints that auto-saves the game. It saves a lot of data, so I get some frozen frames which makes the gameplay not smooth.
Can I do this saving task aynchronously or something similar?
Can I do this saving task aynchronously or something similar?
- Mon Jul 11, 2022 1:39 pm
- Forum: General Discussion
- Topic: Loading ScriptablesObjects returns null
- Replies: 4
- Views: 911
Re: Loading ScriptablesObjects returns null
I have version 3.4.2, unfortunately my project is way too big and I won't have the time to work on this problem so I'll just do a workaround use my own way of referencing SO's.
All the best,
All the best,
- Mon Jul 11, 2022 1:11 pm
- Forum: General Discussion
- Topic: Loading ScriptablesObjects returns null
- Replies: 4
- Views: 911
Re: Loading ScriptablesObjects returns null
It doesn't seem to replicate on a new simple project. Adding the individual SO's references to the manager didn't work. Adding the SO's script reference seem to work though which is weird because it didnt change anything in the save's output file. Also why in the save file there's two times the exac...
- Sun Jul 10, 2022 3:58 pm
- Forum: General Discussion
- Topic: Loading ScriptablesObjects returns null
- Replies: 4
- Views: 911
Loading ScriptablesObjects returns null
Save function: public void Save() { ES3.DeleteFile("Cache"); ES3.Save("savedItem", savedItem, "tests", new ES3Settings(ES3.Location.Cache)); ES3.StoreCachedFile("tests"); } Makes this save file: { "savedItem" : { "__type" : "InventoryI...
- Thu Jul 07, 2022 2:48 pm
- Forum: General Discussion
- Topic: Easy Save is making unnecessary line breaks
- Replies: 2
- Views: 688
Re: Easy Save is making unnecessary line breaks
I fixed the problem by saving to the cache first
- Thu Jul 07, 2022 2:17 pm
- Forum: General Discussion
- Topic: Easy Save is making unnecessary line breaks
- Replies: 2
- Views: 688
Easy Save is making unnecessary line breaks
Easy save is making this wierd thing where it adds unnecessary line breaks, and it adds more and more of them the bigger the file is. Here's an example of my save file { "Scene_MiniTests_2a2d25cc-811c-4a14-95b7-6c33c2977002DamageMult" : { "__type" : "System.Single", &qu...