1.0.15 • Published 1 year ago
story-player v1.0.15
Story Player
This package provides a game engine web element story-player
to play games from authenticwalk
Example usage
Steps to run:
- install http server:
npm install --global http-server
- run server in this directory:
http-server
- load a story by:
- loading the story you want to play: storyBuilder.loadStory(storyId)
- or storyBuilder.setStoryId(storyId, version)
Methods callable in the window namespace
There are a variety of callable methods to interact with your story, simple run storyBuilder.help() to see what is available.