[common] add map size

This commit is contained in:
2019-06-11 17:29:18 +03:00
parent 2c42d993ca
commit a66b72ba22
19 changed files with 143 additions and 62 deletions

View File

@@ -5,10 +5,12 @@ game:
- team: human
map:
cellWidth: 22
cellHeight: 22
gridWidth: 26
gridHeight: 26
cell:
width: 22
height: 22
grid:
width: 26
height: 26
bricks:
- {type: border, index: -1, layer: 2, armor: -1}

View File

@@ -1,14 +1,16 @@
game:
levels: 1
levels: 2
friendlyFire: true
complete:
- team: alpha
map:
cellWidth: 22
cellHeight: 22
gridWidth: 20
gridHeight: 20
cell:
width: 22
height: 22
grid:
width: 20
height: 20
bricks:
- {type: border, index: -1, layer: 2, armor: -1}

View File

@@ -0,0 +1,4 @@
name: test
size: {width: 36, height: 23}
points: [{direction: right, x: 0, index: 0, team: alpha, y: 0, type: tank}, {direction: right, x: 11, index: 0, team: beta, y: 0, type: tank}, {direction: right, x: 19, index: 0, team: gamma, y: 0, type: tank}, {direction: right, x: 0, index: 0, team: delta, y: 10, type: tank}, {direction: right, x: 15, index: 0, team: epsilon, y: 10, type: tank}, {direction: right, x: 7, index: 0, team: zeta, y: 7, type: tank}, {direction: right, x: 2, index: 0, team: eta, y: 6, type: tank}, {direction: right, x: 5, index: 0, team: theta, y: 2, type: tank}]
data: "0000000000000000000000000000000000000000000000000220000000000000000005222210000000000000445512220000000000044005500000000000004411115000000000000440000000000000000044000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"

View File

@@ -5,10 +5,12 @@ game:
- team: radiant
map:
cellWidth: 22
cellHeight: 22
gridWidth: 40
gridHeight: 30
cell:
width: 22
height: 22
grid:
width: 40
height: 30
bricks:
- {type: border, index: -1, layer: 2, armor: -1}