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.
131 lines
3.7 KiB
131 lines
3.7 KiB
2 years ago
|
{
|
||
|
"project": {
|
||
|
"name": "pong",
|
||
|
"author": "BenjoCraeft",
|
||
|
"playerCounts": [2, 3, 4],
|
||
|
"online": {
|
||
|
"iceServers": [
|
||
|
{"urls": "stun:stun.l.google.com:19302"},
|
||
|
{
|
||
|
"urls": "turn:numb.viagenie.ca",
|
||
|
"credential": "muazkh",
|
||
|
"username": "webrtc@live.com"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"frameWork": {
|
||
|
"frameRate": 60,
|
||
|
"updateRate": 60,
|
||
|
"width": 1000,
|
||
|
"height": 1000
|
||
|
},
|
||
|
"game": {
|
||
|
"ball": {
|
||
|
"radius": 10,
|
||
|
"velocity": {
|
||
|
"start": 7,
|
||
|
"min": 5,
|
||
|
"runUpMax": 9,
|
||
|
"resetMultiplier": 0.8
|
||
|
},
|
||
|
"acceleration": {
|
||
|
"permanent": 0.007,
|
||
|
"max": 1
|
||
|
},
|
||
|
"runUp": {
|
||
|
"min": 1000,
|
||
|
"max": 3000
|
||
|
},
|
||
|
"color": {
|
||
|
"stroke": "rgb(0, 0, 220)",
|
||
|
"fill": "rgb(50, 50, 255)"
|
||
|
},
|
||
|
"safeRadius": 75
|
||
|
},
|
||
|
"player": {
|
||
|
"length": 200,
|
||
|
"depth": 12,
|
||
|
"margin": 80,
|
||
|
"points": 20,
|
||
|
"absVel": 6,
|
||
|
"color": {
|
||
|
"stroke": "rgb(0, 0, 0)",
|
||
|
"fill": "rgb(0, 0, 0)"
|
||
|
},
|
||
|
"thisStroke": "rgb(255, 255, 0)",
|
||
|
"moveMargin": 50,
|
||
|
"blinkTime": 200
|
||
|
},
|
||
|
"item": {
|
||
|
"boost": {
|
||
|
"radius": 30,
|
||
|
"types": [
|
||
|
"speed",
|
||
|
"border"
|
||
|
],
|
||
|
"color": {
|
||
|
"positive": {
|
||
|
"stroke": "rgb(0, 255, 0)",
|
||
|
"fill": "rgb(0, 100, 0)"
|
||
|
},
|
||
|
"negative": {
|
||
|
"stroke": "rgb(255, 0, 0)",
|
||
|
"fill": "rgb(100, 0, 0)"
|
||
|
}
|
||
|
},
|
||
|
"spawnTime": 4,
|
||
|
"duration": 20000,
|
||
|
"fadeTime": 500,
|
||
|
"effect": {
|
||
|
"speed": {
|
||
|
"duration": 15000,
|
||
|
"positive": {
|
||
|
"absVel": 9
|
||
|
},
|
||
|
"negative": {
|
||
|
"absVel": 3
|
||
|
},
|
||
|
"standard": {
|
||
|
"absVel": 6
|
||
|
}
|
||
|
},
|
||
|
"border": {
|
||
|
"duration": 10000,
|
||
|
"positive": {
|
||
|
"moveMargin": 0
|
||
|
},
|
||
|
"negative": {
|
||
|
"moveMargin": 100
|
||
|
},
|
||
|
"standard": {
|
||
|
"moveMargin": 50
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"wormhole": {
|
||
|
"minRadius": 80,
|
||
|
"maxRadius": 120,
|
||
|
"fadeTime": 1000,
|
||
|
"power": 100,
|
||
|
"color": {
|
||
|
"fill": "rgb(0, 0, 0)",
|
||
|
"stroke": "rgb(0, 0, 0)"
|
||
|
},
|
||
|
"spawnTime": 20,
|
||
|
"duration": 5000
|
||
|
},
|
||
|
"newBall": {
|
||
|
"radius": 40,
|
||
|
"fadeTime": 1500,
|
||
|
"spawnTime": 15,
|
||
|
"duration": 15000,
|
||
|
"color": {
|
||
|
"fill": "rgb(0, 0, 50)",
|
||
|
"stroke": "rgb(0, 0, 255)"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|