refactored code and added win/lose popups
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
{
|
||||
"touchscreen": {
|
||||
"enabled": true,
|
||||
"mode": "swipe",
|
||||
"deadzone": 50,
|
||||
"buffer": false
|
||||
},
|
||||
"keyboard": {
|
||||
"enabled": true,
|
||||
"buffer": false
|
||||
},
|
||||
"gamepad": {
|
||||
"enabled": true,
|
||||
"deadzone": 0.5,
|
||||
"buffer": true
|
||||
}
|
||||
|
||||
@@ -12,7 +12,8 @@
|
||||
"levelDisplay": "Level <n>",
|
||||
"levels": [
|
||||
1, 2, 3, 4, 5
|
||||
]
|
||||
],
|
||||
"nextLevel": true
|
||||
},
|
||||
"arcade": {
|
||||
"desc": "Have fun just like in the good ol' days, walls wrap around, fruits respawn and speed increases",
|
||||
@@ -31,6 +32,7 @@
|
||||
"Survival",
|
||||
"Versus"
|
||||
],
|
||||
"nextLevel": false,
|
||||
"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",
|
||||
|
||||
Reference in New Issue
Block a user