diff --git a/client/scripts/20-comp-Playmat.coffee b/client/scripts/20-comp-Playmat.coffee index fd6d0b1..6034d36 100644 --- a/client/scripts/20-comp-Playmat.coffee +++ b/client/scripts/20-comp-Playmat.coffee @@ -9,7 +9,7 @@ Crafty.c 'Playmat', init: -> @attr { x: 0 - y: CONF.playmat.h + y: 0 z: CONF.layer.playmats w: CONF.playmat.w h: CONF.playmat.h diff --git a/client/scripts/30-scene-Battle.coffee b/client/scripts/30-scene-Battle.coffee index 3641bae..c52c576 100644 --- a/client/scripts/30-scene-Battle.coffee +++ b/client/scripts/30-scene-Battle.coffee @@ -10,6 +10,11 @@ Crafty.defineScene "Battle", -> w: 1 * CONF.playmat.w h: 2 * CONF.playmat.h } + .origin 'middle left' + .attr { + ox: 0 + oy: 0 + } .origin 'center' )