yhdgms1 / novely

Engine that will let you create interactive stories with ease
https://novely.deno.dev
ISC License
19 stars 3 forks source link
browser-based-game engine game game-engine game-engines interactive-storytelling javascript novel solid-js text-based-adventure typescript visual visual-novel visual-novel-engine visual-novels web

Novely

Novel Engine for creating interactive stories

Community

We have a Discord server

Demo

You can see working demo here

Documentation and Getting Started

You can find documentation on the website.

Examples

import { createSolidRenderer } from '@novely/solid-renderer';
import { novely, EN } from '@novely/core';

const engine = novely({
  renderer: createSolidRenderer().renderer,
  translation: {
    en: {
      internal: EN
    }
  },
  characters: {
    Natsuki: {
      name: 'Natsuki',
      color: '#f388aa',
      emotions: {
        happy: './natsuki-happy.png'
      }
    }
  }
});

engine.script({
  start: [
    engine.action.showBackground('./school.png'),
    engine.action.showCharacter('Natsuki', 'happy'),
    engine.action.dialog('Natsuki', 'Whoa! I am very happy to see you!')
  ]
})

License

Novely is ISC licensed.