mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
removed objects with joints because of #99
This commit is contained in:
parent
ea3a802af9
commit
a340501dc2
2 changed files with 2 additions and 16 deletions
|
|
@ -44,8 +44,8 @@ define([
|
||||||
Level.prototype.createItem = function(uid, options) {
|
Level.prototype.createItem = function(uid, options) {
|
||||||
|
|
||||||
switch(options.type) {
|
switch(options.type) {
|
||||||
case 'skateboard':
|
//case 'skateboard':
|
||||||
return new Skateboard(this.engine, uid, options);
|
// return new Skateboard(this.engine, uid, options);
|
||||||
case 'ragdoll':
|
case 'ragdoll':
|
||||||
return new RagDoll(this.engine, uid, options);
|
return new RagDoll(this.engine, uid, options);
|
||||||
case 'rube':
|
case 'rube':
|
||||||
|
|
|
||||||
|
|
@ -233,20 +233,6 @@
|
||||||
"x":1222.774,
|
"x":1222.774,
|
||||||
"y":33.814666666667
|
"y":33.814666666667
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"height":0,
|
|
||||||
"name":"RagDoll",
|
|
||||||
"properties":
|
|
||||||
{
|
|
||||||
|
|
||||||
},
|
|
||||||
"rotation":0,
|
|
||||||
"type":"",
|
|
||||||
"visible":true,
|
|
||||||
"width":0,
|
|
||||||
"x":250,
|
|
||||||
"y":186
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"height":0,
|
"height":0,
|
||||||
"name":"Knife",
|
"name":"Knife",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue