Skip to content

Fungus v1.3.0

Compare
Choose a tag to compare
@chrisgregan chrisgregan released this 25 Apr 20:36
· 2537 commits to master since this release

New Page layout commands

  • SetPageTop(), SetPageMiddle(), SetPageBottom() for common Visual Novel-style layouts
  • Use SetPageRect() to specify Page layout in code
  • Use SetPage() command and Page object for precise visual editing when needed
  • Added option for Pages to display full-size or auto-shrink to fit content

Improved camera commands

  • New methods for storing and restoring current camera view
  • Use StoreView() to store the current camera position
  • Use PanToStoredView() to return to a previous camera position
  • Added PanToPosition() to move camera to an arbitrary world position

Player input icons

  • The continue button has been removed
  • A Continue icon is displayed whenever the player has to tap to continue
  • A swipe-to-pan icon is displayed whenever swipe-to-pan is active

Swipe-to-pan support

  • Use StartManualPan() to allow player to pan around scene by swiping
  • Use StopManualPan() to disable swipe panning
  • Swipe panning is automatically stopped when SetView(), PanToView(), etc. is called

New Parallax Scrolling support

  • Attach the Parallax script to any sprite to apply a parallax offset effect
  • Added a Parallax Scrolling example Room to the example game

Misc improvements

  • New Game class properties to control icon placement and default Page layout
  • Replaced Title() command with SetHeader() and SetFooter()
  • Added auto hide timer for buttons
  • Changed delayed text writing to use a more reliable method
  • New SetString() and GetString() commands to store global string values
  • Auto-hide buttons now visible at game launch

Backwards compatibility notes

  • Removed the automatic activation of Page objects when you enter a Room
  • To use the rect defined by a Page object, you must now use the SetPage() command
  • Title() has been deprecated, use SetHeader() & SetFooter() instead