- Use
usePreference
to manage preference easier
image.setTags
image.setPosition
- Utility component:
Full
usePreference
hook
Player
component now doesn't require astory
prop
- Game Events
- Use
scene.local
to store temporary data - Custom cursor
- SceneConfig
invertY
is nowtrue
by default
- Event:
event:character.prompt
- Event:
event:menu.choose
- Some utility functions for
Persistent
andTransform
- Use a handler to set persistent data
scene.local
to store temporary data- Custom cursor and cursor style
- Game
onReady
handler runs twice
- 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
- Image constructor signature has changed. Now the first argument must be a config object.
- 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)
- Image preloader now stores images in stack, so the lib can easily control the process of preloading/unloading images
- Better signatures for
Condition
- Shorthand for
character.say
- Tag function signature for
character.say
- Position utils position incorrect
- Auto-forward mode
- Components Utils
- 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
andHBox
to create a vertical or horizontal box of elements
- Wearable API: Now you can add wearable images to an image, child image will be rendered relative to the parent image.
- Throw error when deserializing a game state with image state
- Wearable API
- auto scale for displayable elements
- element inspector
- Menu position incorrect
- image position incorrect when transitioning
- "No scope found" when inspect mode is disabled
- some type errors
- auto scale for displayable elements
- element inspector
game.config.player.width
andgame.config.player.height
cannot be string anymore
- Image scale incorrect when resizing the stage
- Image transform position incorrect
- throw error when color is not in correct format
- image disappear during transition
- text skipping does not work correctly
- 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
- Transform Animation does not wait for the previous animation to finish
- Text dialogues cannot have newline
- 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 aCharacter
instance. If you want to specify it, use sentence config instead - Rename
CommonImage
toCommonDisplayable
- Refactor
Image.tsx
,BackgroundTransition.tsx
andText.tsx
. - Use
IImageTransition
instead ofITransition
- 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 toControl
- 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
ColoredSentence.tsx
is deprecated, useSentence.tsx
instead
- Image animation does not work correctly when using
yoffset
and `invertY
- Constructing story will enter cycle and cost unexpected time. See story.ts #Story.prototype.constructStory
- Skipping text does not show the complete text
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
scene.backgroundImageState
is deprecated, usescene.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
andliveGame.serialize
now does not require a gameState instance
- Hot reset and hot saved loading
liveGame.newGame
now required a gameState instance- Deprecated
GameConfig.version
- Add some instances to
PlayerEventContext
- Now player mounted events are called in microtask
- New game does not reset the game state
- Positions cannot handle number 0
- Components does not flush after applying transformations
- Webkit style support
- Changed some interfaces for sound
- Removed support for id of constructable elements
- Scene background transitions is not working
- Changed some interfaces
- Initial release