Skip to content

Latest commit

 

History

History
285 lines (184 loc) · 6.34 KB

CHANGELOG.md

File metadata and controls

285 lines (184 loc) · 6.34 KB

Changelog

[0.2.3]

Feature

  • Use usePreference to manage preference easier

Added

  • image.setTags
  • image.setPosition
  • Utility component: Full
  • usePreference hook

Updated

  • Player component now doesn't require a story prop

[0.2.2] - 2024/12/02

Feature

  • Game Events
  • Use scene.local to store temporary data
  • Custom cursor

Incompatible Changes

  • SceneConfig invertY is now true by default

Added

  • Event: event:character.prompt
  • Event: event:menu.choose
  • Some utility functions for Persistent and Transform
  • Use a handler to set persistent data
  • scene.local to store temporary data
  • Custom cursor and cursor style

Fixed

  • Game onReady handler runs twice

[0.2.0] - 2024/11/29

Feature

  • Assign voice using generator or voice map
  • Use image.tag to manage image src
  • Use displayable actions to reorder layers
  • Better image preloading
  • Scene config inheritance
  • Use the scene name to jump between two cross-referenced scenes
  • Use Persistent to manage persistent data

Incompatible Changes

  • Image constructor signature has changed. Now the first argument must be a config object.

Added

  • Voice map generator
  • Image tag src management
  • Displayable actions
  • Layer actions
  • Disable image auto initialize using image.config
  • Quick image preloading only preloads images when needed
  • Use scene.inherit to inherit scene config
  • Use the scene name to jump between two cross-referenced scenes
  • Persistent data management (storable actions wrapper)

Updated

  • Image preloader now stores images in stack, so the lib can easily control the process of preloading/unloading images
  • Better signatures for Condition

[0.1.7] - 2024/11/16

Feature

  • Shorthand for character.say

Added

  • Tag function signature for character.say

Fixed

  • Position utils position incorrect

[0.1.6] - 2024/11/13

Feature

  • Auto-forward mode
  • Components Utils

Added

  • Auto-forward mode
  • game.preference
  • Configure text skipping using preference
  • Position Utils: use some utility components to position elements. For example, you can use Top.Left component to create your quick menu
  • Use VBox and HBox to create a vertical or horizontal box of elements

[0.1.5] - 2024/11/05

Feature

  • Wearable API: Now you can add wearable images to an image, child image will be rendered relative to the parent image.

Fixed

  • Throw error when deserializing a game state with image state

Added

  • Wearable API

[0.1.3] - 2024/10/29

Feature

  • auto scale for displayable elements
  • element inspector

Fixed

  • Menu position incorrect
  • image position incorrect when transitioning
  • "No scope found" when inspect mode is disabled
  • some type errors

Added

  • auto scale for displayable elements
  • element inspector

[0.1.2] - 2024/10/24

Incompatible Changes

  • game.config.player.width and game.config.player.height cannot be string anymore

Fixed

  • Image scale incorrect when resizing the stage

[0.1.1] - 2024/10/23

Fixed

  • Image transform position incorrect
  • throw error when color is not in correct format
  • image disappear during transition
  • text skipping does not work correctly

[0.1.0] - 2024/10/23

Feature

  • specify the voice of each sentence
  • show text on the screen using Text element
  • use pure color as background
  • animate font size and color of text
  • dynamic dialogue text evaluation
  • newline support for character dialogues
  • ruby text support
  • pause text when the character is speaking

Fixed

  • Transform Animation does not wait for the previous animation to finish
  • Text dialogues cannot have newline

Changed

  • changed constructor signature of Sound
  • changed signature of character.say
  • refactored sound management
  • changed signature of the constructor of Sentence, now it does not require a Character instance. If you want to specify it, use sentence config instead
  • Rename CommonImage to CommonDisplayable
  • Refactor Image.tsx, BackgroundTransition.tsx and Text.tsx.
  • Use IImageTransition instead of ITransition

Added

  • Added voice support
  • Added lock for liveGame.next
  • Added sentence.copy
  • Added character.setName
  • Added Text element
  • Added Support of pure color background
  • Added sleep method to Control
  • Added transition support for Text
  • Configurable skipping options
  • Evaluate sentence text in runtime
  • newline support for Say
  • more customization for dialogue text
  • ruby text support
  • pause text when the character is speaking

Deprecated

  • ColoredSentence.tsx is deprecated, use Sentence.tsx instead

[0.0.5] - 2024/10/06

Fixed

  • Image animation does not work correctly when using yoffset and `invertY

[0.0.5-beta.1] - 2024/10/04

Fixed

  • Constructing story will enter cycle and cost unexpected time. See story.ts #Story.prototype.constructStory
  • Skipping text does not show the complete text

[0.0.4] - 2024/10/01

Fixed

  • liveGame.newGame does not reset the game state
  • deserializing does not trigger repainting
  • Some methods in Control are working incorrectly
  • Some image components cannot update correctly

Changed

  • scene.backgroundImageState is deprecated, use scene.backgroundImage instead
  • Now applying of transformations and transitions are separated, you can now apply both at the same time
  • Deprecated contentNode.initChild
  • liveGame.newGame, liveGame.deserialize and liveGame.serialize now does not require a gameState instance

[0.0.3] - 2024/10/01

Added

  • Hot reset and hot saved loading

Changed

  • liveGame.newGame now required a gameState instance
  • Deprecated GameConfig.version
  • Add some instances to PlayerEventContext
  • Now player mounted events are called in microtask

Fixed

  • New game does not reset the game state
  • Positions cannot handle number 0
  • Components does not flush after applying transformations

[0.0.3-beta.1] - 2024-09-30

Added

  • Webkit style support

Changed

  • Changed some interfaces for sound
  • Removed support for id of constructable elements

Fixed

  • Scene background transitions is not working

[0.0.2] - 2024-09-30

Added

  • Changed some interfaces

[0.0.1] - 2024-09-29

Added

  • Initial release