diff --git a/src/jsds_crafty.js b/src/jsds_crafty.js index fad6d0c..e3ae1d5 100644 --- a/src/jsds_crafty.js +++ b/src/jsds_crafty.js @@ -1,8 +1,11 @@ { + // For Hitbox-Dbg: Add WiredHitBox to Components of the corresponding objects, + // and uncomment the section in + Crafty.c( "Wall", { init: function() { - this.addComponent("2D,Canvas,Color,Collision,WiredHitBox,wall,coll") + this.addComponent("2D,Canvas,Color,Collision,wall,coll") .color('black'); }, wall: function(x,y,w,h) { @@ -44,7 +47,7 @@ Crafty.c( "Creature", { init: function() { - this.addComponent("Thing,Fourway,Draggable,Collision,WiredHitBox,Mouse,creature,coll"); + this.addComponent("Thing,Fourway,Draggable,Collision,Mouse,creature,coll"); }, creature: function(id,x,y,w,h,col) { this.id=id || "";