[client] add universal LevelFrame

This commit is contained in:
2019-04-03 17:23:15 +03:00
parent c58735ea43
commit 9dc0a4ce06
31 changed files with 268 additions and 366 deletions

View File

@@ -23,7 +23,6 @@ player:
human: &human
life: 3
protect: 5
human: true
tanks:
- {type: human0, rate: 1}
bot: &bot
@@ -41,7 +40,7 @@ presets:
teams:
- id: human
players:
- {<<: *human, index: 0, color: 0xFFFF00}
- {<<: *human, index: 0, color: 0xFFFF00, human: 1}
- id: bot
spawnInterval: 3000
life: 20
@@ -55,8 +54,8 @@ presets:
teams:
- id: human
players:
- {<<: *human, index: 0, color: 0xFFFF00}
- {<<: *human, index: 1, color: 0x15C040}
- {<<: *human, index: 0, color: 0xFFFF00, human: 1}
- {<<: *human, index: 1, color: 0x15C040, human: 2}
- id: bot
spawnInterval: 3000
life: 20

View File

@@ -1,7 +1,8 @@
game:
levels: 1
friendlyFire: true
complete: []
complete:
- team: alpha
map:
cellWidth: 22
@@ -35,6 +36,8 @@ presets:
teams:
- id: alpha
color: 0xFF4422
players:
- {<<: *player, index: 0, human: 1}
<<: *team
- id: beta
color: 0xFFD000

View File

@@ -1,2 +1,3 @@
points: [{y: 0, type: tank, direction: right, x: 0, team: alpha, index: 0}, {y: 0, type: tank, direction: right, x: 6, team: beta, index: 0}, {y: 0, type: tank, direction: right, x: 12, team: gamma, index: 0}, {y: 0, type: tank, direction: right, x: 18, team: delta, index: 0}, {y: 18, type: tank, direction: right, x: 0, team: epsilon, index: 0}, {y: 18, type: tank, direction: right, x: 6, team: zeta, index: 0}, {y: 18, type: tank, direction: right, x: 12, team: eta, index: 0}, {y: 18, type: tank, direction: right, x: 18, team: theta, index: 0}]
data: "0004400004400004400000044000044000044000555555555555555555550000000000000000000002520000022000002520055503330550333055500252035502205530252000000352000025300000000000000110000000000525252011110252525005252520111102525250000000000110000000000000035200002530000002520355022055302520055503330550333055500252000002200000252000000000000000000000555555555555555555550004400004400004400000044000044000044000"
name: DeathMatch test

View File

@@ -1,7 +1,8 @@
game:
levels: 23
friendlyFire: true
complete: []
complete:
- team: radiant
map:
cellWidth: 22
@@ -33,22 +34,28 @@ player:
team:
base: &team
life: 20
eagle:
score: 500
radiant: &radiant
<<: *team
id: radiant
color: 0xff4422
players:
- {<<: *player-slow, index: 0, human: 1, color: 0xff8866}
- {<<: *player-fast, index: 1}
- {<<: *player-slow, index: 2}
- {<<: *player-fast, index: 3}
- {<<: *player-slow, index: 4}
dire: &dire
<<: *team
id: dire
color: 0x3284ff
players:
- {<<: *player-slow, index: 0}
- {<<: *player-fast, index: 1}
- {<<: *player-slow, index: 2}
- {<<: *player-fast, index: 3}
- {<<: *player-slow, index: 4}
eagle:
score: 500
radiant: &radiant
id: radiant
color: 0xff4422
<<: *team
dire: &dire
id: dire
color: 0x3284ff
<<: *team
presets:
- id: default