Steve Halliwell
ebc7d2bed9
AndyHan1001 Update FungusManager.cs
...
Use "double checked locking" algorithm to implement the singleton for "FungusManager" class, which can improve performance.
5 years ago
desktop-maesty/steve
63452ec3d5
Remove GetLocation overrides, base class implementation suits
5 years ago
Steve Halliwell
9488ba99d9
Debug additions ( #777 )
...
* Flowchart block selectedness now only modified by Block.Execute at runtime
Blocks can suppress auto-selection in flowchart window due to execution
Events can suppress auto-selection in flowchart window by activation
Variable returns value as object
Flowchart rightclick menu commands for interacting with blocks
Right click menu for variable list for add, rmove and sort
Add IVariableReference
Add DebugBreak command, also useful for attaching IDE breakpoints to
* IBlockCaller now uses IStringLocationIdentifier
5 years ago
AcademyOfF
902a3b3ecb
Search should search commands, not just block names ( #775 )
...
Search searches command content, not just block names
- Commands default to returning their summary content as the searchable content
5 years ago
desktop-maesty/steve
b1f01b68f9
Writer only calc invWritingSpeed once we know writing speed is non zero
5 years ago
desktop-maesty/steve
89381e1a91
Force FlowchartWindow and BlockInspector to be refreshed when moving between and playmodes in editor
...
-and restore selected blocks from edit, to play, back to edit
5 years ago
desktop-maesty/steve
2b8d0cd87e
Writer character delay counter modification
...
- more consistent character pacing
- prevents the 1 character per frame limit, fixed by timer increment after return from yield
5 years ago
desktop-maesty/steve
ff3306143e
Added warnings when MenuDialog
...
-Menu item requested when there are non left
-Timer requested when none is available
5 years ago
Steve Halliwell
c0667c824f
Portrait 2019 fix ( #743 )
...
Use overrideSprite instead of sprite on UIImages
5 years ago
desktop-maesty/steve
206f5db892
Enforce Flowchart selectedBlocks and selectedCommands collections are not null
6 years ago
desktop-maesty/steve
0d4b5bae00
Additional null checks around Flowchart.selectedBlocks and Flowchart.selectedCommands
...
-Nulls are getting into these collections in error. Seems to be due to SelectedBlocks serialising and not being refreshed correctly when something is deleted or removed outside of FlowchartWindow's control or a lingering null from a previous version.
Updated Changelog
6 years ago
ArkAngel Apps
cced139c2c
Missing space in log statements
6 years ago
ArkAngel Apps
954039bbef
Added space in block name does not exist string.
6 years ago
desktop-maesty/steve
c21a39a886
Corrected UNITY_EDITOR define usage in flowchart and block
6 years ago
desktop-maesty/steve
e73121ea5c
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
6 years ago
desktop-maesty/steve
fd936ee06e
FlowchartWindow tracks selected command changes and force repaints
6 years ago
desktop-maesty/steve
27b84d0116
Support use of TMPro in Set Text, Get Text and Narrative Log Menu via use of TextAdapter
...
FadeUI also checks for CanvasGroups and if 2018_1_OR_NEWER will check for TMP_Text also
TextAdapter uses 2018_1_OR_NEWER for more thorough support of TMPro such as color and rich text operations
6 years ago
Chris Gregan
01e89455a5
Update MusicManager.cs
...
Fixed Play Sound volume being scaled by Music Manager music volume.
6 years ago
desktop-maesty/steve
b4588f17b0
FlowchartWindow Variable list perfermance Improvements
...
- changes cause repaint of flowhcart window
- Var list drawing performance improvements, cache styles and widths
6 years ago
desktop-maesty/steve
f46174a419
Flowchart Window control selection rework to maintain consistent usage still with less Contain calls
6 years ago
desktop-maesty/steve
7b4aaea648
FlowchartWindow refactored Selected Block drawing to avoid O(2N) .Contains calls
...
Added a testing scene for editor performance, for many blocks on 1 flowhcart
6 years ago
desktop-maesty/steve
af10b34557
New Call mode, StopThenCall
...
Allows for circumstances where you want to call a block that completes immediately multiple times such as in recursion.
Removes the need to put Wait 1 Frame commands in a number of cases
More verbose logging in cases where a block cannot be called as it is already running
6 years ago
desktop-maesty/steve
9dd37ee7f7
FlowchartWindow performance for 100s of blocks
...
Blocks now track their selectedness and filteredness to avoid hundreds of contains calls every Draw
Only recalculate filtered collection and total blocks on flowchart when a change has occured
6 years ago
desktop-maesty/steve
d79e4d6556
Conversation text can now contain colons within the text body itself
...
Minor change to Conversation regex grouping
Added Conversation Tests for existing functionality and multi colon
-Conversation Parse refactor to allow for static testing
Moved all regex strings across fungus to const strings
6 years ago
desktop-maesty/steve
311e7b4084
Fix #710
6 years ago
desktop-maesty/steve
9fcd21de77
TextAdapter can be asked to include children in text output search
...
MenuDialogue now uses TextAdapter rather than assuming UI.Text
6 years ago
desktop-maesty/steve
1c1f84dea5
Added TMPro Basics
...
Refactored text access methods in Writer and Say dialogs to a common TextAdapter
CustomSayDialogs now use some TMPro
6 years ago
Hector Castelli Zacharias
522b2d44d6
Fixed issues where there woudln't be enough audio sources for the ambiance. Added Stop Ambiance command.
6 years ago
Hector Castelli Zacharias
f0813d4aae
Fixed naming issues in ambience audio.
6 years ago
Hector Castelli Zacharias
1cfce972b6
Added new command: Play ambience sound. (overlayed over music, can be looped)
6 years ago
desktop-maesty/steve
6bf5d63891
TextVariationHandler selects sub sections of text within [|] following some simple rules and keeps a hashed history
...
- a la Ink
Writer and Menu make use of TextVariation
6 years ago
desktop-maesty/steve
57a688f320
ElseIfs now confirm that the previous condition was at the same indent as themselves.
...
-Corrects elifs from pairing incorrectly with nested ifs prior to themselves
-Thanks to Wolfrug on the forum http://fungusgames.com/forum#!/support-questions:if-else-bug
7 years ago
desktop-maesty/steve
bcadf28bef
NarrativeLog is tolerant of null Name or Story fields
...
-previously caused nullref in TheFacility Demo Scene
7 years ago
desktop-maesty/steve
a7fe939981
Update LeanTween to 2.46
...
PortraitController forces alpha and color tweens to be non recursive.
7 years ago
desktop-maesty/steve
46de711460
Prevent eventhandlers no longer when the flowchart is disabled as per #679
7 years ago
desktop-maesty/steve
a36abc5a80
Added Fungus Signals for MenuDialog becoming active or inactive
7 years ago
Jorge Ramirez
673b3166a3
Refactor set variable system, add setting of GameObjects
...
The intent of this refactor is to reduce boilerplate code in the SetVariable.cs and
SetVariableEditor.cs files. Additionaly, the intent is to move variable specific
information from the SetVariable.cs file into the Variable.cs and the respecting
variable type files.
7 years ago
Chris Gregan
f339774679
Added Flowchart.HasBlock() and ExecuteIfHasBlock()
7 years ago
Chris Gregan
0b0776d775
Fixed repeat play of music
7 years ago
Jorge Ramirez
834a4c44a3
Add nested Save Menu error message
7 years ago
Jorge Ramirez
78791cfb8c
Add protection against infinite load loop
...
This protects against an infinite loop for situations where DontDestroyOnLoad doesn't work.
7 years ago
desktop-maesty/steve
b61a918075
Fix bug found by @FatPuzo by force returning local value on global variables when their value is requested outside of play mode
7 years ago
desktop-maesty/steve
a9dc553c49
Added GlobalVariables
...
-'Global' variable scope
-Access is routed at runtime through the GlobalVariables manager attached to the FungusManager
7 years ago
desktop-maesty/steve
be66286822
Removed ShowVariables bool, just showing the variables in the fungus flowchart inspector always
...
Adjusted Reorderable draw logic to draw even if there are no items in there so we get it showing the variables header.
7 years ago
desktop-maesty/steve
fb5c174152
Added TextTag WVO WaitForVoiceOver
...
Say has a Wait For VO flag to add wvo text tag like it does the wi tag
Added SayHolds demo scene to show how the combinations of waits interact
7 years ago
desktop-maesty/steve
4375852e4b
Remove hidevariablesInInspector from FungusEditorPrefs as per feedback
...
Shorten ShowVariablesInInspector as per feedback
7 years ago
desktop-maesty/steve
0b81c75e2e
Added ability to show variable list in the Flowchart Inspector
...
-Refactored DrawVariablesGUI
-Added bool to FungusEditorPreferences, that hides the variable list in the flowchart inspector
7 years ago
desktop-maesty/steve
ffa5b2d189
Added MenuShuffle Fungus Command and a demo scene
...
-refactor menudialogue to track items that are hidden
Menu Fungus Command now has a hideThisOption boolean
Updated narrative_commands doco to match
7 years ago
desktop-maesty/steve
67805f7e3f
Flowchart now registers and unregisters from SceneManager in OnEnable and OnDisable respecitvely
...
Localization now registers and unregisters from SceneManager in OnEnable and OnDisable respecitvely
7 years ago
desktop-maesty/steve
b209d4fcd2
Allow multiple CommandInfos to be added to a class
...
SpawnObject can now also be found under GameObject/Instantiate
7 years ago