new config
This commit is contained in:
		
							parent
							
								
									68b739fe58
								
							
						
					
					
						commit
						b0518e9539
					
				
							
								
								
									
										44
									
								
								config.yaml
									
									
									
									
									
								
							
							
						
						
									
										44
									
								
								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 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user