fungus

Open full view…

Save game function

alexmezzina
Fri, 13 Jan 2017 17:56:00 GMT

Hi everyone, i'm using the latest version on unity and fungus and i'm trying to figure out on how to save game, can someone explain that please? The game i'm doing is a visual novel, so when the player chose to load game should jump directly to the correct dialog, and i don't know how to do that. Thanks :)

chrisgregan
Sat, 14 Jan 2017 12:27:19 GMT

In the current version you can use the Save Variable and Load Variable commands to implement a basic save system, but it's a lot of work tbh. I'm just putting the finishing touches to a much more automated save system which will be in the next release. I'm working on it in [this branch](https://github.com/snozbot/fungus/tree/save-system) in github if anyone wants to check it out.

shadowaecat
Tue, 17 Jan 2017 23:24:12 GMT

Hi Chris! I'm checking in about the save function. Been excited to see what's up with it :) The link to Github is 404ing.

alexmezzina
Wed, 18 Jan 2017 07:43:38 GMT

Thanks for the reply, i've manager a basic Save game function by using fungus prefs and various if statement to Jump dialogue :) I'll wait for this new release, good job!

chrisgregan
Fri, 20 Jan 2017 11:57:03 GMT

@shadowaecat I've merged and deleted that branch, which explains the 404. You can just grab the [master branch](https://github.com/snozbot/fungus) and take a look at the SaveGame example scene.

lealeelu
Fri, 20 Jan 2017 20:06:11 GMT

YAAAAAAAAAAAAAAAAY :) :) :) :)

shadowaecat
Sun, 22 Jan 2017 20:50:41 GMT

WOW!! This looks incredible! It's exactly what I was hoping for! Thank you sooooo much!

chrisgregan
Mon, 23 Jan 2017 15:13:08 GMT

Cool! If you're playing around with it let me know if you find any issues. It was a tough system to design and there's probably some use cases that I've missed.

shadowaecat
Mon, 23 Jan 2017 15:26:52 GMT

Is it in the new version of Fungus, or a Beta version? I haven't upgraded Fungus for a long time (I feel like I was advised not to, so as not to cause errors in my game?), but I would like to migrate to the newer version. I will have to in any case to get this function for my game :) Thanks!

chrisgregan
Mon, 23 Jan 2017 15:46:11 GMT

Right now it's only in the master branch on github. It will be included in the next release on the Asset Store (once I sort out the current bug list).

shadowaecat
Mon, 23 Jan 2017 15:47:52 GMT

Okay, I shall wait patiently :) Thank you!