fungus

An easy to use Unity 3D library for creating illustrated Interactive Fiction games and more.

MIT License

Stars
1.6K
Committers
48

Bot releases are visible (Hide)

fungus - Fungus v3.13.8 Latest Release

Published by stevehalliwell over 2 years ago

Fixed

  • Fixed Editor Gui Layout error in 2021.x and up. Thanks to breadnone.
fungus - Fungus v3.13.7

Published by stevehalliwell over 3 years ago

Fixed

  • Add missing VariableDrawer for ObjectVariable. Thanks to CG-Tespy.
  • Fix double duplication of blocks in flowchart window. Thanks to ongjinwen.
  • Dialog ClickAnywhere not supports ignore click delay. Thanks to breadnone.
  • SetNextLineFlag only flags if Dialog is actually active/writing. Thanks to breadnone.
  • TextAdapter with TMPro, now forces mesh update on text change. Fixes cases where a Say/Writer would expect RevealedCharacters to be current but would be previous frame stale value.
  • Camera Fade clears local callback before execution, fixes #973.
  • Force portraits undimmed on change sprite.
  • Correct CommandList focus and selection when adding a new command. Thanks to Arylos07.

Changed

  • Block will LogError when an exception is caught from a Command being Executed.
  • WriterAudio.GetSecondsRemaining reports 0 if not playing. Thanks to KVinS.
  • Add special case that skips variation logic for sequences that contains no elements, making no change.
  • Add NotifyEnd to Writer WaitForInputAndClear logic. Thanks to wolfrug.
  • Drag event handlers now only trigger from direct drags, not just movement. Thanks to CG-Tespy.
  • NarrativeLogMenu can limit the length of it's output, quick fix for narrative logs that would overflow the max ushort vert limit. Thanks to breadnone.
fungus - Fungus v3.13.6

Published by stevehalliwell about 4 years ago

Fixed

  • LoadVariable leaves variable unchanged if key not found, previously was setting to default. Thanks to CG-Tespy.
  • Portrait MoveToFront now correctly moves holder rather than underlying image itself. Thanks to iwanPlays.
fungus - Fungus v3.13.5

Published by stevehalliwell about 4 years ago

v3.13.5

Fixed

  • TextAdapter use of Visible Characters null and bounds checked, required for TMPro 3.x
  • FlowchartWindow styles force set expected values, seems required to deal with changes to UI style defaults in more recent Unity.
  • InvokeMethod command uses more explicit search and more informative log if error is found in editor.
fungus - Fungus v3.13.4

Published by stevehalliwell about 4 years ago

v3.13.4

Fixed

  • Set actions on Property commands targeting structs now save changes. Previously the target variable was not being copied back to the internal struct, causing changes to be discarded. Impacts the following Property Commands, Color, Matrix, Quaternion, Vector2, Vector3, Vector4.
  • Writer with 0 speed and TMPro text correctly writes at infinite speed, previously was infinite loop.
  • Collection Contains* commands now actually show the field to store boolean result.
  • Writer with TMPro text now correctly calls NotifyGlyph and less susceptible to nested rich text tag confusion.

Changed

  • Conversation System finding character by name now uses an exact match with fallback to previous StartsWith. Thanks to hsandt.
  • Flowchart Window labels no longer forced white, to better accomidate dark theme as of Unity 2019.4.8
fungus - Fungus v3.13.3

Published by stevehalliwell about 4 years ago

Fixed

  • View Gizmo Drawer specifies type of View, no longer tries to run for every object in scene.
  • TMProLinkAnim dictionary errors caused by duplicate entries when Domain Reload is disabled, Thanks to yano.
  • Divide Equal now uses Unicode characters in place of ASCII slash in menus, so it shows correctly.
fungus - Fungus v3.13.2

Published by stevehalliwell over 4 years ago

