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 config | ||||||
| user: | users: | ||||||
|  |   width: 250 | ||||||
|   startPositionX: 0 |   startPositionX: 0 | ||||||
|   startPositionY: 0 |  | ||||||
|   speed: 5 |   speed: 5 | ||||||
|   keys: |   user1_keys: | ||||||
|     moveLeft: '4' |       moveLeft: '4' | ||||||
|     moveLeft: '6' |       moveRight: '6' | ||||||
|     shoot: '5' |       shoot: '5' | ||||||
|  |   user2_keys: | ||||||
|  |       moveLeft: 'k' | ||||||
|  |       moveRight: 'l' | ||||||
|  |       shoot: 'm' | ||||||
|  | 
 | ||||||
| 
 | 
 | ||||||
| # Enemies config | # Enemies config | ||||||
| enemy: | enemies: | ||||||
|   startPositionX: 0 |   startPositionX: 0 | ||||||
|   startPositionY: 0 |   startPositionY: 0 | ||||||
|   speed: 2 |   speed: 2 | ||||||
|   size: 4 |   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