diff --git a/sonic-radiance.love/game/modules/world/maps/battle.lua b/sonic-radiance.love/game/modules/world/maps/battle.lua index 3ba24a7..9b6900a 100644 --- a/sonic-radiance.love/game/modules/world/maps/battle.lua +++ b/sonic-radiance.love/game/modules/world/maps/battle.lua @@ -27,7 +27,7 @@ function BattleMap:addBlock(x, y, w, h, top, bottom) if (self.assets.images[bottom] == nil) then self.assets:addImage(bottom, self.directory .. bottom .. ".png") end - self.world.obj.collisions["textured"](self.world, x*2, y, 0, w*2, h, 64, top, bottom) + self.world.obj.collisions["textured"](self.world, x*2, y, 0, w*2, h, 48, top, bottom) end function BattleMap:getDimensions() diff --git a/sonic-radiance.love/game/modules/world/maps/test.lua b/sonic-radiance.love/game/modules/world/maps/test.lua index d497e45..f11b7b4 100644 --- a/sonic-radiance.love/game/modules/world/maps/test.lua +++ b/sonic-radiance.love/game/modules/world/maps/test.lua @@ -10,10 +10,10 @@ end function TestMap:loadCollisions() self.world:newCollision("wall", 0, 0, -16, 8*64, 8*32, 16) - self.world:newCollision("wall", 64*1, 32*1, 0, 64*1, 32*3, 64) - self.world:newCollision("wall", 64*4, 32*1, 0, 64*3, 32*1, 64) - self.world:newCollision("wall", 64*6, 32*5, 0, 64*1, 32*3, 64) - self.world:newCollision("wall", 64*1, 32*7, 0, 64*3, 32*1, 64) + self.world:newCollision("wall", 64*1, 32*1, 0, 64*1, 32*3, 48) + self.world:newCollision("wall", 64*4, 32*1, 0, 64*3, 32*1, 48) + self.world:newCollision("wall", 64*6, 32*5, 0, 64*1, 32*3, 48) + self.world:newCollision("wall", 64*1, 32*7, 0, 64*3, 32*1, 48) end function TestMap:getDimensions()