itisy / novelscript

DOM visual novel renderer based on React (Currently under reconstruction)

Home Page:http://nova.yinyan.fr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NovelScript

npm react npm Build Status Dependencies size

This project uses functional components, which requires the latest version of React with the Hook API (v16.8+)

A visual novel renderer based on React

import {
  Scenario,
  Stage
}  from "./components/Nova"

const App = () => (
    <Scenario.Provider value={scenario}>
        <Stage onFinish={finish} />
    </Scenario.Provider>
)
  • from simple script (nsml)
[scene] start
[bgm] bgm1
[bg] classroom
[join] yuyao normal
[join] nanzhi normal
[animate] yuyao [move] 20 0 [zoom] 1.1
[animate] nanzhi [move] 20 0 [zoom] 0.9
[yuyao] 非洲农业不发达,必须要有金坷垃

[reset] yuyao nanzhi
[animate] nanzhi [move] -20 0 [zoom] 1.1
[animate] yuyao [move] -40 0 [zoom] 0.9
[nanzhi] 日本资源太缺乏,必须要有金坷垃
  • to visual novels

    nanzhi

Demo Site

Get Started

$ npm start

or

$ yarn start

Documentation

点此查阅文档 Documentation (Legacy)

Roadmap

This project is now on its way of reconstruction. Further information will be added with progress.

About

DOM visual novel renderer based on React (Currently under reconstruction)

http://nova.yinyan.fr

License:MIT License


Languages

Language:JavaScript 74.0%Language:CSS 17.7%Language:HTML 8.3%