1.10.5 • Published 6 years ago

web-text-adventure v1.10.5

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

Web Text Adventure

This is a text adventure game engine built with React.

Example Live Here

to get started: 1. install nodejs and npm 1. run npx web-text-adventure 1. run cd adventure 1. run npm i -D 1. npm npm start 1. a live development server is now running 1. edit stuff

you can run npm start at any point to start

To make production build

  1. run npm build
  2. your build is inside dist

Concepts

Scenes

A scene is a single screen of information, it contains one or more options. These options will link you to other scenes.

Flags

Flags are essentially just global variables, but the system will keep track of their initial value so you can reset them with resetFlags(), and whenever a change is made to the flag, it reupdates the UI on screen.

Single Instance

You can only run one instance of the game engine per page, as it sets global variables.

1.10.5

6 years ago

1.10.4

6 years ago

1.10.3

6 years ago

1.10.2

6 years ago

1.10.1

6 years ago

1.10.0

6 years ago

1.9.0

7 years ago

1.8.5

7 years ago

1.8.4

7 years ago

1.8.3

7 years ago

1.8.2

7 years ago

1.8.1

7 years ago

1.8.0

7 years ago

1.7.1

7 years ago

1.7.0

7 years ago

1.6.1

7 years ago

1.6.0

7 years ago

1.5.0

7 years ago

1.4.1

7 years ago

1.4.0

7 years ago

1.3.0

7 years ago

1.2.3

7 years ago

1.2.2

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago