Partially implemented office.json and states in animatronics movements
This commit is contained in:
60
assets/data/config/office.json
Normal file
60
assets/data/config/office.json
Normal 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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user