Fixed

  • Restore string VariableSubstitution in use of AnyVariableDataPair, found in SetVariable and VariableCondition (#841)
  • Float variable comparison, typo causing comparison to self instead of rhs(#836)
fungus - Fungus v3.13.1

Published by stevehalliwell over 4 years ago

Fixed

  • Build error in JsonChecker caused by missing asmdef in newer Unity versions. (#833)

*No changes for Compatibility release, see previous release.

fungus - Fungus v3.13.0

Published by stevehalliwell over 4 years ago

Added

  • Conditional Commands now support multiple comparisons as a chain of && or ||. Thanks to preda2or, and AcademyOfF
  • IWriterListener OnAllWorldsWritten fires when there are no words left to be written but writer may still have pending waits
  • Entry based NarrativeLog alternate. Thanks to cg-tespy
  • Option to grid snap blocks in the FlowchartWindow.
  • TMPro Text animation via link text.
  • Fungus Collection, variables, default types, and commands.
  • Github Issue and PR templates.

Fixed

  • Portrait image shown as white when cycled through rapidly.
  • Flowchart Window Search box steals focus
  • Mushroom icon placement incorrect on some versions of Unity. Thanks to TonyJeffree
  • Text and Background colour readability across Unity Versions and Pro skin. Thanks to DesperateHouseDev
  • VariableData indents incorrect.
  • Fix reshow of hidden portrait in Conversation. Thanks to jusw85
  • FlowchartWindow search pop not showing on newer Unity versions.
  • VS Solution file fix for Unity 2019.3.12
  • Inspector DeleteSave button now deletes now more aware of target platform.
  • Fungus VariableData single and multiline variable drawing in more recent Unity versions.
  • Possible null ref in Conversation editor during variable match check
  • Block connections not drawing if origin block is not drawn.

Changed

  • Portraits are now all cached when requested under their own gameobjects and toggle active.
  • Fungus Docs moved to github wiki
  • JSONObject lib updated to newer version. Thanks to qrostar.
  • CameraManager and View now use Tween types.
  • Dragable EventHandlers now support an array of target dragables. Thanks to SarveshBajaj
  • Flowchart GetVariables by type. Thanks to cg-tespy
  • A null FungusVariables will now report their string value as Null instead of an empty string.
  • Develop updated to Unity 2019.3.13
  • Demo scenes rebuilt in minimum supported Unity version.
  • Block selector now orders blocks by name.
  • Block search now supports partial matches.
  • Update to c#4
  • Updates to Contributing, Code of Conduct.
  • Menu command has a button to add a block for it to target.
  • Character selector now sorts names.
  • Portrait selector now sorts names.
  • Update header license
  • Writer uses InvariantCulture when parsing floats to avoid unexpected behaviour under changing system cultures.
fungus - Fungus v3.13.0-rc2

Published by stevehalliwell over 4 years ago

Second Release Candidate for 3.13.0

fungus - Fungus v3.13.0-rc1

Published by stevehalliwell over 4 years ago

Release Candidate for 3.13.0

fungus - Fungus v3.12.0

Published by stevehalliwell almost 5 years ago

What are these multiple packages?

  • Fungus_v3.12.0.unitypackage is the normal release.
  • Fungus.Lite._v3.12.0.unitypackage FungusExamples not included.
  • Fungus.Compatibility._v3.12.0.unitypackage is the normal release with minor changes to maximise compatibility with older Unity versions, 2017.4 and up.

What's in this version?
* not included in Compatibility release

Added

  • Search should search commands, not just block names (#775). Thanks to AcademyOfF
  • Debug additions (#777) righclicking context menus additions and improvements on commands, blocks, and variables
  • BlockCallers can be seen within the block inspector
  • Variable referencers can be seen logged to the console
  • *Added a custom script importer for lua files. Thanks to Matthew Barnes
  • *Added Asmdefs
  • Fungus Editor Prefs button to locate FungusEditorResources and changelog

Fixed

  • Defines and fallbacks for 2017 and 2018 (#781)
  • CommandListAdapter sync command selection bidirectionally with selection in underlying reorderablelist
  • Command text with 'Error:' shows red
  • HighSpeedWriterFix; corrected rate of characters and more than 1 character per frame issue.
  • FilterBlocks during SceneChange, now refresh as expected
  • Command and Variables outside of Fungus assembly now locate
  • Character selection preventing edits bug
  • Restore Edit Mode Tests

Changed

  • FungusManager.cs Use "double checked locking" algorithm to implement the singleton for "FungusManager" class, which can improve performance. Thanks to AndyHan1001
  • CommandSearchHeightFallback on some versions of Unity editor inspector height is not returning correctly so we make an educated guess if it seems unreliable
  • More elaborated use of text in TMPro demo
  • Block Inspector forces type at creation. Thanks to Michaelwolf95
  • Warning when requesting menu elements that are not avaialble, such as more menu items that you have created.
  • Fungus Docs can now generate in github markdown format
fungus - Fungus v3.12.0-rc1

Published by stevehalliwell almost 5 years ago

Release Candidate for 3.12.0

fungus - Fungus v3.11.5

Published by chrisgregan over 5 years ago

Fixed

  • Mushroom icon for the inspector moved in 2019 as to not overlap the new visibility toggle Unity has added. #745
  • FlowchartWindow MutliSelect now more strictly manages selectedness #744
  • Portrait sprite issue in Unity 2019 #743

Changed

  • Experimental Searchable menus are now enabled by default #746
fungus - Fungus v3.11.4

Published by chrisgregan over 5 years ago

Changed

  • Updated project to Unity 2019.1.0f2
  • Updated to .NET 4.x
  • Updated reference docs
fungus - Fungus v3.11.3

Published by stevehalliwell over 5 years ago

Fixed

  • Additional null checks around Flowchart.selectedBlocks and Flowchart.selectedCommands.
fungus - Fungus v3.11.2

Published by stevehalliwell over 5 years ago

Fixed

  • Inconsistent static list caching in editor that was resulting in inability to use Fungus menus.

Changed

  • Spacing in debug output related to Block find and execute warnings and failures.
fungus - Fungus v3.11.1

Published by chrisgregan over 5 years ago

Fixed

  • Compile error in Unity 2018.3.6f1
fungus - Fungus v3.11.0

Published by chrisgregan over 5 years ago

Added

  • SetSprite: changes the image on the SpriteRenderer of one or more GameObjects
  • SetUIImage: changes the image on the Image of one or more GameObjects (Joerg Burbach)
  • Commands to store FungusVariable.ToString into a StringVariable and to parse a string into an Int or Float FungusVariable

Fixed

  • #729 VariableEditor popup name and key concat no longer has spaces, allows the PopUp to correctly nest items with the same parent
  • #732 BlockInspector correct top panel height in 2018_3 BlockEditor only force unique name if it has changed
  • BlockInspector and BlockEditor changes to display correctly in 2019.1.0a13

Changed

  • #728 FlowchartWindow performance for 100s of blocks
  • #727 Support use of TMPro in Set Text, Get Text and Narrative Log Menu commands
  • #733 Command can now cache a list of referenced variables that are checked by the variablelistadapter for highlighting
  • Flowchart can identify add variables found via the substitute regex
  • Commands that use SubstituteVariables on their string data use the new caching method so they can highlight variables that will be used during substitution
  • #733 HasReference added to many commands that lacked them or had only partially checked vars
fungus - Fungus v3.10.0

Published by chrisgregan almost 6 years ago

Added

  • #725 Added Stop Then Call mode in Call command. Stops the calling Block immediately, instead of waiting a frame.
  • #718 Say and Menu dialogs now support TextMeshPro directly
    • TextMeshPro demo scene - A default say dialog but with TextMeshPro Text UI elements in place of uGUI Text
    • A default menu dialog but with TextMeshPro Text UI elements in place of uGUI Text
    • TextAdapter can be asked to include children in text output search MenuDialogue now uses TextAdapter rather than assuming UI.Text
  • #720 Variable reference allows for selecting a flowchart a targeting a specific fungus variable for use from c#
  • #705 Added FirstPersonDemo examples
  • New audio commands: Play Ambience Sound, Stop Ambience Sound, Play Random sound.

Fixed

  • #717 Control Audio > Play Loop volume is always 1
  • #723 Unity 2018.3 Warnings
  • #711 Beeps in WriterAudio ignores last sound in array
  • PLay Sound Effect volume is now independent of Set Music Volume setting
  • Correct width calc on smaller width inspectors
  • #708 Specifically identify choice blocks as hexagons in documentation

Changed

  • #721 Conversation text can now contain colons within the text body itself
  • #719 Change FlowchartMenuItem.SpawnPrefab to GameObject.Inst rather than PrefabUtil to avoid exception modifications.empty
  • #709 Command searchable pop up
    • Added Fungus Preferences setting to enable Searchable PopupMenus
  • #694 Adding Random Sound Command and Ambiance Sounds - thanks to Hector Castelli
  • #704 Replaced Rotorz Reorderable List with Unity's InternalReorderable list
  • ExceuteOnEvent dropdown is searchable -can double click to circumvent the search drop down -can remove event by setting None -use search similar to add command method