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
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
Christopher
467ea81f02
Button interactable state updates based on save data state
8 years ago
Christopher
f6fe5885c4
Click sound when buttons are clicked
8 years ago
Christopher
e0dca84770
Refactored save key and save description variable names. Added check for duplicate save keys.
8 years ago
Christopher
2984418056
SaveGameHelper starts a new game by calling SaveGameLoaded event handler with 'new_game' key.
8 years ago
Christopher
6e860053f5
Simplified save system to not use slots. A full history of save points is stored, and user can rewind to previous save points.
8 years ago
Christopher
b230acf506
Updated slot picking
8 years ago
Christopher
5c7ca33cd0
Added SavePicker dialog
8 years ago
Christopher
6b16b494e6
Renamed SaveHelper to GameSaver
8 years ago
Christopher
cb95ccc760
Refactored SavePointData to support multiple flowcharts
8 years ago
Christopher
a9600010bf
Added save description field
8 years ago
Christopher
c0b3256df1
Refactored SavePointData classes
8 years ago
Christopher
881c1259bf
Refactored event handler names and categories
8 years ago
Christopher
71c2b4e357
Added Game Loaded event handler and save key.
8 years ago
Christopher
74a243ad12
Start Label property in Call command
8 years ago
Christopher
b642fb5522
Loading of saved data
8 years ago
Christopher
0c84493c0e
Updated SaveSystem
8 years ago
Christopher
d52fe2ef11
Option to Close Other Say Dialogs when one Say Dialog becomes active.
8 years ago
Christopher
8d38ea62a7
Fixed onComplete callback in MusicManager.SetAudioVolume when duration is 0
8 years ago
Zach Vinless
7445700fa4
Removed selectedBlock and changed multi-select editor message
...
-Removed selectedBlock and removed update code copying it into
selectedBlocks
-Changed BlockInspector display message when multiple blocks are
selected
8 years ago
Christopher
e9aa381f20
Fixed Fungus ignores existing “SayDialog” and creates another one #555
8 years ago
Zach Vinless
3afcc68001
Added multi-select feature for blocks in flowchart window
...
-Added multi-select support via action key/shift+click and click+drag
-Block movement and context menu options now affect all selected blocks
-Flowchart’s SelectedBlock property now refers to the active selected
block rather than the sole selected block. It works similarly to
Unity’s Selection.activeObject
-Bumped flowchart version to 2 to upgrade previously serialized
selected blocks to new format (now a list of blocks rather than a
single block)
8 years ago
Zach Vinless
b24d670d9c
Added support for custom block tint colors
...
Custom block tints can now be toggled per block in the block inspector.
Default tints have been added to approximate the existing color scheme.
Also, the image resources previously encoded as Base64 in
FungusEditorResources have now been added to Resources/Textures and are
loaded from there instead.
8 years ago
Christopher
16e4ba425f
Added accessors for GameObject and Transform variables in Flowchart.cs
8 years ago
Chris Gregan
cdfcd2f1c3
Fixes for compile errors on .NET Core
...
Still has problems running Lua though.
8 years ago
Christopher
cdb3596a62
SayDialog now supports full variable substitution when setting character names.
8 years ago
Christopher
54395b6920
Added HasVariable() and GetVariableNames() - thanks murnyipl!
8 years ago
Christopher
f6772fbc5d
Added Writer.Paused property to pause a writer from code.
8 years ago
Chris Gregan
09b23d5f68
Fixes for integration tests running on Windows.
8 years ago
Christopher
4068b0bee0
Fixed Say command completes instantly after menu choice #533
8 years ago
Christopher
1ba09f25e8
Converted (most) foreach to for statements. Avoids an allocation for the loop iterator.
8 years ago
Christopher
3510fc7f9a
Converted all foreach statement to act on simple variables.
8 years ago
Christopher
8bdfb2396c
Fixed Say command completes instantly after menu choice #533
8 years ago
Christopher
060b7b46a2
Reverted Fungus sub namespaces as they were breaking backwards compatibility. Kept the Fungus.EditorUtils namespace though as it doesn't affect compatibility.
8 years ago
Christopher
44aade812b
Changed float comparisons to use Mathf.Approximately
8 years ago