mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 18:47:35 +00:00
fixed throwing and meter
This commit is contained in:
parent
86dcdf92df
commit
3a07d946b0
4 changed files with 84 additions and 45 deletions
|
|
@ -5,7 +5,7 @@ define({
|
|||
// BOX2D INITIALATORS
|
||||
BOX2D_WORLD_AABB_SIZE: 3000,
|
||||
BOX2D_ALLOW_SLEEP: true,
|
||||
BOX2D_GRAVITY: 16,
|
||||
BOX2D_GRAVITY: 26,
|
||||
BOX2D_VELOCITY_ITERATIONS: 5,
|
||||
BOX2D_POSITION_ITERATIONS: 5,
|
||||
BOX2D_TIME_STEP: 1 / 60,
|
||||
|
|
@ -16,27 +16,27 @@ define({
|
|||
GRAPHICS_SUBPATH_CHARACTERS: 'Characters/',
|
||||
GRAPHICS_SUBPATH_TILES: 'Tiles/',
|
||||
|
||||
RATIO: 35,
|
||||
RATIO: 21, //35
|
||||
TILE_SIZE: 15, //15
|
||||
CAMERA_IS_ORTHOGRAPHIC: true,
|
||||
VIEW_CONTROLLER: 0 ? 'Three' : 'Pixi',
|
||||
|
||||
// GAME PLAY
|
||||
WALK_SPEED: 2.5,
|
||||
RUN_SPEED: 4,
|
||||
FLY_SPEED: 3.2,
|
||||
JUMP_SPEED: 4.0,
|
||||
JUMP_UPLIFT: 0.05,
|
||||
WALK_SPEED: 4,
|
||||
RUN_SPEED: 6.4,
|
||||
FLY_SPEED: 5.12,
|
||||
JUMP_SPEED: 70,
|
||||
MAX_THROW_FORCE: 15,
|
||||
|
||||
// restitution: bouncyness, friction: rubbing, density: mass
|
||||
TILE_FRICTION: 0.99,
|
||||
TILE_RESTITUTION: 0.1,
|
||||
|
||||
PLAYER_DENSITY: 0.96,
|
||||
PLAYER_DENSITY: 3.68,
|
||||
PLAYER_FRICTION: 5,
|
||||
PLAYER_MOTION_FRICTION: 0.1,
|
||||
PLAYER_RESTITUTION: 0.0,
|
||||
PLAYER_LINEAR_DAMPING: .5,
|
||||
PLAYER_LINEAR_DAMPING: 0.8,
|
||||
|
||||
ITEM_DENSITY: 0.9,
|
||||
ITEM_FRICTION: 0.99,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue