You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
201 lines
3.9 KiB
201 lines
3.9 KiB
2 years ago
|
{
|
||
|
"colors": {
|
||
|
"background": {
|
||
|
"mountains": {
|
||
|
"stroke": "rgb(0, 0, 0)",
|
||
|
"fill": "rgb(60, 60, 60)"
|
||
|
},
|
||
|
"ground": "rgb(40, 100, 30)",
|
||
|
"sky":"rgb(110, 130, 230)"
|
||
|
},
|
||
|
"map": {
|
||
|
"background": {
|
||
|
"stroke": "rgb(0, 0, 0)",
|
||
|
"fill": "rgb(90, 110, 210)"
|
||
|
}
|
||
|
},
|
||
|
"player": {
|
||
|
"body": "hsb(0, 100%, 100%)",
|
||
|
"eyes": {
|
||
|
"inner": "rgb(0, 0, 0)" ,
|
||
|
"outer": "rgb(255, 255, 255)"
|
||
|
}
|
||
|
},
|
||
|
"goal": {
|
||
|
"main": "#473115",
|
||
|
"roof": "#32210b",
|
||
|
"hole": "#14100b"
|
||
|
},
|
||
|
"brick": {
|
||
|
"earth": "rgb(81, 54, 37)",
|
||
|
"ground": "rgb(40, 150, 20)",
|
||
|
"grass": "#2c8300",
|
||
|
"flower": {
|
||
|
"center": "hsb(0, 100%, 100%)",
|
||
|
"petal": "hsb(0, 100%, 100%)",
|
||
|
"haulm": "#2c8300"
|
||
|
},
|
||
|
"tree": {
|
||
|
"leaf": "hsb(110, 100%, 50%)",
|
||
|
"wood": "hsb(32, 100%, 25%)"
|
||
|
},
|
||
|
"coin": {
|
||
|
"fill": "hsb(0, 100%, 100%)",
|
||
|
"stroke": "hsb(0, 100%, 100%)"
|
||
|
}
|
||
|
},
|
||
|
"loader": {
|
||
|
"background": "#3c598d",
|
||
|
"start": "hsb(120, 100%, 30%)",
|
||
|
"finished": "#00d3db",
|
||
|
"spinner": "#00d3db",
|
||
|
"text": {
|
||
|
"fill": "rgb(0, 0, 0)",
|
||
|
"stroke": "#00d3db"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
|
||
|
"messages": {
|
||
|
"won": {
|
||
|
"html": "<p>You won the game! :D Wanna start another?</p>",
|
||
|
"styles": {
|
||
|
"border-color": "rgb(30, 120, 30)",
|
||
|
"height": "auto"
|
||
|
},
|
||
|
"buttons": [
|
||
|
{
|
||
|
"text": "Restart",
|
||
|
"styles": {
|
||
|
"background-color": "rgb(60, 160, 60)"
|
||
|
},
|
||
|
"onclick": "game.restart();"
|
||
|
},
|
||
|
{
|
||
|
"text": "New Game",
|
||
|
"styles": {
|
||
|
"background-color": "rgb(60, 160, 60)"
|
||
|
},
|
||
|
"onclick": "loadNewGame();"
|
||
|
},
|
||
|
{
|
||
|
"text": "Continue",
|
||
|
"styles": {
|
||
|
"background-color": "rgb(60, 160, 60)"
|
||
|
},
|
||
|
"onclick": "game.resume()"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"lost": {
|
||
|
"html": "<p>Oh no, you fell out of the world!</p>",
|
||
|
"styles": {
|
||
|
"border-color": "rgb(160, 30, 30)",
|
||
|
"height": "auto"
|
||
|
},
|
||
|
"buttons": [
|
||
|
{
|
||
|
"text": "Restart",
|
||
|
"styles": {
|
||
|
"background-color": "rgb(160, 60, 60)"
|
||
|
},
|
||
|
"onclick": "game.restart();"
|
||
|
}
|
||
|
]
|
||
|
|
||
|
},
|
||
|
"newGame": {
|
||
|
"html": "<p>Are you sure you wanna start a new one?</p>",
|
||
|
"styles": {
|
||
|
"border-color": "rgb(70, 70, 20)",
|
||
|
"height": "auto"
|
||
|
},
|
||
|
"buttons": [
|
||
|
{
|
||
|
"text": "New Game",
|
||
|
"styles": {
|
||
|
"background-color": "rgb(60, 160, 60)"
|
||
|
},
|
||
|
"onclick": "loadNewGame();"
|
||
|
},
|
||
|
{
|
||
|
"text": "Cancel",
|
||
|
"styles": {
|
||
|
"background-color": "rgb(160, 60, 60)"
|
||
|
},
|
||
|
"onclick": "game.resume();"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"credits": {
|
||
|
"html": "",
|
||
|
"styles": {
|
||
|
"border-color": "rgb(0, 37, 160)",
|
||
|
"background-color": "rgb(83, 61, 255)",
|
||
|
"height": "auto"
|
||
|
},
|
||
|
"buttons": [
|
||
|
{
|
||
|
"text": "Continue",
|
||
|
"styles": {
|
||
|
"background-color": "rgb(60, 160, 60)"
|
||
|
},
|
||
|
"onclick": "game.resume()"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
|
||
|
"audio": {
|
||
|
"sound": {
|
||
|
"won": [
|
||
|
"data/audio/sound/cheer0.mp3",
|
||
|
"data/audio/sound/cheer1.wav",
|
||
|
"data/audio/sound/cheer2.wav",
|
||
|
"data/audio/sound/cheer3.wav"
|
||
|
],
|
||
|
"lost": [
|
||
|
"data/audio/sound/boo0.wav",
|
||
|
"data/audio/sound/aww0.wav",
|
||
|
"data/audio/sound/aww1.wav"
|
||
|
],
|
||
|
"jump": [
|
||
|
"data/audio/sound/jump.mp3"
|
||
|
],
|
||
|
"coin": [
|
||
|
"data/audio/sound/electrical_sweep.mp3"
|
||
|
]
|
||
|
},
|
||
|
"music":{
|
||
|
"game": [
|
||
|
"data/audio/music/background0.mp3",
|
||
|
"data/audio/music/background1.mp3",
|
||
|
"data/audio/music/background2.mp3",
|
||
|
"data/audio/music/background3.mp3",
|
||
|
"data/audio/music/background4.mp3",
|
||
|
"data/audio/music/background5.mp3",
|
||
|
"data/audio/music/background6.mp3",
|
||
|
"data/audio/music/background7.mp3",
|
||
|
"data/audio/music/background8.mp3"
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
|
||
|
"values": {
|
||
|
"minBrickWidth": "200",
|
||
|
"maxBrickWidth": "800",
|
||
|
"backgroundMoveScale": "500",
|
||
|
"minWorldSize": "30000",
|
||
|
"maxWorldSize": "35000",
|
||
|
"maxMapSize": "300",
|
||
|
"coinSize": "50",
|
||
|
"coinRarity": "20",
|
||
|
"coinDispoY": "10",
|
||
|
"loadedWaitTime": "1000",
|
||
|
"cursorTimeLimit": "1000",
|
||
|
"menuAnimationTime": "200",
|
||
|
"openerAnimationTime": "200"
|
||
|
}
|
||
|
}
|
||
|
|