new config

This commit is contained in:
itrooz 2021-12-30 20:54:06 +01:00
parent 68b739fe58
commit b0518e9539
No known key found for this signature in database
GPG Key ID: 673F0BF9DDDDFD5B

View File

@ -1,33 +1,29 @@
# Screen Config
screen:
# specifies the screen resolution, must in 16:9,
# default : "1280x720"
#! hardcoder une res de base si c'est pas un 16:9
terminal:
charEmptySpace: ' '
charPlayer: ''
charPlayerProjectile: ''
charEnemy: ''
charEnemyProjectile: ''
# Game Mode
# values : "terminal" "graphic"
# default : "terminal"
mode: "graphic"
# User config
user:
users:
width: 250
startPositionX: 0
startPositionY: 0
speed: 5
keys:
moveLeft: '4'
moveLeft: '6'
shoot: '5'
user1_keys:
moveLeft: '4'
moveRight: '6'
shoot: '5'
user2_keys:
moveLeft: 'k'
moveRight: 'l'
shoot: 'm'
# Enemies config
enemy:
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