61 lines
831 B
YAML
61 lines
831 B
YAML
# General configuration
|
|
general:
|
|
maxFPS: 90
|
|
|
|
# Players config
|
|
players:
|
|
width: 200
|
|
startXPosition: 50
|
|
fireCooldown: 40
|
|
speed: 6
|
|
lives: 3
|
|
user1:
|
|
color: red
|
|
keys:
|
|
left: q
|
|
right: d
|
|
shoot: s
|
|
user2:
|
|
color: blue
|
|
keys:
|
|
left: 4
|
|
right: 6
|
|
shoot: 5
|
|
|
|
# Enemies config
|
|
invaders:
|
|
fireCooldown: 20
|
|
size: 30
|
|
speed: 2
|
|
distance: 15 # 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: 5
|
|
width: 10
|
|
torpedos:
|
|
color: green
|
|
speed: 5
|
|
width: 10
|
|
|
|
# God is not in configuration because you can't control a god
|
|
|
|
# Grid definition
|
|
# You can add more rows, make rows longer and add spaces
|
|
grid:
|
|
- "CA AAAAAA AC"
|
|
- "CBBB BBBC"
|
|
- "CCCCCCCCCCCC" |