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
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
desktop-maesty/steve
2b4761c6b5
SaveManager now uses json files in a FungusSaves sub directory for all platforms but webplayer & webgl which still use playerprefs
7 years ago
Chris Gregan
ad8b13862a
Added SpeakingCharacter property to SayDialog
7 years ago
Brahim Hadriche
e58c910b69
fixes #612
7 years ago
Christopher
b8a96bef8a
Fixed Localization only localizes character name, not story text #611 , #614
...
Wasn’t able to replicate this, but I think it was an issue around
caching SubstitutionHandlers. I’ve changed this system to use a static
list that each substituter registers / unregisters with on OnEnable /
OnDisable. Should be more robust now.
8 years ago
Christopher
64d3648fdc
Fixed Save Menu: clicking to left of collapsed menu clicks hidden buttons #615
8 years ago
Christopher
05bf42fdd7
Stop a named Block in a Flowchart
8 years ago
Christopher
68bec7e593
Added getter to FadeWhenDone property
8 years ago
Conrad Kreyling
56b86c20ca
Make additional methods in SayDialog virtual
...
Makes the following methods virtual in SayDialog:
- Awake
- OnDestroy
- GetWriter
- GetCanvasGroup
- GetWriterAudio
- Start
- OnEnable
8 years ago
morningfungame
0cc280cddb
Add portrait DimColor
8 years ago
Christopher
b4ebe88bb3
Fixed SayDialog not caching all Substitution Handlers when enabled #599
8 years ago
Christopher
6f9385cc22
Fixed Write command "Clear Text" option not working #594
8 years ago
Christopher
9dd801d0f7
Support use of \n newline character in Say and Conversation text
8 years ago
Christopher
d4b0f45ade
Added Delete Save Data button to Save Menu inspector.
8 years ago
Christopher
284f408ef5
Updated docs for Save Data Key
8 years ago
Christopher
7294c7810e
Exposed Save Data key to support multiple game save files in the same project
8 years ago
Christopher
6b5eff338d
Fix for start point not being executed on startup.
8 years ago
Christopher
19edf578d7
Fixed centered text shifts position when written by Say command #569
8 years ago
Christopher
1e067a01fa
Fixed Say text appears for single frame when using Say command #575
8 years ago
Christopher
211b197f77
Fixed using say in lua doesn't automatically spawn an EventSystem #571
8 years ago
Christopher
418545f706
Refactored recent EventDispatcher and drag handler changes to match Fungus coding standard.
8 years ago
Christopher
85634f969a
Disabled SaveManager functionality for older versions of Unity. Works with Unity 5_3_OR_NEWER.
8 years ago
Christopher
8d23d6c136
Refactored SavePointData to store saved data in strings (via SaveDataItem). This removes the dependencies on the Flowchart or FlowchartData and makes it easier to extend the supported data types.
8 years ago
Christopher
d11df62faf
Added autosave option (off by default).
8 years ago
Christopher
db7f71dee2
Removed resume at Label. It's a bit hacky and kinda redundant.
8 years ago
Christopher
9c46bef317
Moved start scene property to the SaveManager
8 years ago
Christopher
2df05682b9
Renamed SavedObjects to SaveData. Added support for multiple SaveDatas in a scene.
8 years ago
Christopher
01867ce390
Changed Save Points to use an explicit IsStartPoint property instead of using magic 'Start' block name.
8 years ago
Christopher
fd98c2b2b6
Renamed Resume From Here to Resume On Load
8 years ago
Christopher
b03cdcac11
Refactored scene start code to be handled exclusively by SaveManager. Added save history debug view.
8 years ago
Christopher
a3ebe0e75e
SavePoint now handles starting Flowchart execution for 'normal' scene loads. Use a Save Point with key 'Start' for the first Block to be executed in every scene.
8 years ago
Christopher
6c18c17bd9
Moved ExecuteBlocks to SaveManager class. Save Point command can now optionally fire Save Point Loaded events.
8 years ago
Christopher
d2444982dc
Improved save game example. Save Point Loaded now handles multiple keys.
8 years ago
Christopher
8081e43f5c
Updated comments for Save System.
8 years ago
fjruizpo
77cd77d154
Register DragCompleted handler to Draggable2D instead of finding all instances in the scene.
8 years ago
fjruizpo
4b50ab40a6
Change Draggable2D and Clickable2D to use the new EventDispatcher calls for events.
8 years ago
fjruizpo
7341accbbe
Add unity messages propagation to EventHandler class.
8 years ago
Christopher
0c27baca7b
SaveMenu is now a singleton game object. SaveGameObjects manages mapping to saveable game objects.
8 years ago
Christopher
51004f9bfd
Fast Forward button
8 years ago
Christopher
3f1900d002
Hide / show save menu
8 years ago
Christopher
923a054a26
Save menu button
8 years ago