- Default page position (reset every time player enters a Room)
- Option to auto-center the choose menu
- Moved continue and manual pan icons to bottom left
- Refactored page rect calculations to avoid redundant code
- Added manual pan to example room
- There is now only one Page game object. It is created automatically
by the Game class on startup.
- To control Page layout, use the new SetPageTop(), SetPageMiddle(),
SetPageBottom(), SetPageRect() & SetPageBounds() commands.
- You can still specify Page layout in the editor using the new
PageBounds script & prefab, using the SetPageBounds() method.
- Replaced Game.mainCamera with built-in Camera.main
- Added StoreView() and PanToStoredView()
- Game class now handles rendering fade texture (instead of
CameraController)
- Game class handles rendering pan / continue icons
- Added new StartManualPan() and StopManualPan() commands to manually
pan between 2 views
- Removed continueStyle class & prefab (replaced by continue icon
rendering)
- Removed Game.activeView as it’s not needed
- Parallax factor can now be controlled in X & Y
- Reorganised command classes
- Added PanToPosition() command
- Pages now default to display full-size at bottom of screen.
- Changed Page.VerticalAlign to Page.Layout and provided better options
for controlling how the page automatically resizes.
- Added ContinueStyle component and prefab to control appearance of
continue button
- Can control continue button position on screen and padding from
screen edge.
- Added Game.continueStyle property
- Buttons now have a Button component at design time
- The Button.autoHide property controls automatic hiding when
displaying page text / waiting
- The Button.hideOnFlag property controls hiding when a named flag
value is set to true
- Added Button prefab asset
- Added default Button sprite texture
- Auto Buttons stay hidden while executing wait commands
- Added WaitForInput() command to wait for a click/tap/keypress
- Replaced click sound with a quieter version
- Added Button example room
- New AddAutoButton() method to make buttons which automatically
show/hide depending on game context.
- Added a fadeButtonDuration property to Game
- Added a button click sound effect
- Added CC button icon images to example project
Links now appear as large buttons
Option row colours now change on alternate rows
Switched to a more readable font
Added an separate continue button in bottom right
Can now set the Game.activePageStyle property to control the currently
active Page rendering style.
Added a SetPageStyle() command to set the style in a command sequence.
Added 2 PageStyle prefabs assets.
Renamed Room classes to be consistent.
- Added GameController facade class to hide complexity and provide a
single place to access all Fungus functionality
- Removed existing facade methods on Game (redundant)
- Removed Room.OnLeave (not necessary, and possibly dangerous)
- Renamed AnimationListener.OnAnimationEvent() to CallRoomMethod (more
descriptive).
- Button component will now use existing Collider2D if one exists.
- Game component now manages CameraController configuration
- Game now adds CameraController and CommandQueue at runtime instead of
in editor (less user configuration)
- CommandQueue now owns the methods for executing command methods
- Added StringTable class to manage key/string lookups
- Moved SubstituteStrings() and FormatLinkText() to new StringTable
class
- Room.Enter() method is now private to hide implementation details
- Updated example project to match changes