ImpactJS Game Gadget
Several tools for fast developing an ImpactJS Game, include generators and built-in server to run the game and weltmeister level editor right in the current project folder without requiring apache http server and PHP configuration.
1: generators
a: create ImpactJS game project skeloton, containing toggleDebug button in index.html
b: create ImpactJS level snippet
c: create ImpactJS entity snippet
2: built-in http server to boot playing game and weltmeister level editor in current directory
1: Ruby 1.8.7 or later (tested)
2: ImpactJS (buy your license 99$)
$ gem install igg
$ gem update igg
$ igg
Commands:
igg entity [name] # generate an ImpactJS Game entity
igg help [COMMAND] # Describe available commands or one specific command
igg level [name] # generate an ImpactJS Game level
igg project [name] # generate an ImpactJS Game project
$ igg project pong # default width=320 height=240
$ igg level shooting # default width=320 height=240
$ igg entity player # default width=16 height=16
# you need 3 steps to run server
#
# 1: Copy 'impact' folder to current project's 'lib' subdirectory.
# 2: Copy 'weltmeister' folder to current project's 'lib' subdirectory.
# 3: Copy 'weltmeister.html' to current project's root.
#
# ImpactJS project directory should look like this
$ igg server ## Must Run in an ImpactJS project folder
open 'http://localhost:4567' in browser
$ igg server ## DO NOT Run in an ImpactJS project folder will NOT start server
$ igg server
open 'http://localhost:4567/weltmeister' in browser