Suggestion - Tycoon type game

Discussion and help for Easy Save 3
Post Reply
tentworks
Posts: 6
Joined: Sat Jul 25, 2020 3:50 pm

Suggestion - Tycoon type game

Post by tentworks »

Hi,

We are working on a tycoon type game where we have plenty of objects to preloaded, build, spawn objects[AI/Cars/Etc] at runtime. We have to save and load seamlessly.

This is more like an architectural question, asking for your suggestion of where to start with. This is our set up. We have a pre-built scene with empty lands and few buildings/roads/sidewalks/trees/etc which comes around roughly 500 objects]. The player will be building a house/hotel/etc using build mode[sims like]. We are spawning AIs using a spawner class[AIManager].

We just had a look at these posts,

https://moodkie.com/forum/viewtopic.php ... ding#p4853
https://moodkie.com/forum/viewtopic.php ... coon#p4855

Should we still go with these ideas mentioned in the above posts?[since its kind of old] or do you suggest a better solution at the moment?

Couldn't find much of info related to that type threads here or we might have missed, please direct us.

Thanks,
User avatar
Joel
Moodkie Staff
Posts: 4826
Joined: Wed Nov 07, 2012 10:32 pm

Re: Suggestion - Tycoon type game

Post by Joel »

Hi there,

The links you've posted don't seem to work. However, generally to save prefab instances you're best either using Auto Save, or if you need more flexibility you can save and load them using the Saving and Loading Prefab instances section of the Saving GameObjects guide.

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
tentworks
Posts: 6
Joined: Sat Jul 25, 2020 3:50 pm

Re: Suggestion - Tycoon type game

Post by tentworks »

Hi,

Thanks for the quick reply. Sorry about bad links, here they are again.

1. https://moodkie.com/forum/viewtopic.php ... ding#p4867
2. https://moodkie.com/forum/viewtopic.php ... t=building

In the second link, you mentioned that you have added a script called ComponentsTosSave. We have sent you an invoice number through a private message, can you please check and share the script or any package that could help us?

Also, we couldn't find any complete samples/video tutorials in forums/internet or we might have missed?.

We also voted for requesting a tutorial.

We already checked those document links you mentioned, trying to get a concrete idea by your suggestions before the start.

Thanks again!
tentworks
Posts: 6
Joined: Sat Jul 25, 2020 3:50 pm

Re: Suggestion - Tycoon type game

Post by tentworks »

Hi,

It seems like our PM got stuck in the outbox. It's been 4 hours since we sent it. Can you please check and confirm it?.

Thanks,
User avatar
Joel
Moodkie Staff
Posts: 4826
Joined: Wed Nov 07, 2012 10:32 pm

Re: Suggestion - Tycoon type game

Post by Joel »

Hi there,

The ComponentsToSave script was something specific to that users project. However, you can achieve the same thing by:
  • Going to Window > Easy Save 3 > Auto Save
  • Enable Auto Save for your scene
  • Set the Save Event and Load Event to 'None' (unless you're using Auto Save).
  • Press the 'Prefabs' tab
  • Find your prefab in the list and select your Components from there
This will tell Easy Save to only serialise those Components when you call ES3.Save.

You can find examples in the Examples and Tutorials section of the forum here:
https://moodkie.com/forum/viewforum.php?f=15

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
tentworks
Posts: 6
Joined: Sat Jul 25, 2020 3:50 pm

Re: Suggestion - Tycoon type game

Post by tentworks »

Hi,

Okay, after going through the tutorials/samples. This is our current plan, use autosave for pre-built objects[ with selected objects/components ] already present in the scene. And enable easy save for prefab for all the prefabs from which we create instances at runtime. 

Any other suggestions for setting up save and load system for these kind of bigger games would be really helpful. And sorry, we missed to check out those tutorials earlier.

In the mean time, we will try to get something working at the initial level and get back to you with more questions. :)

Thanks a lot!
User avatar
Joel
Moodkie Staff
Posts: 4826
Joined: Wed Nov 07, 2012 10:32 pm

Re: Suggestion - Tycoon type game

Post by Joel »

Hi there,

That sounds like the setup that most projects have, so I don't have any other suggestions. Let me know if you run into any issues :)

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
Post Reply