added pointer locking and viewport moving

This commit is contained in:
Jeena 2014-12-06 20:20:49 +01:00
parent 072e984215
commit 6d9d02615a
12 changed files with 236 additions and 141 deletions

View file

@ -44,6 +44,7 @@ define(function() {
RESPAWN_TIME: 5,
HEALTH_DISPLAY_TIME: 2,
RAGDOLL_DESTRUCTION_TIME: 20,
VIEWPORT_SPEED_FACTOR: 640,
// restitution: bouncyness, friction: rubbing, density: mass
TILE_FRICTION: 0.99,