30 lines
420 B
YAML
30 lines
420 B
YAML
# Players config
|
|
players:
|
|
width: 250
|
|
startPositionX: 0
|
|
speed: 5
|
|
user1_keys:
|
|
moveLeft: '4'
|
|
moveRight: '6'
|
|
shoot: '5'
|
|
user2_keys:
|
|
moveLeft: 'k'
|
|
moveRight: 'l'
|
|
shoot: 'm'
|
|
|
|
|
|
# Enemies config
|
|
enemies:
|
|
startPositionX: 0
|
|
startPositionY: 0
|
|
speed: 2
|
|
size: 4
|
|
distance: 10 # distance pixels between invaders
|
|
|
|
missiles:
|
|
speed: 2
|
|
width: 10
|
|
torpedos:
|
|
speed: 2
|
|
width: 10
|