Partially implemented office.json and states in animatronics movements

This commit is contained in:
2026-04-02 15:42:08 -03:00
parent 8e85745222
commit 458d30f107
20 changed files with 487 additions and 262 deletions

View File

@@ -0,0 +1,60 @@
{
"config": [
{
"id": "hallway",
"officeSpriteKey": "hallway",
"hitbox": {
"x": 600,
"y": 200,
"width": 400,
"height": 300
},
"variants": [
{
"animatronics": [],
"indexOn": 0
},
{
"animatronics": [{"id": "toy_freddy", "state": 0}],
"indexOn": 2
},
{
"animatronics": [{"id": "toy_freddy", "state": 1}],
"indexOn": 4
}
]
},
{
"id": "rightVent",
"officeSpriteKey": "rightVents",
"hitbox": {
"x": 1440,
"y": 200,
"width": 80,
"height": 90
},
"variants": [
{
"animatronics": [],
"indexOn": 0
}
]
},
{
"id": "leftVent",
"officeSpriteKey": "leftVents",
"hitbox": {
"x": 100,
"y": 200,
"width": 80,
"height": 90
},
"variants": [
{
"animatronics": [],
"indexOn": 0
}
]
}
]
}