toy_freddy basic movement and camera adjust to the animatronics on it

This commit is contained in:
2026-04-01 15:09:34 -03:00
parent f40831c3c2
commit 8e85745222
31 changed files with 674 additions and 80 deletions

View File

@@ -1,5 +1,5 @@
{
"animatronics": [
"freddy"
"toy_freddy"
]
}

View File

@@ -1,6 +1,6 @@
{
"id": "freddy",
"displayName": "Freddy Fazbear",
"id": "toy_freddy",
"displayName": "Freddy Fazbear (Toy)",
"inRoom": 9,
"restRoom": 9,
@@ -9,14 +9,14 @@
"movement": {
"type": "SEQUENTIAL",
"path": [9],
"moveIntervalSeconds": 30,
"path": [9, 10, -2, -3],
"moveIntervalSeconds": 12,
"aiSpeedMultiplier": true
},
"attackType": {
"kind": "LIGHT",
"lightLevel": 3
"kind": "IN_OFFICE",
"officeSprite": 3
},
"jumpscare": {

View File

@@ -4,18 +4,18 @@
"min": 5000,
"max": 7000
},
"lightHitbox": {
"x": 100,
"y": 200,
"width": 400,
"height": 350
},
"sprites": [
{ "type": "BORDER", "x": 0, "y": 0, "zIndex": 0 },
{ "type": "MAP", "x": 550, "y": 310, "fromTop": true, "zIndex": 1 },
{ "type": "BORDER", "group": "cameras", "key": "borderline", "frame": 0, "x": 0, "y": 0, "zIndex": 0 },
{ "type": "MAP", "group": "cameras", "key": "map", "frame": 0, "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 }
{ "type": "REC", "group": "cameras", "key": "recordSprite", "frame": 0, "x": 40, "y": 40, "fromTop": true, "zIndex": 3 },
{ "type": "SIGNAL_INTERRUPTED", "group": "cameras", "key": "signalInterrupted", "frame": 0, "x": 0, "y": 80, "fromTop": true, "centerX": true, "zIndex": 10 }
],
"cameras": [
{
@@ -24,7 +24,12 @@
"labelPathId": 0,
"buttonX": 595,
"buttonY": 496,
"wide": false
"wide": false,
"variants": [
{ "animatronics": ["toy_chica"], "indexOff": 0, "indexOn": 3 },
{ "animatronics": ["withered_bonnie"], "indexOff": 0, "indexOn": 2 },
{ "animatronics": [], "indexOff": 0, "indexOn": 1 }
]
},
{
"id": 2,
@@ -32,7 +37,12 @@
"labelPathId": 1,
"buttonX": 710,
"buttonY": 496,
"wide": false
"wide": false,
"variants": [
{ "animatronics": ["toy_bonnie"], "indexOff": 0, "indexOn": 2 },
{ "animatronics": ["withered_chica"], "indexOff": 3, "indexOn": 4 },
{ "animatronics": [], "indexOff": 0, "indexOn": 1 }
]
},
{
"id": 3,
@@ -40,7 +50,12 @@
"labelPathId": 2,
"buttonX": 595,
"buttonY": 431,
"wide": false
"wide": false,
"variants": [
{ "animatronics": ["toy_bonnie"], "indexOff": 0, "indexOn": 2 },
{ "animatronics": ["withered_freddy"], "indexOff": 3, "indexOn": 4 },
{ "animatronics": [], "indexOff": 0, "indexOn": 1 }
]
},
{
"id": 4,
@@ -48,7 +63,13 @@
"labelPathId": 3,
"buttonX": 710,
"buttonY": 431,
"wide": false
"wide": false,
"variants": [
{ "animatronics": ["toy_bonnie"], "indexOff": 2, "indexOn": 3 },
{ "animatronics": ["toy_chica"], "indexOff": 0, "indexOn": 4 },
{ "animatronics": ["withered_chica"], "indexOff": 0, "indexOn": 5 },
{ "animatronics": [], "indexOff": 0, "indexOn": 1 }
]
},
{
"id": 5,
@@ -56,7 +77,14 @@
"labelPathId": 4,
"buttonX": 585,
"buttonY": 595,
"wide": false
"wide": false,
"variants": [
{ "animatronics": ["toy_chica"], "indexOff": 0, "indexOn": 4 },
{ "animatronics": ["baloon_boy"], "indexOff": 0, "indexOn": 3 },
{ "animatronics": ["withered_bonnie"], "indexOff": 0, "indexOn": 2 },
{ "animatronics": ["endo"], "indexOff": 0, "indexOn": 5 },
{ "animatronics": [], "indexOff": 0, "indexOn": 1 }
]
},
{
"id": 6,
@@ -64,7 +92,13 @@
"labelPathId": 5,
"buttonX": 695,
"buttonY": 595,
"wide": false
"wide": false,
"variants": [
{ "animatronics": ["toy_bonnie"], "indexOff": 0, "indexOn": 2 },
{ "animatronics": ["withered_chica"], "indexOff": 0, "indexOn": 3 },
{ "animatronics": ["mangle"], "indexOff": 0, "indexOn": 4 },
{ "animatronics": [], "indexOff": 0, "indexOn": 1 }
]
},
{
"id": 7,
@@ -72,7 +106,13 @@
"labelPathId": 6,
"buttonX": 734,
"buttonY": 367,
"wide": true
"wide": true,
"variants": [
{ "animatronics": ["toy_chica"], "indexOff": 4, "indexOn": 5 },
{ "animatronics": ["withered_freddy"], "indexOff": 0, "indexOn": 3 },
{ "animatronics": ["withered_bonnie"], "indexOff": 0, "indexOn": 2 },
{ "animatronics": [], "indexOff": 0, "indexOn": 1 }
]
},
{
"id": 8,
@@ -80,7 +120,16 @@
"labelPathId": 7,
"buttonX": 575,
"buttonY": 356,
"wide": true
"wide": true,
"variants": [
{ "animatronics": ["withered_freddy", "withered_bonnie", "withered_chica"], "indexOff": 0, "indexOn": 1 },
{ "animatronics": ["withered_freddy", "withered_chica"], "indexOff": 0, "indexOn": 2 },
{ "animatronics": ["withered_freddy"], "indexOff": 0, "indexOn": 3 },
{ "animatronics": ["foxy"], "indexOff": 0, "indexOn": 4 },
{ "animatronics": ["TODO"], "condition": "ENDO_1987", "indexOff": 0, "indexOn": 6 },
{ "animatronics": ["TODO"], "condition": "SHADOW_FREDDY", "indexOff": 0, "indexOn": 5 },
{ "animatronics": [], "indexOff": 0, "indexOn": 5 }
]
},
{
"id": 9,
@@ -88,7 +137,13 @@
"labelPathId": 8,
"buttonX": 895,
"buttonY": 331,
"wide": true
"wide": true,
"variants": [
{ "animatronics": ["toy_bonnie", "toy_freddy", "toy_chica"], "indexOff": 0, "indexOn": 1 },
{ "animatronics": ["toy_freddy", "toy_chica"], "indexOff": 2, "indexOn": 3 },
{ "animatronics": ["toy_freddy"], "indexOff": 4, "indexOn": 5 },
{ "animatronics": [], "indexOff": 6, "indexOn": -1 }
]
},
{
"id": 10,
@@ -96,7 +151,13 @@
"labelPathId": 9,
"buttonX": 820,
"buttonY": 455,
"wide": true
"wide": true,
"variants": [
{ "animatronics": ["toy_freddy", "baloon_boy"], "indexOff": 0, "indexOn": 4 },
{ "animatronics": ["toy_freddy"], "indexOff": 2, "indexOn": 5 },
{ "animatronics": ["baloon_boy"], "indexOff": 0, "indexOn": 1 },
{ "animatronics": [], "indexOff": 2, "indexOn": 3 }
]
},
{
"id": 11,
@@ -104,7 +165,15 @@
"labelPathId": 10,
"buttonX": 929,
"buttonY": 405,
"wide": true
"wide": true,
"variants": [
{ "animatronics": ["puppet"], "indexOff": 0, "indexOn": 1 },
{ "animatronics": ["puppet", "TODO"], "condition": "PUPPET_POS_1_TIMEOUT", "indexOff": 0, "indexOn": 2 },
{ "animatronics": ["puppet", "TODO"], "condition": "PUPPET_POS_2_TIMEOUT", "indexOff": 0, "indexOn": 3 },
{ "animatronics": ["puppet", "TODO"], "condition": "PUPPET_POS_3_TIMEOUT", "indexOff": 0, "indexOn": 4 },
{ "animatronics": ["endo"], "indexOff": 0, "indexOn": 5 },
{ "animatronics": [], "indexOff": 0, "indexOn": 1 }
]
},
{
"id": 12,
@@ -112,15 +181,11 @@
"labelPathId": 11,
"buttonX": 920,
"buttonY": 503,
"wide": true
},
{
"id": 13,
"name": "ShowStage",
"labelPathId": 1,
"buttonX": 120,
"buttonY": 503,
"wide": true
"wide": true,
"variants": [
{ "animatronics": ["mangle"], "indexOff": 0, "indexOn": 2 },
{ "animatronics": [], "indexOff": 0, "indexOn": 1 }
]
}
]
}