mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 18:47:35 +00:00
added stats + ping, fixed box2d step size
This commit is contained in:
parent
ffb7db528a
commit
b4ef1203b1
8 changed files with 63 additions and 16 deletions
|
|
@ -8,7 +8,7 @@ define({
|
|||
BOX2D_GRAVITY: 16,
|
||||
BOX2D_VELOCITY_ITERATIONS: 5,
|
||||
BOX2D_POSITION_ITERATIONS: 5,
|
||||
BOX2D_TIME_STEP: 1 / 30,
|
||||
BOX2D_TIME_STEP: 1 / 60,
|
||||
|
||||
// GRAPHIC PATHS
|
||||
GRAPHICS_PATH: 'static/img/',
|
||||
|
|
@ -43,8 +43,9 @@ define({
|
|||
// BROWSER
|
||||
CANVAS_DOM_ID: 'canvasContainer',
|
||||
IS_BROWSER_ENVIRONMENT: typeof window !== 'undefined',
|
||||
USE_WEGBL: true,
|
||||
|
||||
DEBUG_MODE: true,
|
||||
DEBUG_MODE: false,
|
||||
|
||||
// NETWORKING
|
||||
WORLD_UPDATE_BROADCAST_INTERVAL: 70
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue