Skip to content
/ WebVn Public

A browser-based Visual Novel engine and authoring tool

Notifications You must be signed in to change notification settings

a544jh/WebVn

Repository files navigation

WebVN

A Visual Novel Engine for the modern web.

This pet project is envisioned to become a Visual Novel engine (like Ren'Py) and authoring tool to easily create and share web based Visual Novels.

Maybe I'll make a proper game with this some day...

Features:

  • Editor with
    • Live preview
    • Jump to line
    • Live code validation
    • YAML-based scripting language
  • Animated ADV text box with name tags
  • Animated decision prompts
  • Control flow with variables, arithmetic and boolean logic
  • Sprites (translation)
  • Backgrounds (panning, scaling)
  • Background transitions
  • Background music and sound effects
  • Fast forwarding though seen text (skip mode)
  • Unlimited "undo/rollback" history
  • Saving/Loading (menus are WIP)
  • Mobile friendly fullscreen mode

Technical feats:

  • Redux-inspired immutable state management
  • Rendering and UI code directly against browser DOM APIs, no frameworks or libraries involved. (Experiments with React & others still left in the repo)
  • Seen text nodes stored using custom ConsecutiveIntegerSet data structure
  • The "path" taken through the VN in the only thing persisted upon saving. Full state is simulated upon loading.

How to run

yarn
yarn dev

and off you go!

About

A browser-based Visual Novel engine and authoring tool

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published