Curva

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

{

"name": "MapaPersonalizado",
"width": 800,
"height": 400,
"spawnDistance": 200,
"bg": {
"type": "hockey",
"width": 0,
"height": 0,
"kickOffRadius": 0,
"cornerRadius": 0
},
"vertexes": [
{"x": -400, "y": 200, "trait": "ballArea"},
{"x": -400, "y": -200, "trait": "ballArea"},
{"x": 400, "y": 200, "trait": "ballArea"},
{"x": 400, "y": -200, "trait": "ballArea"},
{"x": -350, "y": 150, "trait": "kickOffBarrier"},
{"x": -350, "y": -150, "trait": "kickOffBarrier"},
{"x": 350, "y": 150, "trait": "kickOffBarrier"},
{"x": 350, "y": -150, "trait": "kickOffBarrier"},
{"x": 0, "y": 0, "trait": "line"},
{"x": -400, "y": 200, "trait": "ballArea"},
{"x": -400, "y": -200, "trait": "ballArea"},
{"x": 400, "y": 200, "trait": "ballArea"},
{"x": 400, "y": -200, "trait": "ballArea"},
{"x": -350, "y": 150, "trait": "kickOffBarrier"},
{"x": -350, "y": -150, "trait": "kickOffBarrier"},
{"x": 350, "y": 150, "trait": "kickOffBarrier"},
{"x": 350, "y": -150, "trait": "kickOffBarrier"},
{"x": 0, "y": 0, "trait": "line"}
],
"segments": [
{"v0": 0, "v1": 1, "trait": "ballArea"},
{"v0": 2, "v1": 3, "trait": "ballArea"},
{"v0": 4, "v1": 5, "trait": "kickOffBarrier"},
{"v0": 6, "v1": 7, "trait": "kickOffBarrier"},
{"v0": 8, "v1": 9, "trait": "line"},
{"v0": 10, "v1": 11, "trait": "line"},
{"v0": 12, "v1": 13, "trait": "line"},
{"v0": 14, "v1": 15, "trait": "line"},
{"v0": 16, "v1": 17, "trait": "line"},
{"v0": 18, "v1": 19, "trait": "line"}
],
"goals": [
{"p0": [-400, 200], "p1": [-400, -200], "team": "red"},
{"p0": [400, 200], "p1": [400, -200], "team": "blue"}
],
"discs": [
{"pos": [-400, 200], "trait": "goalPost"},
{"pos": [-400, -200], "trait": "goalPost"},
{"pos": [400, 200], "trait": "goalPost"},
{"pos": [400, -200], "trait": "goalPost"}
],
"planes": [
{"normal": [0, 1], "dist": -200, "trait": "ballArea"},
{"normal": [0, -1], "dist": -200, "trait": "ballArea"},
{"normal": [1, 0], "dist": -400, "bCoef": 0.1},
{"normal": [-1, 0], "dist": -400, "bCoef": 0.1}
],
"traits": {
"line": {"cMask": [], "color": "FFFFFF"},
"ballArea": {"vis": false, "bCoef": 1, "cMask": ["ball"]},
"goalPost": {"radius": 10, "invMass": 0, "bCoef": 0.5}
},
"playerPhysics": {"bCoef": 0.2, "kickStrength": 6.15},
"ballPhysics": {"radius": 8, "bCoef": 0.4, "color": "FFFF00"}
}

You might also like