fix(testmap): use the exact Battle coordinate

This commit is contained in:
Kazhnuz 2019-07-27 15:41:53 +02:00
parent 87a133a74b
commit 624e2ecb94

View file

@ -12,12 +12,12 @@ function TestMap:loadCollisions()
self.world:newCollision("wall", 0, 0, -16, 8*64, 8*32, 16) 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, 48) 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*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*6, 32*4, 0, 64*1, 32*3, 48)
self.world:newCollision("wall", 64*1, 32*7, 0, 64*3, 32*1, 48) self.world:newCollision("wall", 64*1, 32*6, 0, 64*3, 32*1, 48)
end end
function TestMap:getDimensions() function TestMap:getDimensions()
return 8*64, 9*32 return 8*64, 8*32
end end
function TestMap:loadPlayers() function TestMap:loadPlayers()