Releases: technix/atrament-core
Releases · technix/atrament-core
@atrament/core 2.0.0
- Persistent variables with
#persist
global tag - Game sessions: subsets of autosaves, saves, and checkpoints
- New save management (warning: not backwards-compatible with 1.x)
- Paragraph-by-paragraph mode with
#continue_maximally: false
global tag - Internal scene processors for
#IMAGE
and#UNCLICKABLE
tags - New methods:
- atrament.ink.resetStory
- atrament.ink.onError
- atrament.ink.getVariables
- atrament.game.restartAndContinue
- atrament.game.getSaveSlotKey
- atrament.game.saveCheckpoint
- atrament.game.saveAutosave
- Improved observer registration, ink state loading and handling
- Several minor bug fixes
@atrament/core 1.3.0
- Multiple background music tracks support with PLAY_MUSIC/STOP_MUSIC
- Correct handling of multiple sound-related tags
- New methods:
atrament.game.getAutosaveSlot
,atrament.game.getCheckpointSlot
@atrament/core 1.2.2
- fix music handling on clear
- parse choice tags
@atrament/core 1.2.0
- New sound tag system:
PLAY_SOUND
: play sound once.STOP_SOUND
: stop playing sound by name, or stop playing all sounds.PLAY_MUSIC
: play background music, looped.STOP_MUSIC
: stop playing background music.
@atrament/core 1.1.0
- changed
loader
interface API:getAssetPath
is part of aloader
interface- added async
loader.init
function to initialize loader (needed for file-based loaders) - changed method name from
loader.load
toloader.loadInk
game.init
is now asynchronous- added unique IDs for
scene
objects,scene.uuid
sound
interface is now optional - if it is not explicitly defined, game will ignore sound tags- use getters for
atrament.interfaces
,atrament.state
, andatrament.store
- trigger events at the action end
- update build dependencies
@atrament/core 1.0.0
Initial release of @atrament/core
.
Atrament 0.5.0 "Waituhi"
- added 'goto' method
- makeChoice is no longer a promise
- update docs