53 lines
636 B
YAML
53 lines
636 B
YAML
# Players config
|
|
players:
|
|
width: 250
|
|
startXPosition: 50
|
|
fireCooldown: 10
|
|
speed: 10
|
|
user1:
|
|
color: red
|
|
keys:
|
|
left: q
|
|
right: d
|
|
shoot: s
|
|
user2:
|
|
color: blue
|
|
keys:
|
|
left: 4
|
|
right: 6
|
|
shoot: 5
|
|
|
|
# Enemies config
|
|
invaders:
|
|
fireCooldown: 0
|
|
size: 50
|
|
speed: 10
|
|
distance: 10 # distance in pixels between invaders
|
|
|
|
typeA:
|
|
points: 100
|
|
color: green
|
|
typeB:
|
|
points: 250
|
|
color: blue
|
|
typeC:
|
|
points: 600
|
|
color: red
|
|
|
|
|
|
# Projectiles config
|
|
projectiles:
|
|
missiles:
|
|
color: yellow
|
|
speed: 100
|
|
width: 10
|
|
torpedos:
|
|
color: green
|
|
speed: 10
|
|
width: 10
|
|
|
|
grid:
|
|
- " AAAAAAAA"
|
|
- "B BBBBBBBB"
|
|
- " CCCCCCCC"
|