fixed engine and added level2
This commit is contained in:
		
							parent
							
								
									beb9598f69
								
							
						
					
					
						commit
						03e0c97280
					
				
					 8 changed files with 186 additions and 46 deletions
				
			
		| 
						 | 
				
			
			@ -1,11 +1,12 @@
 | 
			
		|||
{
 | 
			
		||||
	"speedrun": {
 | 
			
		||||
		"desc": "Get all the fruits as fast as possible without touching the walls",
 | 
			
		||||
		"rules": {
 | 
			
		||||
			"fruitRegrow": false,
 | 
			
		||||
			"speedIncrease": false,
 | 
			
		||||
			"worldWrap": false,
 | 
			
		||||
			"winCondition": "fruit",
 | 
			
		||||
			"scoreSystem": "time"
 | 
			
		||||
			"scoreSystem": "speedrun"
 | 
			
		||||
		},
 | 
			
		||||
		"levelFilename": "level<n>.json",
 | 
			
		||||
		"levelDisplay": "Level <n>",
 | 
			
		||||
| 
						 | 
				
			
			@ -14,9 +15,11 @@
 | 
			
		|||
		]
 | 
			
		||||
	},
 | 
			
		||||
	"arcade": {
 | 
			
		||||
		"desc": "Have fun just like in the good ol' days, walls wrap around, fruits respawn and speed increases",
 | 
			
		||||
		"rules": {
 | 
			
		||||
			"fruitRegrow": true,
 | 
			
		||||
			"speedIncrease": true,
 | 
			
		||||
			"speedMultiplier": 0.9,
 | 
			
		||||
			"worldWrap": true
 | 
			
		||||
		},
 | 
			
		||||
		"levelFilename": "arcade-<l>.json",
 | 
			
		||||
| 
						 | 
				
			
			@ -24,7 +27,14 @@
 | 
			
		|||
		"levels": [
 | 
			
		||||
			"Arcade",
 | 
			
		||||
			"Timed",
 | 
			
		||||
			"Survival"
 | 
			
		||||
			"Survival",
 | 
			
		||||
			"Versus"
 | 
			
		||||
		],
 | 
			
		||||
		"levelDesc": [
 | 
			
		||||
			"The old classic, try to get as high as a score as you can",
 | 
			
		||||
			"Get a score as high as you can in 30 seconds",
 | 
			
		||||
			"Survive for as long as you can in an increasingly difficult game",
 | 
			
		||||
			"Fight against an opponent online"
 | 
			
		||||
		]
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue