1.2.8 • Published 9 years ago

impact-node v1.2.8

Weekly downloads
6
License
MIT
Repository
github
Last release
9 years ago

npm npm

impact-node

This package includes Node.js CLI for better development with ImpactJS.

impact-node logo composed of Node.js and Impact logos

impact-node workflow animated gif

Installation

npm install -g impact-node

Usage

Create 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 entity

impact-node create:entity {name}

This will create a new entity file with basic setup.

Why no command for creating level? This is what Weltmeister should be used for.

Run development server

impact-node serve

This will run the server at http://localhost:3000/.

You can run server on different port.

impact-node serve -p 9000

And in watch mode. Game view will be updated when project's files changed.

impact-node serve --watch

Build

impact-node build

This will compress code into a single file ready for production and put it into build including media dir with game assets.

ToDo

  • Tests
1.2.8

9 years ago

1.2.7

9 years ago

1.2.6

9 years ago

1.2.5

9 years ago

1.2.4

9 years ago

1.2.3

9 years ago

1.2.2

9 years ago

1.2.1

9 years ago

1.2.0

9 years ago

1.1.0

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago