BADAM is a simple data driven gamebook engine written in javascript. The project includes a data format for representing the various game elements ( scenes, objects,events and interaction between objects), a simple in-built script and a library which provides functions to manipulate the game elements. Also included is part of a sample game ( to demonstrate the engine features ) and a hyperlink driven interpreter built on top of the core library functions.
To run the application, download all files (folder structure intact) and open index.html in a javascript enabled web browser.
To create a new game, create a new gameworld.js file and create new scenes, objects and events inside it. Documentation is available in the wiki.
To create a new interpreter make use of the badengine.js file. For core functions documentation, refer to the wiki.
Feel free to contact me at krishnakumarm777@gmail.com with comments and criticism.
Features
- Data schema for locations, objects, doors, events
- Simple script interpreter for manipulation of objects and events
- Sample implementation using core functions
- Work in progress : NPCs
- Simple representation of player health