10 years ago by roman01la
I'm using this one by myself and originally it was just for private use, but I found it useful and want to share with everyone.
impact-node
So this is basically replication of official PHP version, as well as some additions for efficiency in dev process.
Install:
Create new project:
This will copy ImpactJS core into current directory and bootstrap a project, thus you can keep ImpactJS somewhere on your disk.
Create new entity:
This will create a new entity file with basic setup.
Run development server with specified port (default is 3000):
Run in watch mode, game view will be updated when project's files changed:
And finally build your game:
build goes to build/game.js
This seems like enough functionality for me, but there can be more.
impact-node
So this is basically replication of official PHP version, as well as some additions for efficiency in dev process.
Install:
npm i -g impact-node
Create new project:
impact-node create:project {path to impact dir}
This will copy ImpactJS core into current directory and bootstrap a project, thus you can keep ImpactJS somewhere on your disk.
Create new entity:
impact-node create:entity {name}
This will create a new entity file with basic setup.
Run development server with specified port (default is 3000):
impact-node serve -p 9000
Run in watch mode, game view will be updated when project's files changed:
impact-node serve -watch
And finally build your game:
impact-node build
build goes to build/game.js
This seems like enough functionality for me, but there can be more.