dismae

0.0.16 • Public • Published

Dismae Game Engine Core

js-standard-style

Dependency Status devDependency Status npm npm

Dismae is a game engine for story-based games built on Phaser.io and electron. It is developed by Dischan Media.

Usage

There are two ways to use Dismae. The first and easiest method is to use the Dismae UI, which provides a visual interface to create, manage, and launch Dismae projects.

Alternatively, you can create you own project manually. Doing this requires node.js and some experience with creating node.js projects. If you choose this method, you can clone the Dismae base project to use as a starting point. Once cloned, you should create a package.json file and include Dismae as a dependency. You can do this automatically via npm init and npm install --save dismae.

Once you have Dismae installed, you should create an index.js in the root directory with the following content:

var dismae = require('dismae')
var config = require('./config')
var process = require('process')
 
var game = new dismae(config, process.cwd())
 
game.on('update', (event) => {
  console.log(event)
})
 
game.on('error', (event) => {
  console.log(event)
})
 
game.start()

You can then run your game via node index.js.

Documentation

Since Dismae is still in heavy development, there is no documentation yet. Documentation will be written once the feature set is stable.

Readme

Keywords

none

Package Sidebar

Install

npm i dismae

Weekly Downloads

4

Version

0.0.16

License

MIT

Last publish

Collaborators

  • dischan