Skip to content

Releases: technix/atrament-core

@atrament/core 2.0.0

25 Aug 14:10
Compare
Choose a tag to compare
  • 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

28 Jul 20:55
Compare
Choose a tag to compare
  • 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

25 Jun 21:29
Compare
Choose a tag to compare
  • fix music handling on clear
  • parse choice tags

@atrament/core 1.2.0

21 May 14:39
fbfbaee
Compare
Choose a tag to compare
  • 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

05 May 13:39
2e9ecd2
Compare
Choose a tag to compare
  • changed loader interface API:
    • getAssetPath is part of a loader interface
    • added async loader.init function to initialize loader (needed for file-based loaders)
    • changed method name from loader.load to loader.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, and atrament.store
  • trigger events at the action end
  • update build dependencies

@atrament/core 1.0.0

21 Sep 08:22
Compare
Choose a tag to compare

Initial release of @atrament/core.

Atrament 0.5.0 "Waituhi"

19 Dec 21:00
Compare
Choose a tag to compare
  • added 'goto' method
  • makeChoice is no longer a promise
  • update docs