bnowel/NodeWorld — pull request #5 by hexate (2012-03-05 09:10:50+00:00)
Title: refined update cycle to run on clock time

1. added web.config and tweaked .gitignore to run node in iis. should not affect anything.
2. added crank function that updates player positions in clock time.
3. added god commands to ease dev and debug of cycle stuff. the following examples can be entered in the text field and clicking 'save' will run it.

god dummyPlayers // adds 4 hardcoded players
god setCycle 500 // sets the update cycle speed to 500 ms - server console will show player updates
god setCycle 100 // speeds up update cycle to 100 ms - server console shows more updates, but players moving at the same clock rate (units per second).