[common] spawn system
This commit is contained in:
@@ -3,33 +3,7 @@ map:
|
||||
cellHeight: 22
|
||||
gridWidth: 26
|
||||
gridHeight: 26
|
||||
bricks: null
|
||||
points:
|
||||
- type: player
|
||||
index: 0
|
||||
x: 8
|
||||
y: 24
|
||||
direction: top
|
||||
- type: player
|
||||
index: 1
|
||||
x: 16
|
||||
y: 24
|
||||
direction: top
|
||||
- type: bot
|
||||
index: 0
|
||||
x: 0
|
||||
y: 0
|
||||
direction: bottom
|
||||
- type: bot
|
||||
index: 1
|
||||
x: 12
|
||||
y: 0
|
||||
direction: bottom
|
||||
- type: bot
|
||||
index: 2
|
||||
x: 24
|
||||
y: 0
|
||||
direction: bottom
|
||||
bricks: []
|
||||
|
||||
bricks:
|
||||
# border
|
||||
@@ -61,6 +35,46 @@ bricks:
|
||||
layer: 2
|
||||
armor: 1
|
||||
|
||||
teams:
|
||||
- id: human
|
||||
size: 2
|
||||
spawnInterval: 0
|
||||
points:
|
||||
- type: eagle
|
||||
index: -1
|
||||
x: 12
|
||||
y: 24
|
||||
direction: top
|
||||
- type: tank
|
||||
index: 0
|
||||
x: 8
|
||||
y: 24
|
||||
direction: top
|
||||
- type: tank
|
||||
index: 1
|
||||
x: 16
|
||||
y: 24
|
||||
direction: top
|
||||
- id: bot
|
||||
size: 6
|
||||
spawnInterval: 1000
|
||||
points:
|
||||
- type: tank
|
||||
index: -1
|
||||
x: 0
|
||||
y: 0
|
||||
direction: bottom
|
||||
- type: tank
|
||||
index: -1
|
||||
x: 12
|
||||
y: 0
|
||||
direction: bottom
|
||||
- type: tank
|
||||
index: -1
|
||||
x: 24
|
||||
y: 0
|
||||
direction: bottom
|
||||
|
||||
bullet: &bullet
|
||||
width: 12
|
||||
height: 12
|
||||
@@ -68,7 +82,7 @@ bullet: &bullet
|
||||
piercing: 1
|
||||
|
||||
tanks:
|
||||
player:
|
||||
human:
|
||||
- type: 0
|
||||
width: 36
|
||||
height: 36
|
||||
|
||||
Reference in New Issue
Block a user