From b0518e9539a74855990139f78da88775024c97eb Mon Sep 17 00:00:00 2001 From: itrooz <42669835+iTrooz@users.noreply.github.com> Date: Thu, 30 Dec 2021 20:54:06 +0100 Subject: [PATCH] new config --- config.yaml | 44 ++++++++++++++++++++------------------------ 1 file changed, 20 insertions(+), 24 deletions(-) diff --git a/config.yaml b/config.yaml index 8f686bb..45a200f 100644 --- a/config.yaml +++ b/config.yaml @@ -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