Skip to content

v0.30.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@yhdgms1 yhdgms1 released this 26 Apr 05:01
· 171 commits to main since this release
cb6f9b1

Default emotions for characters

const engine = novely({
  characters: {
    Yuki: {
      name: 'Yuki',
      color: '#f595f6',
      emotions: {
        normal: './normal.png'
      }
    }
  },
  defaultEmotions: {
    Yuki: 'normal'
  }
})

engine.script({
  start: [
    // Without emotion!
    engine.action.showCharacter('Yuki')
  ]
})