CameraUI sprites positions configurable via cameras.json

This commit is contained in:
2026-03-31 23:02:52 -03:00
parent 44acbe0e32
commit ffa3dc076b
35 changed files with 396 additions and 100 deletions

View File

@@ -0,0 +1,126 @@
{
"inCameraId": 1,
"wideRandomMov": {
"min": 5000,
"max": 7000
},
"sprites": [
{ "type": "BORDER", "x": 0, "y": 0, "zIndex": 0 },
{ "type": "MAP", "x": 550, "y": 310, "fromTop": true, "zIndex": 1 },
{ "type": "LABEL", "x": 550, "y": 280, "fromTop": true, "zIndex": 2 },
{ "type": "REC", "x": 40, "y": 40, "fromTop": true, "zIndex": 3 },
{ "type": "REC", "x": 90, "y": 130, "fromTop": true, "zIndex": 3 },
{ "type": "SIGNAL_INTERRUPTED", "x": 0, "y": 80, "fromTop": true, "centerX": true, "zIndex": 10 }
],
"cameras": [
{
"id": 1,
"name": "PartyRoom1",
"labelPathId": 0,
"buttonX": 595,
"buttonY": 496,
"wide": false
},
{
"id": 2,
"name": "PartyRoom2",
"labelPathId": 1,
"buttonX": 710,
"buttonY": 496,
"wide": false
},
{
"id": 3,
"name": "PartyRoom3",
"labelPathId": 2,
"buttonX": 595,
"buttonY": 431,
"wide": false
},
{
"id": 4,
"name": "PartyRoom4",
"labelPathId": 3,
"buttonX": 710,
"buttonY": 431,
"wide": false
},
{
"id": 5,
"name": "LeftAirVent",
"labelPathId": 4,
"buttonX": 585,
"buttonY": 595,
"wide": false
},
{
"id": 6,
"name": "RightAirVent",
"labelPathId": 5,
"buttonX": 695,
"buttonY": 595,
"wide": false
},
{
"id": 7,
"name": "MainHall",
"labelPathId": 6,
"buttonX": 734,
"buttonY": 367,
"wide": true
},
{
"id": 8,
"name": "PartsnService",
"labelPathId": 7,
"buttonX": 575,
"buttonY": 356,
"wide": true
},
{
"id": 9,
"name": "ShowStage",
"labelPathId": 8,
"buttonX": 895,
"buttonY": 331,
"wide": true
},
{
"id": 10,
"name": "GameArea",
"labelPathId": 9,
"buttonX": 820,
"buttonY": 455,
"wide": true
},
{
"id": 11,
"name": "PrizeCorner",
"labelPathId": 10,
"buttonX": 929,
"buttonY": 405,
"wide": true
},
{
"id": 12,
"name": "KidsCove",
"labelPathId": 11,
"buttonX": 920,
"buttonY": 503,
"wide": true
},
{
"id": 13,
"name": "ShowStage",
"labelPathId": 1,
"buttonX": 120,
"buttonY": 503,
"wide": true
}
]
}