mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
fixes #78 revisited weight handycap
This commit is contained in:
parent
b6d67a0581
commit
e404ad3598
7 changed files with 27 additions and 16 deletions
|
|
@ -2,6 +2,8 @@ define(function() {
|
|||
|
||||
var ItemSettings = {
|
||||
|
||||
// weight is a number between 0.1 for very light and 10 for very heavy
|
||||
|
||||
"Default":
|
||||
{
|
||||
"category": "",
|
||||
|
|
@ -15,7 +17,7 @@ define(function() {
|
|||
"rotation": "0",
|
||||
"bounce": "0",
|
||||
"grabAngle": "-1.5",
|
||||
"danger": "1",
|
||||
"danger": "0",
|
||||
"bodyType": "dynamic",
|
||||
},
|
||||
|
||||
|
|
@ -25,7 +27,7 @@ define(function() {
|
|||
"image": "chest.png",
|
||||
|
||||
"type": "ragdoll",
|
||||
"weight": "5",
|
||||
"weight": "7",
|
||||
"width": "6",
|
||||
"height": "12",
|
||||
|
||||
|
|
@ -200,7 +202,7 @@ define(function() {
|
|||
"category": "kitchen",
|
||||
"image": "fridge.gif",
|
||||
|
||||
"weight": "10",
|
||||
"weight": "5",
|
||||
"width": "31",
|
||||
"height": "53",
|
||||
|
||||
|
|
@ -213,11 +215,12 @@ define(function() {
|
|||
"category": "kitchen",
|
||||
"image": "microwave.gif",
|
||||
|
||||
"weight": "3.6",
|
||||
"weight": "4.6",
|
||||
"width": "19",
|
||||
"height": "12",
|
||||
|
||||
"grabAngle": "-0.1",
|
||||
"danger": "2",
|
||||
},
|
||||
|
||||
"Coffeemachine":
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ define(function() {
|
|||
WALK_SPEED: 4,
|
||||
RUN_SPEED: 8,
|
||||
FLY_SPEED: 6.2,
|
||||
JUMP_SPEED: 21,
|
||||
JUMP_SPEED: 19,
|
||||
JUMP_STOP_DAMPING_FACTOR: 0.5,
|
||||
MAX_THROW_FORCE: 28,
|
||||
MAX_THROW_ANGULAR_VELOCITY: 3,
|
||||
|
|
@ -51,7 +51,7 @@ define(function() {
|
|||
TILE_FRICTION: 0.99,
|
||||
TILE_RESTITUTION: 0.1,
|
||||
|
||||
PLAYER_DENSITY: 3.68,
|
||||
PLAYER_DENSITY: 12.2, //3.68,
|
||||
PLAYER_FRICTION: 5,
|
||||
PLAYER_MOTION_FRICTION: 0.1,
|
||||
PLAYER_RESTITUTION: 0.0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue