diff --git a/sonic-radiance.love/scenes/test_scene/init.lua b/sonic-radiance.love/scenes/test_scene/init.lua index 3ca7f8f..df6c555 100644 --- a/sonic-radiance.love/scenes/test_scene/init.lua +++ b/sonic-radiance.love/scenes/test_scene/init.lua @@ -39,7 +39,9 @@ function MovePlayer:new(playerNumber, cameraMode) self.world.cameras:setMode(cameraMode) self.world:loadMap() - self.world.obj.collisions["wall"](self.world, 0,0,-16,1000, 1000, 16) + + local w, h = self.world:getDimensions() + self.world.obj.collisions["wall"](self.world, 0, 0, -16, w, h, 16) end return MovePlayer