Impact
Ruby backend for Impact.js framework.
Installation
Add this line to your application's Gemfile:
gem 'impact'
And then execute:
$ bundle
Or install it yourself as:
$ gem install impact
Usage
Change your game config paths to:
'api': {
'save': 'lib/weltmeister/api/save',
'browse': 'lib/weltmeister/api/browse',
'glob': 'lib/weltmeister/api/glob'
}
And start up the server by running command in the project root directory:
impact
To see available server settings do:
impact -h
Visit the localhost:4567
to render the game and localhost:4567/weltmeister
to use level editor.
Rails
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request