[common] weapon queue & bullet layer

This commit is contained in:
2019-08-13 21:53:47 +03:00
parent 48f9c433e2
commit 636be8611f
10 changed files with 61 additions and 31 deletions

View File

@@ -10,7 +10,7 @@ map:
height: 20
bricks:
- {type: border, index: -1, layer: 2, armor: -1}
- {type: border, index: -1, layer: -1, armor: -1}
- {type: none, index: 0, layer: 0, armor: 0}
- {type: ace, index: 1, layer: 0, armor: 0}
- {type: bush, index: 2, layer: 3, armor: 0}
@@ -70,12 +70,6 @@ points:
- {team: eta, type: tank, index: 0, direction: right, x: 4, y: 2}
- {team: theta, type: tank, index: 0, direction: right, x: 6, y: 2}
bullet: &bullet
width: 12
height: 12
speed: 0
piercing: 1
tanks:
- type: default
width: 38
@@ -84,9 +78,11 @@ tanks:
score: 100
skin: pc
weapons:
- bullet: {<<: *bullet, speed: 12.0}
count: 2
- bullet: {<<: *bullet, speed: 4.0, width: 16, height: 16, piercing: 4}
count: 1
- bullet: {width: 12, height: 12, speed: 12.0, piercing: 1, layer: 2}
queue: 2
count: -1
- bullet: {width: 16, height: 16, speed: 4.0, piercing: 4, layer: 4}
queue: 1
count: 3
bonuses: []