Skip to content

genie-js/genie-scx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

genie-scx

Genie Engine SCX (scenario) file reader for Node.js and the browser

NPM

Usage Example

var genieScx = require('genie-scx')
genieScx.load(fs.readFileSync('/path/to/scenario.scx'), (err, data) => {
})

API

genieScx.load(buffer: Buffer, cb)

Parse an SCX file. cb is a Node-style callback (err, data). data is an object with lots of data. Use console.log or devtools to figure out the shape.

License

MIT