added portals (closes #4) and first level of puzzle mode

This commit is contained in:
Nathan DECHER 2020-04-14 14:32:45 +02:00
parent 52a2e41e05
commit a27b8fcd9e
7 changed files with 230 additions and 26 deletions

View file

@ -41,5 +41,25 @@
"Get a score as high as you can in 30 seconds",
"Survive for as long as you can in an increasingly difficult game"
]
},
"puzzle": {
"desc": "Time doesn't flow in these puzzles. Try getting the fruits in as little moves as possible",
"rules": {
"fruitRegrow": false,
"timeFlow": false,
"speedIncrease": false,
"worldWrap": false,
"winCondition": "fruit",
"scoreSystem": "moves",
"moveCount": 50,
"uploadOnDeath": false,
"leaderboardsSort": "score"
},
"levelFilename": "puzzle<n>.json",
"levelDisplay": "Level <n>",
"levels": [
1
],
"nextLevel": true
}
}

BIN
assets/portal.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB