Unity Fungus 01
Unity Fungus 01
Installation
Download Fungus
●
Fungus is a free AVG plugin for Unity3D
– https://github.com/snozbot/fungus/releases
– Download the newest version in .unitypackage format.
Import to a New Project
●
Start a new project and import Fungus.
– Drag the unitypackage into asset browser.
Import to a New Project
●
Import All
Wait for Import Finish
●
Two Folders will be created
– Fungus
– FungusExamples
Run Example
●
Open and play the Sherlock demo scene:
– Assets/FungusExamples/Sherlock
Create Lines
Open A New Scene in 2D
●
Start a new scene
– Click 2D to view the scene in 2D. This will change your view angle.
Add a New Fungus Flowchart
●
Tools → Create → Flowchart
Edit the Content of Flowchart
●
Go to the inspector of Flowchart GameObject. Click Open Flowchart
Window.
Add a New Line
●
Select the New Block. It could be taken
as one paragraph of narrative lines.
●
Press the add button to add a new
command into the flowchart.
– Use Narrative → Say to add a new line.
Set a Line
●
Select the Say command. Set the
Story Text to be "Hello World".
Test
●
Play and test. You should be able to see the line which just added to
your Scenario Block.
●
Try adding more lines.
Settings
Block
●
Block name: the name of this block
●
Custom Tint: tint the surface color of this
block
●
Description: a short description for this
block
●
Execute on Event: when this block should
be started.
– Wait for frames: how many frames will
this block wait before it starts.
●
Commands: the list of commands that will
be execute when this block starts.
Flowchart
●
Description: the description of this
flowchart.
●
Color Commands: whether to colorize the
command list in blocks.
●
Save Selections: save the selected block
and commands when you save the scene.
●
Localization ID: an unique ID for this
flowchart using localized string keys.
●
Show Line Number: shows line numbers in
command list.
●
Variables: variables kept and owned by this
flowchart.
Narrative/Say
●
Character: the character shown for this line.
●
Story Text: the content which the character says.
●
Description: description for this line.
●
Extend previous: this line will be append to last line. Will
not redraw the dialog window.
●
Voice over clip: the voice clip to play for this line.
●
Show always: how will this command behaves when it
is executed for multiple times.
●
Fade when done: fade effect when this line is finished.
●
Wait for click: whether is needs a click to close this line.
●
Stops voiceover: the voice will be stopped when the text
finishes typing.
●
Set say dialog: set the GameObject of say dialog.
●
Wait for VO: wait for the voiceover to complete before
continuing.
Character
Add a Character
●
Tools → Fungus → Create → Character
Set a Character
●
Name text: name of the character.
●
Name color: the color for name text.
●
Sound effect: text typing sound for this
character.
●
Set say dialog: say dialog for this character
●
Description: description for this character
●
Portraits: list of sprites that can be
displayed for this character.
– All portrait images should be of the
same resolution.
●
Portrait face: to which direction does your
portrait assets look toward.
Set a Character