added leaderboard (closes #29)
This commit is contained in:
		
							parent
							
								
									1ca8e46461
								
							
						
					
					
						commit
						7b083fda11
					
				
					 20 changed files with 852 additions and 48 deletions
				
			
		| 
						 | 
				
			
			@ -1,5 +1,6 @@
 | 
			
		|||
{
 | 
			
		||||
	"player.name": "Player",
 | 
			
		||||
	"player.leaderboards": false,
 | 
			
		||||
 | 
			
		||||
	"input.touchscreen.crosspad.enabled": false,
 | 
			
		||||
	"input.touchscreen.crosspad.overlay": true,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,7 +6,9 @@
 | 
			
		|||
			"speedIncrease": false,
 | 
			
		||||
			"worldWrap": false,
 | 
			
		||||
			"winCondition": "fruit",
 | 
			
		||||
			"scoreSystem": "speedrun"
 | 
			
		||||
			"scoreSystem": "speedrun",
 | 
			
		||||
			"uploadOnDeath": false,
 | 
			
		||||
			"leaderboardsSort": "timeA"
 | 
			
		||||
		},
 | 
			
		||||
		"levelFilename": "level<n>.json",
 | 
			
		||||
		"levelDisplay": "Level <n>",
 | 
			
		||||
| 
						 | 
				
			
			@ -22,7 +24,9 @@
 | 
			
		|||
			"speedIncrease": true,
 | 
			
		||||
			"speedMultiplier": 0.9,
 | 
			
		||||
			"speedCap": 50,
 | 
			
		||||
			"worldWrap": true
 | 
			
		||||
			"worldWrap": true,
 | 
			
		||||
			"uploadOnDeath": true,
 | 
			
		||||
			"leaderboardsSort": "score"
 | 
			
		||||
		},
 | 
			
		||||
		"levelFilename": "arcade-<l>.json",
 | 
			
		||||
		"levelDisplay": "<n>",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,6 +6,11 @@
 | 
			
		|||
		"name": "Player name",
 | 
			
		||||
		"type": "string"
 | 
			
		||||
	},
 | 
			
		||||
	"player.leaderboards": {
 | 
			
		||||
		"name": "Upload scores to leaderboards",
 | 
			
		||||
		"type": "boolean",
 | 
			
		||||
		"needsBackend": true
 | 
			
		||||
	},
 | 
			
		||||
 | 
			
		||||
	"input": {
 | 
			
		||||
		"name": "Input settings"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue