diff --git a/public/break_escape/assets/characters/female_office_worker.json b/public/break_escape/assets/characters/female_office_worker.json index 4b2c348..9eb2dab 100644 --- a/public/break_escape/assets/characters/female_office_worker.json +++ b/public/break_escape/assets/characters/female_office_worker.json @@ -182,8 +182,8 @@ }, "breathing-idle_north-west_frame_001": { "frame": { - "x": 0, - "y": 82, + "x": 1066, + "y": 0, "w": 80, "h": 80 }, @@ -202,8 +202,8 @@ }, "breathing-idle_north-west_frame_002": { "frame": { - "x": 82, - "y": 82, + "x": 1148, + "y": 0, "w": 80, "h": 80 }, @@ -222,8 +222,8 @@ }, "breathing-idle_north-west_frame_003": { "frame": { - "x": 164, - "y": 82, + "x": 1230, + "y": 0, "w": 80, "h": 80 }, @@ -322,7 +322,7 @@ }, "breathing-idle_south-east_frame_000": { "frame": { - "x": 574, + "x": 246, "y": 82, "w": 80, "h": 80 @@ -342,7 +342,7 @@ }, "breathing-idle_south-east_frame_001": { "frame": { - "x": 656, + "x": 328, "y": 82, "w": 80, "h": 80 @@ -362,7 +362,7 @@ }, "breathing-idle_south-east_frame_002": { "frame": { - "x": 738, + "x": 410, "y": 82, "w": 80, "h": 80 @@ -382,7 +382,7 @@ }, "breathing-idle_south-east_frame_003": { "frame": { - "x": 820, + "x": 492, "y": 82, "w": 80, "h": 80 @@ -402,7 +402,7 @@ }, "breathing-idle_south-west_frame_000": { "frame": { - "x": 902, + "x": 574, "y": 82, "w": 80, "h": 80 @@ -422,7 +422,7 @@ }, "breathing-idle_south-west_frame_001": { "frame": { - "x": 984, + "x": 656, "y": 82, "w": 80, "h": 80 @@ -442,8 +442,8 @@ }, "breathing-idle_south-west_frame_002": { "frame": { - "x": 0, - "y": 164, + "x": 738, + "y": 82, "w": 80, "h": 80 }, @@ -462,8 +462,8 @@ }, "breathing-idle_south-west_frame_003": { "frame": { - "x": 82, - "y": 164, + "x": 820, + "y": 82, "w": 80, "h": 80 }, @@ -482,8 +482,8 @@ }, "breathing-idle_south_frame_000": { "frame": { - "x": 246, - "y": 82, + "x": 1312, + "y": 0, "w": 80, "h": 80 }, @@ -502,7 +502,7 @@ }, "breathing-idle_south_frame_001": { "frame": { - "x": 328, + "x": 0, "y": 82, "w": 80, "h": 80 @@ -522,7 +522,7 @@ }, "breathing-idle_south_frame_002": { "frame": { - "x": 410, + "x": 82, "y": 82, "w": 80, "h": 80 @@ -542,7 +542,7 @@ }, "breathing-idle_south_frame_003": { "frame": { - "x": 492, + "x": 164, "y": 82, "w": 80, "h": 80 @@ -562,8 +562,8 @@ }, "breathing-idle_west_frame_000": { "frame": { - "x": 164, - "y": 164, + "x": 902, + "y": 82, "w": 80, "h": 80 }, @@ -582,8 +582,8 @@ }, "breathing-idle_west_frame_001": { "frame": { - "x": 246, - "y": 164, + "x": 984, + "y": 82, "w": 80, "h": 80 }, @@ -602,8 +602,8 @@ }, "breathing-idle_west_frame_002": { "frame": { - "x": 328, - "y": 164, + "x": 1066, + "y": 82, "w": 80, "h": 80 }, @@ -622,8 +622,8 @@ }, "breathing-idle_west_frame_003": { "frame": { - "x": 410, - "y": 164, + "x": 1148, + "y": 82, "w": 80, "h": 80 }, @@ -642,8 +642,8 @@ }, "cross-punch_east_frame_000": { "frame": { - "x": 492, - "y": 164, + "x": 1230, + "y": 82, "w": 80, "h": 80 }, @@ -662,8 +662,8 @@ }, "cross-punch_east_frame_001": { "frame": { - "x": 574, - "y": 164, + "x": 1312, + "y": 82, "w": 80, "h": 80 }, @@ -682,7 +682,7 @@ }, "cross-punch_east_frame_002": { "frame": { - "x": 656, + "x": 0, "y": 164, "w": 80, "h": 80 @@ -702,7 +702,7 @@ }, "cross-punch_east_frame_003": { "frame": { - "x": 738, + "x": 82, "y": 164, "w": 80, "h": 80 @@ -722,7 +722,7 @@ }, "cross-punch_east_frame_004": { "frame": { - "x": 820, + "x": 164, "y": 164, "w": 80, "h": 80 @@ -742,7 +742,7 @@ }, "cross-punch_east_frame_005": { "frame": { - "x": 902, + "x": 246, "y": 164, "w": 80, "h": 80 @@ -762,8 +762,8 @@ }, "cross-punch_north-east_frame_000": { "frame": { - "x": 410, - "y": 246, + "x": 820, + "y": 164, "w": 80, "h": 80 }, @@ -782,8 +782,8 @@ }, "cross-punch_north-east_frame_001": { "frame": { - "x": 492, - "y": 246, + "x": 902, + "y": 164, "w": 80, "h": 80 }, @@ -801,206 +801,6 @@ } }, "cross-punch_north-east_frame_002": { - "frame": { - "x": 574, - "y": 246, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "cross-punch_north-east_frame_003": { - "frame": { - "x": 656, - "y": 246, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "cross-punch_north-east_frame_004": { - "frame": { - "x": 738, - "y": 246, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "cross-punch_north-east_frame_005": { - "frame": { - "x": 820, - "y": 246, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "cross-punch_north-west_frame_000": { - "frame": { - "x": 902, - "y": 246, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "cross-punch_north-west_frame_001": { - "frame": { - "x": 984, - "y": 246, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "cross-punch_north-west_frame_002": { - "frame": { - "x": 0, - "y": 328, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "cross-punch_north-west_frame_003": { - "frame": { - "x": 82, - "y": 328, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "cross-punch_north-west_frame_004": { - "frame": { - "x": 164, - "y": 328, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "cross-punch_north-west_frame_005": { - "frame": { - "x": 246, - "y": 328, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "cross-punch_north_frame_000": { "frame": { "x": 984, "y": 164, @@ -1020,7 +820,87 @@ "h": 80 } }, - "cross-punch_north_frame_001": { + "cross-punch_north-east_frame_003": { + "frame": { + "x": 1066, + "y": 164, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "cross-punch_north-east_frame_004": { + "frame": { + "x": 1148, + "y": 164, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "cross-punch_north-east_frame_005": { + "frame": { + "x": 1230, + "y": 164, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "cross-punch_north-west_frame_000": { + "frame": { + "x": 1312, + "y": 164, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "cross-punch_north-west_frame_001": { "frame": { "x": 0, "y": 246, @@ -1040,10 +920,130 @@ "h": 80 } }, + "cross-punch_north-west_frame_002": { + "frame": { + "x": 82, + "y": 246, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "cross-punch_north-west_frame_003": { + "frame": { + "x": 164, + "y": 246, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "cross-punch_north-west_frame_004": { + "frame": { + "x": 246, + "y": 246, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "cross-punch_north-west_frame_005": { + "frame": { + "x": 328, + "y": 246, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "cross-punch_north_frame_000": { + "frame": { + "x": 328, + "y": 164, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "cross-punch_north_frame_001": { + "frame": { + "x": 410, + "y": 164, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, "cross-punch_north_frame_002": { "frame": { - "x": 82, - "y": 246, + "x": 492, + "y": 164, "w": 80, "h": 80 }, @@ -1062,8 +1062,8 @@ }, "cross-punch_north_frame_003": { "frame": { - "x": 164, - "y": 246, + "x": 574, + "y": 164, "w": 80, "h": 80 }, @@ -1082,8 +1082,8 @@ }, "cross-punch_north_frame_004": { "frame": { - "x": 246, - "y": 246, + "x": 656, + "y": 164, "w": 80, "h": 80 }, @@ -1102,8 +1102,8 @@ }, "cross-punch_north_frame_005": { "frame": { - "x": 328, - "y": 246, + "x": 738, + "y": 164, "w": 80, "h": 80 }, @@ -1122,8 +1122,8 @@ }, "cross-punch_south-east_frame_000": { "frame": { - "x": 820, - "y": 328, + "x": 902, + "y": 246, "w": 80, "h": 80 }, @@ -1142,8 +1142,8 @@ }, "cross-punch_south-east_frame_001": { "frame": { - "x": 902, - "y": 328, + "x": 984, + "y": 246, "w": 80, "h": 80 }, @@ -1162,8 +1162,8 @@ }, "cross-punch_south-east_frame_002": { "frame": { - "x": 984, - "y": 328, + "x": 1066, + "y": 246, "w": 80, "h": 80 }, @@ -1182,8 +1182,8 @@ }, "cross-punch_south-east_frame_003": { "frame": { - "x": 0, - "y": 410, + "x": 1148, + "y": 246, "w": 80, "h": 80 }, @@ -1202,8 +1202,8 @@ }, "cross-punch_south-east_frame_004": { "frame": { - "x": 82, - "y": 410, + "x": 1230, + "y": 246, "w": 80, "h": 80 }, @@ -1222,8 +1222,8 @@ }, "cross-punch_south-east_frame_005": { "frame": { - "x": 164, - "y": 410, + "x": 1312, + "y": 246, "w": 80, "h": 80 }, @@ -1242,8 +1242,8 @@ }, "cross-punch_south-west_frame_000": { "frame": { - "x": 246, - "y": 410, + "x": 0, + "y": 328, "w": 80, "h": 80 }, @@ -1262,8 +1262,8 @@ }, "cross-punch_south-west_frame_001": { "frame": { - "x": 328, - "y": 410, + "x": 82, + "y": 328, "w": 80, "h": 80 }, @@ -1282,8 +1282,8 @@ }, "cross-punch_south-west_frame_002": { "frame": { - "x": 410, - "y": 410, + "x": 164, + "y": 328, "w": 80, "h": 80 }, @@ -1302,8 +1302,8 @@ }, "cross-punch_south-west_frame_003": { "frame": { - "x": 492, - "y": 410, + "x": 246, + "y": 328, "w": 80, "h": 80 }, @@ -1322,8 +1322,8 @@ }, "cross-punch_south-west_frame_004": { "frame": { - "x": 574, - "y": 410, + "x": 328, + "y": 328, "w": 80, "h": 80 }, @@ -1342,8 +1342,8 @@ }, "cross-punch_south-west_frame_005": { "frame": { - "x": 656, - "y": 410, + "x": 410, + "y": 328, "w": 80, "h": 80 }, @@ -1362,8 +1362,8 @@ }, "cross-punch_south_frame_000": { "frame": { - "x": 328, - "y": 328, + "x": 410, + "y": 246, "w": 80, "h": 80 }, @@ -1382,8 +1382,8 @@ }, "cross-punch_south_frame_001": { "frame": { - "x": 410, - "y": 328, + "x": 492, + "y": 246, "w": 80, "h": 80 }, @@ -1402,8 +1402,8 @@ }, "cross-punch_south_frame_002": { "frame": { - "x": 492, - "y": 328, + "x": 574, + "y": 246, "w": 80, "h": 80 }, @@ -1422,8 +1422,8 @@ }, "cross-punch_south_frame_003": { "frame": { - "x": 574, - "y": 328, + "x": 656, + "y": 246, "w": 80, "h": 80 }, @@ -1442,8 +1442,8 @@ }, "cross-punch_south_frame_004": { "frame": { - "x": 656, - "y": 328, + "x": 738, + "y": 246, "w": 80, "h": 80 }, @@ -1462,8 +1462,8 @@ }, "cross-punch_south_frame_005": { "frame": { - "x": 738, - "y": 328, + "x": 820, + "y": 246, "w": 80, "h": 80 }, @@ -1482,8 +1482,8 @@ }, "cross-punch_west_frame_000": { "frame": { - "x": 738, - "y": 410, + "x": 492, + "y": 328, "w": 80, "h": 80 }, @@ -1502,8 +1502,8 @@ }, "cross-punch_west_frame_001": { "frame": { - "x": 820, - "y": 410, + "x": 574, + "y": 328, "w": 80, "h": 80 }, @@ -1522,8 +1522,8 @@ }, "cross-punch_west_frame_002": { "frame": { - "x": 902, - "y": 410, + "x": 656, + "y": 328, "w": 80, "h": 80 }, @@ -1542,8 +1542,8 @@ }, "cross-punch_west_frame_003": { "frame": { - "x": 984, - "y": 410, + "x": 738, + "y": 328, "w": 80, "h": 80 }, @@ -1562,8 +1562,8 @@ }, "cross-punch_west_frame_004": { "frame": { - "x": 0, - "y": 492, + "x": 820, + "y": 328, "w": 80, "h": 80 }, @@ -1581,6 +1581,346 @@ } }, "cross-punch_west_frame_005": { + "frame": { + "x": 902, + "y": 328, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_east_frame_000": { + "frame": { + "x": 984, + "y": 328, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_east_frame_001": { + "frame": { + "x": 1066, + "y": 328, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_east_frame_002": { + "frame": { + "x": 1148, + "y": 328, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_east_frame_003": { + "frame": { + "x": 1230, + "y": 328, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_east_frame_004": { + "frame": { + "x": 1312, + "y": 328, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_east_frame_005": { + "frame": { + "x": 0, + "y": 410, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_east_frame_006": { + "frame": { + "x": 82, + "y": 410, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_north-east_frame_000": { + "frame": { + "x": 738, + "y": 410, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_north-east_frame_001": { + "frame": { + "x": 820, + "y": 410, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_north-east_frame_002": { + "frame": { + "x": 902, + "y": 410, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_north-east_frame_003": { + "frame": { + "x": 984, + "y": 410, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_north-east_frame_004": { + "frame": { + "x": 1066, + "y": 410, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_north-east_frame_005": { + "frame": { + "x": 1148, + "y": 410, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_north-east_frame_006": { + "frame": { + "x": 1230, + "y": 410, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_north-west_frame_000": { + "frame": { + "x": 1312, + "y": 410, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_north-west_frame_001": { + "frame": { + "x": 0, + "y": 492, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_north-west_frame_002": { "frame": { "x": 82, "y": 492, @@ -1600,10 +1940,790 @@ "h": 80 } }, + "falling-back-death_north-west_frame_003": { + "frame": { + "x": 164, + "y": 492, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_north-west_frame_004": { + "frame": { + "x": 246, + "y": 492, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_north-west_frame_005": { + "frame": { + "x": 328, + "y": 492, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_north-west_frame_006": { + "frame": { + "x": 410, + "y": 492, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_north_frame_000": { + "frame": { + "x": 164, + "y": 410, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_north_frame_001": { + "frame": { + "x": 246, + "y": 410, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_north_frame_002": { + "frame": { + "x": 328, + "y": 410, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_north_frame_003": { + "frame": { + "x": 410, + "y": 410, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_north_frame_004": { + "frame": { + "x": 492, + "y": 410, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_north_frame_005": { + "frame": { + "x": 574, + "y": 410, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_north_frame_006": { + "frame": { + "x": 656, + "y": 410, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_south-east_frame_000": { + "frame": { + "x": 1066, + "y": 492, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_south-east_frame_001": { + "frame": { + "x": 1148, + "y": 492, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_south-east_frame_002": { + "frame": { + "x": 1230, + "y": 492, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_south-east_frame_003": { + "frame": { + "x": 1312, + "y": 492, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_south-east_frame_004": { + "frame": { + "x": 0, + "y": 574, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_south-east_frame_005": { + "frame": { + "x": 82, + "y": 574, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_south-east_frame_006": { + "frame": { + "x": 164, + "y": 574, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_south-west_frame_000": { + "frame": { + "x": 246, + "y": 574, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_south-west_frame_001": { + "frame": { + "x": 328, + "y": 574, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_south-west_frame_002": { + "frame": { + "x": 410, + "y": 574, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_south-west_frame_003": { + "frame": { + "x": 492, + "y": 574, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_south-west_frame_004": { + "frame": { + "x": 574, + "y": 574, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_south-west_frame_005": { + "frame": { + "x": 656, + "y": 574, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_south-west_frame_006": { + "frame": { + "x": 738, + "y": 574, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_south_frame_000": { + "frame": { + "x": 492, + "y": 492, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_south_frame_001": { + "frame": { + "x": 574, + "y": 492, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_south_frame_002": { + "frame": { + "x": 656, + "y": 492, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_south_frame_003": { + "frame": { + "x": 738, + "y": 492, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_south_frame_004": { + "frame": { + "x": 820, + "y": 492, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_south_frame_005": { + "frame": { + "x": 902, + "y": 492, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_south_frame_006": { + "frame": { + "x": 984, + "y": 492, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_west_frame_000": { + "frame": { + "x": 820, + "y": 574, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_west_frame_001": { + "frame": { + "x": 902, + "y": 574, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_west_frame_002": { + "frame": { + "x": 984, + "y": 574, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_west_frame_003": { + "frame": { + "x": 1066, + "y": 574, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_west_frame_004": { + "frame": { + "x": 1148, + "y": 574, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_west_frame_005": { + "frame": { + "x": 1230, + "y": 574, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_west_frame_006": { + "frame": { + "x": 1312, + "y": 574, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, "lead-jab_east_frame_000": { "frame": { - "x": 164, - "y": 492, + "x": 0, + "y": 656, "w": 80, "h": 80 }, @@ -1622,8 +2742,8 @@ }, "lead-jab_east_frame_001": { "frame": { - "x": 246, - "y": 492, + "x": 82, + "y": 656, "w": 80, "h": 80 }, @@ -1642,8 +2762,8 @@ }, "lead-jab_east_frame_002": { "frame": { - "x": 328, - "y": 492, + "x": 164, + "y": 656, "w": 80, "h": 80 }, @@ -1662,8 +2782,8 @@ }, "lead-jab_north-east_frame_000": { "frame": { - "x": 656, - "y": 492, + "x": 492, + "y": 656, "w": 80, "h": 80 }, @@ -1682,8 +2802,8 @@ }, "lead-jab_north-east_frame_001": { "frame": { - "x": 738, - "y": 492, + "x": 574, + "y": 656, "w": 80, "h": 80 }, @@ -1702,8 +2822,8 @@ }, "lead-jab_north-east_frame_002": { "frame": { - "x": 820, - "y": 492, + "x": 656, + "y": 656, "w": 80, "h": 80 }, @@ -1722,8 +2842,8 @@ }, "lead-jab_north-west_frame_000": { "frame": { - "x": 902, - "y": 492, + "x": 738, + "y": 656, "w": 80, "h": 80 }, @@ -1742,8 +2862,8 @@ }, "lead-jab_north-west_frame_001": { "frame": { - "x": 984, - "y": 492, + "x": 820, + "y": 656, "w": 80, "h": 80 }, @@ -1762,8 +2882,8 @@ }, "lead-jab_north-west_frame_002": { "frame": { - "x": 0, - "y": 574, + "x": 902, + "y": 656, "w": 80, "h": 80 }, @@ -1782,8 +2902,8 @@ }, "lead-jab_north_frame_000": { "frame": { - "x": 410, - "y": 492, + "x": 246, + "y": 656, "w": 80, "h": 80 }, @@ -1802,8 +2922,8 @@ }, "lead-jab_north_frame_001": { "frame": { - "x": 492, - "y": 492, + "x": 328, + "y": 656, "w": 80, "h": 80 }, @@ -1822,8 +2942,8 @@ }, "lead-jab_north_frame_002": { "frame": { - "x": 574, - "y": 492, + "x": 410, + "y": 656, "w": 80, "h": 80 }, @@ -1842,8 +2962,8 @@ }, "lead-jab_south-east_frame_000": { "frame": { - "x": 328, - "y": 574, + "x": 1230, + "y": 656, "w": 80, "h": 80 }, @@ -1862,8 +2982,8 @@ }, "lead-jab_south-east_frame_001": { "frame": { - "x": 410, - "y": 574, + "x": 1312, + "y": 656, "w": 80, "h": 80 }, @@ -1882,8 +3002,8 @@ }, "lead-jab_south-east_frame_002": { "frame": { - "x": 492, - "y": 574, + "x": 0, + "y": 738, "w": 80, "h": 80 }, @@ -1902,8 +3022,8 @@ }, "lead-jab_south-west_frame_000": { "frame": { - "x": 574, - "y": 574, + "x": 82, + "y": 738, "w": 80, "h": 80 }, @@ -1922,8 +3042,8 @@ }, "lead-jab_south-west_frame_001": { "frame": { - "x": 656, - "y": 574, + "x": 164, + "y": 738, "w": 80, "h": 80 }, @@ -1942,8 +3062,8 @@ }, "lead-jab_south-west_frame_002": { "frame": { - "x": 738, - "y": 574, + "x": 246, + "y": 738, "w": 80, "h": 80 }, @@ -1962,8 +3082,8 @@ }, "lead-jab_south_frame_000": { "frame": { - "x": 82, - "y": 574, + "x": 984, + "y": 656, "w": 80, "h": 80 }, @@ -1982,8 +3102,8 @@ }, "lead-jab_south_frame_001": { "frame": { - "x": 164, - "y": 574, + "x": 1066, + "y": 656, "w": 80, "h": 80 }, @@ -2002,8 +3122,8 @@ }, "lead-jab_south_frame_002": { "frame": { - "x": 246, - "y": 574, + "x": 1148, + "y": 656, "w": 80, "h": 80 }, @@ -2022,8 +3142,8 @@ }, "lead-jab_west_frame_000": { "frame": { - "x": 820, - "y": 574, + "x": 328, + "y": 738, "w": 80, "h": 80 }, @@ -2042,8 +3162,8 @@ }, "lead-jab_west_frame_001": { "frame": { - "x": 902, - "y": 574, + "x": 410, + "y": 738, "w": 80, "h": 80 }, @@ -2061,9 +3181,969 @@ } }, "lead-jab_west_frame_002": { + "frame": { + "x": 492, + "y": 738, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_east_frame_000": { + "frame": { + "x": 574, + "y": 738, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_east_frame_001": { + "frame": { + "x": 656, + "y": 738, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_east_frame_002": { + "frame": { + "x": 738, + "y": 738, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_east_frame_003": { + "frame": { + "x": 820, + "y": 738, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_east_frame_004": { + "frame": { + "x": 902, + "y": 738, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_east_frame_005": { "frame": { "x": 984, - "y": 574, + "y": 738, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_north-east_frame_000": { + "frame": { + "x": 164, + "y": 820, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_north-east_frame_001": { + "frame": { + "x": 246, + "y": 820, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_north-east_frame_002": { + "frame": { + "x": 328, + "y": 820, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_north-east_frame_003": { + "frame": { + "x": 410, + "y": 820, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_north-east_frame_004": { + "frame": { + "x": 492, + "y": 820, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_north-east_frame_005": { + "frame": { + "x": 574, + "y": 820, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_north-west_frame_000": { + "frame": { + "x": 656, + "y": 820, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_north-west_frame_001": { + "frame": { + "x": 738, + "y": 820, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_north-west_frame_002": { + "frame": { + "x": 820, + "y": 820, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_north-west_frame_003": { + "frame": { + "x": 902, + "y": 820, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_north-west_frame_004": { + "frame": { + "x": 984, + "y": 820, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_north-west_frame_005": { + "frame": { + "x": 1066, + "y": 820, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_north_frame_000": { + "frame": { + "x": 1066, + "y": 738, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_north_frame_001": { + "frame": { + "x": 1148, + "y": 738, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_north_frame_002": { + "frame": { + "x": 1230, + "y": 738, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_north_frame_003": { + "frame": { + "x": 1312, + "y": 738, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_north_frame_004": { + "frame": { + "x": 0, + "y": 820, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_north_frame_005": { + "frame": { + "x": 82, + "y": 820, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_south-east_frame_000": { + "frame": { + "x": 246, + "y": 902, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_south-east_frame_001": { + "frame": { + "x": 328, + "y": 902, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_south-east_frame_002": { + "frame": { + "x": 410, + "y": 902, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_south-east_frame_003": { + "frame": { + "x": 492, + "y": 902, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_south-east_frame_004": { + "frame": { + "x": 574, + "y": 902, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_south-east_frame_005": { + "frame": { + "x": 656, + "y": 902, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_south-west_frame_000": { + "frame": { + "x": 738, + "y": 902, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_south-west_frame_001": { + "frame": { + "x": 820, + "y": 902, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_south-west_frame_002": { + "frame": { + "x": 902, + "y": 902, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_south-west_frame_003": { + "frame": { + "x": 984, + "y": 902, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_south-west_frame_004": { + "frame": { + "x": 1066, + "y": 902, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_south-west_frame_005": { + "frame": { + "x": 1148, + "y": 902, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_south_frame_000": { + "frame": { + "x": 1148, + "y": 820, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_south_frame_001": { + "frame": { + "x": 1230, + "y": 820, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_south_frame_002": { + "frame": { + "x": 1312, + "y": 820, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_south_frame_003": { + "frame": { + "x": 0, + "y": 902, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_south_frame_004": { + "frame": { + "x": 82, + "y": 902, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_south_frame_005": { + "frame": { + "x": 164, + "y": 902, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_west_frame_000": { + "frame": { + "x": 1230, + "y": 902, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_west_frame_001": { + "frame": { + "x": 1312, + "y": 902, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_west_frame_002": { + "frame": { + "x": 0, + "y": 984, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_west_frame_003": { + "frame": { + "x": 82, + "y": 984, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_west_frame_004": { + "frame": { + "x": 164, + "y": 984, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_west_frame_005": { + "frame": { + "x": 246, + "y": 984, "w": 80, "h": 80 }, @@ -2082,8 +4162,8 @@ }, "walk_east_frame_000": { "frame": { - "x": 0, - "y": 656, + "x": 328, + "y": 984, "w": 80, "h": 80 }, @@ -2102,8 +4182,8 @@ }, "walk_east_frame_001": { "frame": { - "x": 82, - "y": 656, + "x": 410, + "y": 984, "w": 80, "h": 80 }, @@ -2122,8 +4202,8 @@ }, "walk_east_frame_002": { "frame": { - "x": 164, - "y": 656, + "x": 492, + "y": 984, "w": 80, "h": 80 }, @@ -2142,8 +4222,8 @@ }, "walk_east_frame_003": { "frame": { - "x": 246, - "y": 656, + "x": 574, + "y": 984, "w": 80, "h": 80 }, @@ -2162,8 +4242,8 @@ }, "walk_east_frame_004": { "frame": { - "x": 328, - "y": 656, + "x": 656, + "y": 984, "w": 80, "h": 80 }, @@ -2182,8 +4262,8 @@ }, "walk_east_frame_005": { "frame": { - "x": 410, - "y": 656, + "x": 738, + "y": 984, "w": 80, "h": 80 }, @@ -2202,8 +4282,8 @@ }, "walk_north-east_frame_000": { "frame": { - "x": 984, - "y": 656, + "x": 1312, + "y": 984, "w": 80, "h": 80 }, @@ -2223,7 +4303,7 @@ "walk_north-east_frame_001": { "frame": { "x": 0, - "y": 738, + "y": 1066, "w": 80, "h": 80 }, @@ -2243,7 +4323,7 @@ "walk_north-east_frame_002": { "frame": { "x": 82, - "y": 738, + "y": 1066, "w": 80, "h": 80 }, @@ -2263,7 +4343,7 @@ "walk_north-east_frame_003": { "frame": { "x": 164, - "y": 738, + "y": 1066, "w": 80, "h": 80 }, @@ -2283,7 +4363,7 @@ "walk_north-east_frame_004": { "frame": { "x": 246, - "y": 738, + "y": 1066, "w": 80, "h": 80 }, @@ -2303,7 +4383,7 @@ "walk_north-east_frame_005": { "frame": { "x": 328, - "y": 738, + "y": 1066, "w": 80, "h": 80 }, @@ -2323,7 +4403,7 @@ "walk_north-west_frame_000": { "frame": { "x": 410, - "y": 738, + "y": 1066, "w": 80, "h": 80 }, @@ -2343,7 +4423,7 @@ "walk_north-west_frame_001": { "frame": { "x": 492, - "y": 738, + "y": 1066, "w": 80, "h": 80 }, @@ -2363,7 +4443,7 @@ "walk_north-west_frame_002": { "frame": { "x": 574, - "y": 738, + "y": 1066, "w": 80, "h": 80 }, @@ -2383,7 +4463,7 @@ "walk_north-west_frame_003": { "frame": { "x": 656, - "y": 738, + "y": 1066, "w": 80, "h": 80 }, @@ -2403,7 +4483,7 @@ "walk_north-west_frame_004": { "frame": { "x": 738, - "y": 738, + "y": 1066, "w": 80, "h": 80 }, @@ -2423,7 +4503,7 @@ "walk_north-west_frame_005": { "frame": { "x": 820, - "y": 738, + "y": 1066, "w": 80, "h": 80 }, @@ -2442,8 +4522,8 @@ }, "walk_north_frame_000": { "frame": { - "x": 492, - "y": 656, + "x": 820, + "y": 984, "w": 80, "h": 80 }, @@ -2462,8 +4542,8 @@ }, "walk_north_frame_001": { "frame": { - "x": 574, - "y": 656, + "x": 902, + "y": 984, "w": 80, "h": 80 }, @@ -2482,8 +4562,8 @@ }, "walk_north_frame_002": { "frame": { - "x": 656, - "y": 656, + "x": 984, + "y": 984, "w": 80, "h": 80 }, @@ -2502,8 +4582,8 @@ }, "walk_north_frame_003": { "frame": { - "x": 738, - "y": 656, + "x": 1066, + "y": 984, "w": 80, "h": 80 }, @@ -2522,8 +4602,8 @@ }, "walk_north_frame_004": { "frame": { - "x": 820, - "y": 656, + "x": 1148, + "y": 984, "w": 80, "h": 80 }, @@ -2542,8 +4622,8 @@ }, "walk_north_frame_005": { "frame": { - "x": 902, - "y": 656, + "x": 1230, + "y": 984, "w": 80, "h": 80 }, @@ -2562,8 +4642,8 @@ }, "walk_south-east_frame_000": { "frame": { - "x": 328, - "y": 820, + "x": 0, + "y": 1148, "w": 80, "h": 80 }, @@ -2582,8 +4662,8 @@ }, "walk_south-east_frame_001": { "frame": { - "x": 410, - "y": 820, + "x": 82, + "y": 1148, "w": 80, "h": 80 }, @@ -2602,8 +4682,8 @@ }, "walk_south-east_frame_002": { "frame": { - "x": 492, - "y": 820, + "x": 164, + "y": 1148, "w": 80, "h": 80 }, @@ -2622,8 +4702,8 @@ }, "walk_south-east_frame_003": { "frame": { - "x": 574, - "y": 820, + "x": 246, + "y": 1148, "w": 80, "h": 80 }, @@ -2642,8 +4722,8 @@ }, "walk_south-east_frame_004": { "frame": { - "x": 656, - "y": 820, + "x": 328, + "y": 1148, "w": 80, "h": 80 }, @@ -2662,8 +4742,8 @@ }, "walk_south-east_frame_005": { "frame": { - "x": 738, - "y": 820, + "x": 410, + "y": 1148, "w": 80, "h": 80 }, @@ -2682,8 +4762,8 @@ }, "walk_south-west_frame_000": { "frame": { - "x": 820, - "y": 820, + "x": 492, + "y": 1148, "w": 80, "h": 80 }, @@ -2702,8 +4782,8 @@ }, "walk_south-west_frame_001": { "frame": { - "x": 902, - "y": 820, + "x": 574, + "y": 1148, "w": 80, "h": 80 }, @@ -2722,8 +4802,8 @@ }, "walk_south-west_frame_002": { "frame": { - "x": 984, - "y": 820, + "x": 656, + "y": 1148, "w": 80, "h": 80 }, @@ -2742,8 +4822,8 @@ }, "walk_south-west_frame_003": { "frame": { - "x": 0, - "y": 902, + "x": 738, + "y": 1148, "w": 80, "h": 80 }, @@ -2762,8 +4842,8 @@ }, "walk_south-west_frame_004": { "frame": { - "x": 82, - "y": 902, + "x": 820, + "y": 1148, "w": 80, "h": 80 }, @@ -2782,8 +4862,8 @@ }, "walk_south-west_frame_005": { "frame": { - "x": 164, - "y": 902, + "x": 902, + "y": 1148, "w": 80, "h": 80 }, @@ -2803,7 +4883,7 @@ "walk_south_frame_000": { "frame": { "x": 902, - "y": 738, + "y": 1066, "w": 80, "h": 80 }, @@ -2823,7 +4903,7 @@ "walk_south_frame_001": { "frame": { "x": 984, - "y": 738, + "y": 1066, "w": 80, "h": 80 }, @@ -2842,8 +4922,8 @@ }, "walk_south_frame_002": { "frame": { - "x": 0, - "y": 820, + "x": 1066, + "y": 1066, "w": 80, "h": 80 }, @@ -2862,8 +4942,8 @@ }, "walk_south_frame_003": { "frame": { - "x": 82, - "y": 820, + "x": 1148, + "y": 1066, "w": 80, "h": 80 }, @@ -2882,8 +4962,8 @@ }, "walk_south_frame_004": { "frame": { - "x": 164, - "y": 820, + "x": 1230, + "y": 1066, "w": 80, "h": 80 }, @@ -2902,8 +4982,8 @@ }, "walk_south_frame_005": { "frame": { - "x": 246, - "y": 820, + "x": 1312, + "y": 1066, "w": 80, "h": 80 }, @@ -2922,8 +5002,8 @@ }, "walk_west_frame_000": { "frame": { - "x": 246, - "y": 902, + "x": 984, + "y": 1148, "w": 80, "h": 80 }, @@ -2942,8 +5022,8 @@ }, "walk_west_frame_001": { "frame": { - "x": 328, - "y": 902, + "x": 1066, + "y": 1148, "w": 80, "h": 80 }, @@ -2962,8 +5042,8 @@ }, "walk_west_frame_002": { "frame": { - "x": 410, - "y": 902, + "x": 1148, + "y": 1148, "w": 80, "h": 80 }, @@ -2982,8 +5062,8 @@ }, "walk_west_frame_003": { "frame": { - "x": 492, - "y": 902, + "x": 1230, + "y": 1148, "w": 80, "h": 80 }, @@ -3002,8 +5082,8 @@ }, "walk_west_frame_004": { "frame": { - "x": 574, - "y": 902, + "x": 1312, + "y": 1148, "w": 80, "h": 80 }, @@ -3022,8 +5102,8 @@ }, "walk_west_frame_005": { "frame": { - "x": 656, - "y": 902, + "x": 0, + "y": 1230, "w": 80, "h": 80 }, @@ -3047,8 +5127,8 @@ "image": "female_office_worker.png", "format": "RGBA8888", "size": { - "w": 1064, - "h": 982 + "w": 1392, + "h": 1310 }, "scale": "1" }, @@ -3165,6 +5245,78 @@ "cross-punch_west_frame_004", "cross-punch_west_frame_005" ], + "falling-back-death_east": [ + "falling-back-death_east_frame_000", + "falling-back-death_east_frame_001", + "falling-back-death_east_frame_002", + "falling-back-death_east_frame_003", + "falling-back-death_east_frame_004", + "falling-back-death_east_frame_005", + "falling-back-death_east_frame_006" + ], + "falling-back-death_north": [ + "falling-back-death_north_frame_000", + "falling-back-death_north_frame_001", + "falling-back-death_north_frame_002", + "falling-back-death_north_frame_003", + "falling-back-death_north_frame_004", + "falling-back-death_north_frame_005", + "falling-back-death_north_frame_006" + ], + "falling-back-death_north-east": [ + "falling-back-death_north-east_frame_000", + "falling-back-death_north-east_frame_001", + "falling-back-death_north-east_frame_002", + "falling-back-death_north-east_frame_003", + "falling-back-death_north-east_frame_004", + "falling-back-death_north-east_frame_005", + "falling-back-death_north-east_frame_006" + ], + "falling-back-death_north-west": [ + "falling-back-death_north-west_frame_000", + "falling-back-death_north-west_frame_001", + "falling-back-death_north-west_frame_002", + "falling-back-death_north-west_frame_003", + "falling-back-death_north-west_frame_004", + "falling-back-death_north-west_frame_005", + "falling-back-death_north-west_frame_006" + ], + "falling-back-death_south": [ + "falling-back-death_south_frame_000", + "falling-back-death_south_frame_001", + "falling-back-death_south_frame_002", + "falling-back-death_south_frame_003", + "falling-back-death_south_frame_004", + "falling-back-death_south_frame_005", + "falling-back-death_south_frame_006" + ], + "falling-back-death_south-east": [ + "falling-back-death_south-east_frame_000", + "falling-back-death_south-east_frame_001", + "falling-back-death_south-east_frame_002", + "falling-back-death_south-east_frame_003", + "falling-back-death_south-east_frame_004", + "falling-back-death_south-east_frame_005", + "falling-back-death_south-east_frame_006" + ], + "falling-back-death_south-west": [ + "falling-back-death_south-west_frame_000", + "falling-back-death_south-west_frame_001", + "falling-back-death_south-west_frame_002", + "falling-back-death_south-west_frame_003", + "falling-back-death_south-west_frame_004", + "falling-back-death_south-west_frame_005", + "falling-back-death_south-west_frame_006" + ], + "falling-back-death_west": [ + "falling-back-death_west_frame_000", + "falling-back-death_west_frame_001", + "falling-back-death_west_frame_002", + "falling-back-death_west_frame_003", + "falling-back-death_west_frame_004", + "falling-back-death_west_frame_005", + "falling-back-death_west_frame_006" + ], "lead-jab_east": [ "lead-jab_east_frame_000", "lead-jab_east_frame_001", @@ -3205,6 +5357,70 @@ "lead-jab_west_frame_001", "lead-jab_west_frame_002" ], + "taking-punch_east": [ + "taking-punch_east_frame_000", + "taking-punch_east_frame_001", + "taking-punch_east_frame_002", + "taking-punch_east_frame_003", + "taking-punch_east_frame_004", + "taking-punch_east_frame_005" + ], + "taking-punch_north": [ + "taking-punch_north_frame_000", + "taking-punch_north_frame_001", + "taking-punch_north_frame_002", + "taking-punch_north_frame_003", + "taking-punch_north_frame_004", + "taking-punch_north_frame_005" + ], + "taking-punch_north-east": [ + "taking-punch_north-east_frame_000", + "taking-punch_north-east_frame_001", + "taking-punch_north-east_frame_002", + "taking-punch_north-east_frame_003", + "taking-punch_north-east_frame_004", + "taking-punch_north-east_frame_005" + ], + "taking-punch_north-west": [ + "taking-punch_north-west_frame_000", + "taking-punch_north-west_frame_001", + "taking-punch_north-west_frame_002", + "taking-punch_north-west_frame_003", + "taking-punch_north-west_frame_004", + "taking-punch_north-west_frame_005" + ], + "taking-punch_south": [ + "taking-punch_south_frame_000", + "taking-punch_south_frame_001", + "taking-punch_south_frame_002", + "taking-punch_south_frame_003", + "taking-punch_south_frame_004", + "taking-punch_south_frame_005" + ], + "taking-punch_south-east": [ + "taking-punch_south-east_frame_000", + "taking-punch_south-east_frame_001", + "taking-punch_south-east_frame_002", + "taking-punch_south-east_frame_003", + "taking-punch_south-east_frame_004", + "taking-punch_south-east_frame_005" + ], + "taking-punch_south-west": [ + "taking-punch_south-west_frame_000", + "taking-punch_south-west_frame_001", + "taking-punch_south-west_frame_002", + "taking-punch_south-west_frame_003", + "taking-punch_south-west_frame_004", + "taking-punch_south-west_frame_005" + ], + "taking-punch_west": [ + "taking-punch_west_frame_000", + "taking-punch_west_frame_001", + "taking-punch_west_frame_002", + "taking-punch_west_frame_003", + "taking-punch_west_frame_004", + "taking-punch_west_frame_005" + ], "walk_east": [ "walk_east_frame_000", "walk_east_frame_001", diff --git a/public/break_escape/assets/characters/female_office_worker.png b/public/break_escape/assets/characters/female_office_worker.png index 0d33260..c1e05ff 100644 Binary files a/public/break_escape/assets/characters/female_office_worker.png and b/public/break_escape/assets/characters/female_office_worker.png differ diff --git a/public/break_escape/assets/characters/male_office_worker.json b/public/break_escape/assets/characters/male_office_worker.json index ac9a81a..06c1530 100644 --- a/public/break_escape/assets/characters/male_office_worker.json +++ b/public/break_escape/assets/characters/male_office_worker.json @@ -1,6 +1,6 @@ { "frames": { - "cross-punch_east_frame_000": { + "breathing-idle_east_frame_000": { "frame": { "x": 0, "y": 0, @@ -20,10 +20,650 @@ "h": 80 } }, + "breathing-idle_east_frame_001": { + "frame": { + "x": 82, + "y": 0, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "breathing-idle_east_frame_002": { + "frame": { + "x": 164, + "y": 0, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "breathing-idle_east_frame_003": { + "frame": { + "x": 246, + "y": 0, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "breathing-idle_north-east_frame_000": { + "frame": { + "x": 656, + "y": 0, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "breathing-idle_north-east_frame_001": { + "frame": { + "x": 738, + "y": 0, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "breathing-idle_north-east_frame_002": { + "frame": { + "x": 820, + "y": 0, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "breathing-idle_north-east_frame_003": { + "frame": { + "x": 902, + "y": 0, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "breathing-idle_north-west_frame_000": { + "frame": { + "x": 984, + "y": 0, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "breathing-idle_north-west_frame_001": { + "frame": { + "x": 1066, + "y": 0, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "breathing-idle_north-west_frame_002": { + "frame": { + "x": 1148, + "y": 0, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "breathing-idle_north-west_frame_003": { + "frame": { + "x": 1230, + "y": 0, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "breathing-idle_north_frame_000": { + "frame": { + "x": 328, + "y": 0, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "breathing-idle_north_frame_001": { + "frame": { + "x": 410, + "y": 0, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "breathing-idle_north_frame_002": { + "frame": { + "x": 492, + "y": 0, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "breathing-idle_north_frame_003": { + "frame": { + "x": 574, + "y": 0, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "breathing-idle_south-east_frame_000": { + "frame": { + "x": 246, + "y": 82, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "breathing-idle_south-east_frame_001": { + "frame": { + "x": 328, + "y": 82, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "breathing-idle_south-east_frame_002": { + "frame": { + "x": 410, + "y": 82, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "breathing-idle_south-east_frame_003": { + "frame": { + "x": 492, + "y": 82, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "breathing-idle_south-west_frame_000": { + "frame": { + "x": 574, + "y": 82, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "breathing-idle_south-west_frame_001": { + "frame": { + "x": 656, + "y": 82, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "breathing-idle_south-west_frame_002": { + "frame": { + "x": 738, + "y": 82, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "breathing-idle_south-west_frame_003": { + "frame": { + "x": 820, + "y": 82, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "breathing-idle_south_frame_000": { + "frame": { + "x": 1312, + "y": 0, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "breathing-idle_south_frame_001": { + "frame": { + "x": 0, + "y": 82, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "breathing-idle_south_frame_002": { + "frame": { + "x": 82, + "y": 82, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "breathing-idle_south_frame_003": { + "frame": { + "x": 164, + "y": 82, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "breathing-idle_west_frame_000": { + "frame": { + "x": 902, + "y": 82, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "breathing-idle_west_frame_001": { + "frame": { + "x": 984, + "y": 82, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "breathing-idle_west_frame_002": { + "frame": { + "x": 1066, + "y": 82, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "breathing-idle_west_frame_003": { + "frame": { + "x": 1148, + "y": 82, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "cross-punch_east_frame_000": { + "frame": { + "x": 1230, + "y": 82, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, "cross-punch_east_frame_001": { "frame": { - "x": 82, - "y": 0, + "x": 1312, + "y": 82, "w": 80, "h": 80 }, @@ -42,8 +682,8 @@ }, "cross-punch_east_frame_002": { "frame": { - "x": 164, - "y": 0, + "x": 0, + "y": 164, "w": 80, "h": 80 }, @@ -62,8 +702,8 @@ }, "cross-punch_east_frame_003": { "frame": { - "x": 246, - "y": 0, + "x": 82, + "y": 164, "w": 80, "h": 80 }, @@ -82,8 +722,8 @@ }, "cross-punch_east_frame_004": { "frame": { - "x": 328, - "y": 0, + "x": 164, + "y": 164, "w": 80, "h": 80 }, @@ -102,8 +742,8 @@ }, "cross-punch_east_frame_005": { "frame": { - "x": 410, - "y": 0, + "x": 246, + "y": 164, "w": 80, "h": 80 }, @@ -122,8 +762,8 @@ }, "cross-punch_north-east_frame_000": { "frame": { - "x": 984, - "y": 0, + "x": 820, + "y": 164, "w": 80, "h": 80 }, @@ -142,8 +782,8 @@ }, "cross-punch_north-east_frame_001": { "frame": { - "x": 1066, - "y": 0, + "x": 902, + "y": 164, "w": 80, "h": 80 }, @@ -162,8 +802,8 @@ }, "cross-punch_north-east_frame_002": { "frame": { - "x": 1148, - "y": 0, + "x": 984, + "y": 164, "w": 80, "h": 80 }, @@ -182,8 +822,8 @@ }, "cross-punch_north-east_frame_003": { "frame": { - "x": 0, - "y": 82, + "x": 1066, + "y": 164, "w": 80, "h": 80 }, @@ -202,8 +842,8 @@ }, "cross-punch_north-east_frame_004": { "frame": { - "x": 82, - "y": 82, + "x": 1148, + "y": 164, "w": 80, "h": 80 }, @@ -222,8 +862,8 @@ }, "cross-punch_north-east_frame_005": { "frame": { - "x": 164, - "y": 82, + "x": 1230, + "y": 164, "w": 80, "h": 80 }, @@ -242,8 +882,8 @@ }, "cross-punch_north-west_frame_000": { "frame": { - "x": 246, - "y": 82, + "x": 1312, + "y": 164, "w": 80, "h": 80 }, @@ -262,8 +902,8 @@ }, "cross-punch_north-west_frame_001": { "frame": { - "x": 328, - "y": 82, + "x": 0, + "y": 246, "w": 80, "h": 80 }, @@ -282,8 +922,8 @@ }, "cross-punch_north-west_frame_002": { "frame": { - "x": 410, - "y": 82, + "x": 82, + "y": 246, "w": 80, "h": 80 }, @@ -302,8 +942,8 @@ }, "cross-punch_north-west_frame_003": { "frame": { - "x": 492, - "y": 82, + "x": 164, + "y": 246, "w": 80, "h": 80 }, @@ -322,8 +962,8 @@ }, "cross-punch_north-west_frame_004": { "frame": { - "x": 574, - "y": 82, + "x": 246, + "y": 246, "w": 80, "h": 80 }, @@ -342,8 +982,8 @@ }, "cross-punch_north-west_frame_005": { "frame": { - "x": 656, - "y": 82, + "x": 328, + "y": 246, "w": 80, "h": 80 }, @@ -362,8 +1002,8 @@ }, "cross-punch_north_frame_000": { "frame": { - "x": 492, - "y": 0, + "x": 328, + "y": 164, "w": 80, "h": 80 }, @@ -382,8 +1022,8 @@ }, "cross-punch_north_frame_001": { "frame": { - "x": 574, - "y": 0, + "x": 410, + "y": 164, "w": 80, "h": 80 }, @@ -402,8 +1042,8 @@ }, "cross-punch_north_frame_002": { "frame": { - "x": 656, - "y": 0, + "x": 492, + "y": 164, "w": 80, "h": 80 }, @@ -422,8 +1062,8 @@ }, "cross-punch_north_frame_003": { "frame": { - "x": 738, - "y": 0, + "x": 574, + "y": 164, "w": 80, "h": 80 }, @@ -442,8 +1082,8 @@ }, "cross-punch_north_frame_004": { "frame": { - "x": 820, - "y": 0, + "x": 656, + "y": 164, "w": 80, "h": 80 }, @@ -462,8 +1102,8 @@ }, "cross-punch_north_frame_005": { "frame": { - "x": 902, - "y": 0, + "x": 738, + "y": 164, "w": 80, "h": 80 }, @@ -482,8 +1122,8 @@ }, "cross-punch_south-east_frame_000": { "frame": { - "x": 0, - "y": 164, + "x": 902, + "y": 246, "w": 80, "h": 80 }, @@ -502,8 +1142,8 @@ }, "cross-punch_south-east_frame_001": { "frame": { - "x": 82, - "y": 164, + "x": 984, + "y": 246, "w": 80, "h": 80 }, @@ -522,8 +1162,8 @@ }, "cross-punch_south-east_frame_002": { "frame": { - "x": 164, - "y": 164, + "x": 1066, + "y": 246, "w": 80, "h": 80 }, @@ -542,8 +1182,8 @@ }, "cross-punch_south-east_frame_003": { "frame": { - "x": 246, - "y": 164, + "x": 1148, + "y": 246, "w": 80, "h": 80 }, @@ -562,8 +1202,8 @@ }, "cross-punch_south-east_frame_004": { "frame": { - "x": 328, - "y": 164, + "x": 1230, + "y": 246, "w": 80, "h": 80 }, @@ -582,8 +1222,8 @@ }, "cross-punch_south-east_frame_005": { "frame": { - "x": 410, - "y": 164, + "x": 1312, + "y": 246, "w": 80, "h": 80 }, @@ -602,8 +1242,8 @@ }, "cross-punch_south-west_frame_000": { "frame": { - "x": 492, - "y": 164, + "x": 0, + "y": 328, "w": 80, "h": 80 }, @@ -622,8 +1262,8 @@ }, "cross-punch_south-west_frame_001": { "frame": { - "x": 574, - "y": 164, + "x": 82, + "y": 328, "w": 80, "h": 80 }, @@ -642,8 +1282,8 @@ }, "cross-punch_south-west_frame_002": { "frame": { - "x": 656, - "y": 164, + "x": 164, + "y": 328, "w": 80, "h": 80 }, @@ -662,8 +1302,8 @@ }, "cross-punch_south-west_frame_003": { "frame": { - "x": 738, - "y": 164, + "x": 246, + "y": 328, "w": 80, "h": 80 }, @@ -682,8 +1322,8 @@ }, "cross-punch_south-west_frame_004": { "frame": { - "x": 820, - "y": 164, + "x": 328, + "y": 328, "w": 80, "h": 80 }, @@ -702,8 +1342,8 @@ }, "cross-punch_south-west_frame_005": { "frame": { - "x": 902, - "y": 164, + "x": 410, + "y": 328, "w": 80, "h": 80 }, @@ -722,8 +1362,8 @@ }, "cross-punch_south_frame_000": { "frame": { - "x": 738, - "y": 82, + "x": 410, + "y": 246, "w": 80, "h": 80 }, @@ -742,8 +1382,8 @@ }, "cross-punch_south_frame_001": { "frame": { - "x": 820, - "y": 82, + "x": 492, + "y": 246, "w": 80, "h": 80 }, @@ -762,8 +1402,8 @@ }, "cross-punch_south_frame_002": { "frame": { - "x": 902, - "y": 82, + "x": 574, + "y": 246, "w": 80, "h": 80 }, @@ -782,8 +1422,8 @@ }, "cross-punch_south_frame_003": { "frame": { - "x": 984, - "y": 82, + "x": 656, + "y": 246, "w": 80, "h": 80 }, @@ -802,8 +1442,8 @@ }, "cross-punch_south_frame_004": { "frame": { - "x": 1066, - "y": 82, + "x": 738, + "y": 246, "w": 80, "h": 80 }, @@ -822,8 +1462,8 @@ }, "cross-punch_south_frame_005": { "frame": { - "x": 1148, - "y": 82, + "x": 820, + "y": 246, "w": 80, "h": 80 }, @@ -842,8 +1482,8 @@ }, "cross-punch_west_frame_000": { "frame": { - "x": 984, - "y": 164, + "x": 492, + "y": 328, "w": 80, "h": 80 }, @@ -862,8 +1502,8 @@ }, "cross-punch_west_frame_001": { "frame": { - "x": 1066, - "y": 164, + "x": 574, + "y": 328, "w": 80, "h": 80 }, @@ -882,8 +1522,8 @@ }, "cross-punch_west_frame_002": { "frame": { - "x": 1148, - "y": 164, + "x": 656, + "y": 328, "w": 80, "h": 80 }, @@ -902,8 +1542,8 @@ }, "cross-punch_west_frame_003": { "frame": { - "x": 0, - "y": 246, + "x": 738, + "y": 328, "w": 80, "h": 80 }, @@ -922,8 +1562,8 @@ }, "cross-punch_west_frame_004": { "frame": { - "x": 82, - "y": 246, + "x": 820, + "y": 328, "w": 80, "h": 80 }, @@ -942,8 +1582,8 @@ }, "cross-punch_west_frame_005": { "frame": { - "x": 164, - "y": 246, + "x": 902, + "y": 328, "w": 80, "h": 80 }, @@ -962,8 +1602,8 @@ }, "falling-back-death_east_frame_000": { "frame": { - "x": 246, - "y": 246, + "x": 984, + "y": 328, "w": 80, "h": 80 }, @@ -982,8 +1622,8 @@ }, "falling-back-death_east_frame_001": { "frame": { - "x": 328, - "y": 246, + "x": 1066, + "y": 328, "w": 80, "h": 80 }, @@ -1002,8 +1642,8 @@ }, "falling-back-death_east_frame_002": { "frame": { - "x": 410, - "y": 246, + "x": 1148, + "y": 328, "w": 80, "h": 80 }, @@ -1022,8 +1662,8 @@ }, "falling-back-death_east_frame_003": { "frame": { - "x": 492, - "y": 246, + "x": 1230, + "y": 328, "w": 80, "h": 80 }, @@ -1042,8 +1682,8 @@ }, "falling-back-death_east_frame_004": { "frame": { - "x": 574, - "y": 246, + "x": 1312, + "y": 328, "w": 80, "h": 80 }, @@ -1062,8 +1702,8 @@ }, "falling-back-death_east_frame_005": { "frame": { - "x": 656, - "y": 246, + "x": 0, + "y": 410, "w": 80, "h": 80 }, @@ -1082,8 +1722,8 @@ }, "falling-back-death_east_frame_006": { "frame": { - "x": 738, - "y": 246, + "x": 82, + "y": 410, "w": 80, "h": 80 }, @@ -1102,8 +1742,8 @@ }, "falling-back-death_north-east_frame_000": { "frame": { - "x": 164, - "y": 328, + "x": 738, + "y": 410, "w": 80, "h": 80 }, @@ -1122,8 +1762,8 @@ }, "falling-back-death_north-east_frame_001": { "frame": { - "x": 246, - "y": 328, + "x": 820, + "y": 410, "w": 80, "h": 80 }, @@ -1142,8 +1782,8 @@ }, "falling-back-death_north-east_frame_002": { "frame": { - "x": 328, - "y": 328, + "x": 902, + "y": 410, "w": 80, "h": 80 }, @@ -1162,8 +1802,8 @@ }, "falling-back-death_north-east_frame_003": { "frame": { - "x": 410, - "y": 328, + "x": 984, + "y": 410, "w": 80, "h": 80 }, @@ -1182,8 +1822,8 @@ }, "falling-back-death_north-east_frame_004": { "frame": { - "x": 492, - "y": 328, + "x": 1066, + "y": 410, "w": 80, "h": 80 }, @@ -1202,8 +1842,8 @@ }, "falling-back-death_north-east_frame_005": { "frame": { - "x": 574, - "y": 328, + "x": 1148, + "y": 410, "w": 80, "h": 80 }, @@ -1222,8 +1862,8 @@ }, "falling-back-death_north-east_frame_006": { "frame": { - "x": 656, - "y": 328, + "x": 1230, + "y": 410, "w": 80, "h": 80 }, @@ -1242,8 +1882,8 @@ }, "falling-back-death_north-west_frame_000": { "frame": { - "x": 738, - "y": 328, + "x": 1312, + "y": 410, "w": 80, "h": 80 }, @@ -1262,8 +1902,8 @@ }, "falling-back-death_north-west_frame_001": { "frame": { - "x": 820, - "y": 328, + "x": 0, + "y": 492, "w": 80, "h": 80 }, @@ -1282,8 +1922,8 @@ }, "falling-back-death_north-west_frame_002": { "frame": { - "x": 902, - "y": 328, + "x": 82, + "y": 492, "w": 80, "h": 80 }, @@ -1302,8 +1942,8 @@ }, "falling-back-death_north-west_frame_003": { "frame": { - "x": 984, - "y": 328, + "x": 164, + "y": 492, "w": 80, "h": 80 }, @@ -1322,8 +1962,8 @@ }, "falling-back-death_north-west_frame_004": { "frame": { - "x": 1066, - "y": 328, + "x": 246, + "y": 492, "w": 80, "h": 80 }, @@ -1342,8 +1982,8 @@ }, "falling-back-death_north-west_frame_005": { "frame": { - "x": 1148, - "y": 328, + "x": 328, + "y": 492, "w": 80, "h": 80 }, @@ -1362,8 +2002,8 @@ }, "falling-back-death_north-west_frame_006": { "frame": { - "x": 0, - "y": 410, + "x": 410, + "y": 492, "w": 80, "h": 80 }, @@ -1382,8 +2022,8 @@ }, "falling-back-death_north_frame_000": { "frame": { - "x": 820, - "y": 246, + "x": 164, + "y": 410, "w": 80, "h": 80 }, @@ -1402,8 +2042,8 @@ }, "falling-back-death_north_frame_001": { "frame": { - "x": 902, - "y": 246, + "x": 246, + "y": 410, "w": 80, "h": 80 }, @@ -1422,8 +2062,8 @@ }, "falling-back-death_north_frame_002": { "frame": { - "x": 984, - "y": 246, + "x": 328, + "y": 410, "w": 80, "h": 80 }, @@ -1442,8 +2082,8 @@ }, "falling-back-death_north_frame_003": { "frame": { - "x": 1066, - "y": 246, + "x": 410, + "y": 410, "w": 80, "h": 80 }, @@ -1462,8 +2102,8 @@ }, "falling-back-death_north_frame_004": { "frame": { - "x": 1148, - "y": 246, + "x": 492, + "y": 410, "w": 80, "h": 80 }, @@ -1482,8 +2122,8 @@ }, "falling-back-death_north_frame_005": { "frame": { - "x": 0, - "y": 328, + "x": 574, + "y": 410, "w": 80, "h": 80 }, @@ -1502,8 +2142,8 @@ }, "falling-back-death_north_frame_006": { "frame": { - "x": 82, - "y": 328, + "x": 656, + "y": 410, "w": 80, "h": 80 }, @@ -1522,8 +2162,8 @@ }, "falling-back-death_south-east_frame_000": { "frame": { - "x": 656, - "y": 410, + "x": 1066, + "y": 492, "w": 80, "h": 80 }, @@ -1542,8 +2182,8 @@ }, "falling-back-death_south-east_frame_001": { "frame": { - "x": 738, - "y": 410, + "x": 1148, + "y": 492, "w": 80, "h": 80 }, @@ -1562,8 +2202,8 @@ }, "falling-back-death_south-east_frame_002": { "frame": { - "x": 820, - "y": 410, + "x": 1230, + "y": 492, "w": 80, "h": 80 }, @@ -1582,8 +2222,8 @@ }, "falling-back-death_south-east_frame_003": { "frame": { - "x": 902, - "y": 410, + "x": 1312, + "y": 492, "w": 80, "h": 80 }, @@ -1602,8 +2242,8 @@ }, "falling-back-death_south-east_frame_004": { "frame": { - "x": 984, - "y": 410, + "x": 0, + "y": 574, "w": 80, "h": 80 }, @@ -1622,8 +2262,8 @@ }, "falling-back-death_south-east_frame_005": { "frame": { - "x": 1066, - "y": 410, + "x": 82, + "y": 574, "w": 80, "h": 80 }, @@ -1642,8 +2282,8 @@ }, "falling-back-death_south-east_frame_006": { "frame": { - "x": 1148, - "y": 410, + "x": 164, + "y": 574, "w": 80, "h": 80 }, @@ -1662,8 +2302,8 @@ }, "falling-back-death_south-west_frame_000": { "frame": { - "x": 0, - "y": 492, + "x": 246, + "y": 574, "w": 80, "h": 80 }, @@ -1682,8 +2322,8 @@ }, "falling-back-death_south-west_frame_001": { "frame": { - "x": 82, - "y": 492, + "x": 328, + "y": 574, "w": 80, "h": 80 }, @@ -1702,8 +2342,8 @@ }, "falling-back-death_south-west_frame_002": { "frame": { - "x": 164, - "y": 492, + "x": 410, + "y": 574, "w": 80, "h": 80 }, @@ -1722,8 +2362,8 @@ }, "falling-back-death_south-west_frame_003": { "frame": { - "x": 246, - "y": 492, + "x": 492, + "y": 574, "w": 80, "h": 80 }, @@ -1742,8 +2382,8 @@ }, "falling-back-death_south-west_frame_004": { "frame": { - "x": 328, - "y": 492, + "x": 574, + "y": 574, "w": 80, "h": 80 }, @@ -1762,8 +2402,8 @@ }, "falling-back-death_south-west_frame_005": { "frame": { - "x": 410, - "y": 492, + "x": 656, + "y": 574, "w": 80, "h": 80 }, @@ -1782,8 +2422,8 @@ }, "falling-back-death_south-west_frame_006": { "frame": { - "x": 492, - "y": 492, + "x": 738, + "y": 574, "w": 80, "h": 80 }, @@ -1802,8 +2442,8 @@ }, "falling-back-death_south_frame_000": { "frame": { - "x": 82, - "y": 410, + "x": 492, + "y": 492, "w": 80, "h": 80 }, @@ -1821,126 +2461,6 @@ } }, "falling-back-death_south_frame_001": { - "frame": { - "x": 164, - "y": 410, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "falling-back-death_south_frame_002": { - "frame": { - "x": 246, - "y": 410, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "falling-back-death_south_frame_003": { - "frame": { - "x": 328, - "y": 410, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "falling-back-death_south_frame_004": { - "frame": { - "x": 410, - "y": 410, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "falling-back-death_south_frame_005": { - "frame": { - "x": 492, - "y": 410, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "falling-back-death_south_frame_006": { - "frame": { - "x": 574, - "y": 410, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "falling-back-death_west_frame_000": { "frame": { "x": 574, "y": 492, @@ -1960,7 +2480,7 @@ "h": 80 } }, - "falling-back-death_west_frame_001": { + "falling-back-death_south_frame_002": { "frame": { "x": 656, "y": 492, @@ -1980,7 +2500,7 @@ "h": 80 } }, - "falling-back-death_west_frame_002": { + "falling-back-death_south_frame_003": { "frame": { "x": 738, "y": 492, @@ -2000,7 +2520,7 @@ "h": 80 } }, - "falling-back-death_west_frame_003": { + "falling-back-death_south_frame_004": { "frame": { "x": 820, "y": 492, @@ -2020,7 +2540,7 @@ "h": 80 } }, - "falling-back-death_west_frame_004": { + "falling-back-death_south_frame_005": { "frame": { "x": 902, "y": 492, @@ -2040,7 +2560,7 @@ "h": 80 } }, - "falling-back-death_west_frame_005": { + "falling-back-death_south_frame_006": { "frame": { "x": 984, "y": 492, @@ -2060,187 +2580,7 @@ "h": 80 } }, - "falling-back-death_west_frame_006": { - "frame": { - "x": 1066, - "y": 492, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "lead-jab_east_frame_000": { - "frame": { - "x": 1148, - "y": 492, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "lead-jab_east_frame_001": { - "frame": { - "x": 0, - "y": 574, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "lead-jab_east_frame_002": { - "frame": { - "x": 82, - "y": 574, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "lead-jab_north-east_frame_000": { - "frame": { - "x": 410, - "y": 574, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "lead-jab_north-east_frame_001": { - "frame": { - "x": 492, - "y": 574, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "lead-jab_north-east_frame_002": { - "frame": { - "x": 574, - "y": 574, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "lead-jab_north-west_frame_000": { - "frame": { - "x": 656, - "y": 574, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "lead-jab_north-west_frame_001": { - "frame": { - "x": 738, - "y": 574, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "lead-jab_north-west_frame_002": { + "falling-back-death_west_frame_000": { "frame": { "x": 820, "y": 574, @@ -2260,9 +2600,9 @@ "h": 80 } }, - "lead-jab_north_frame_000": { + "falling-back-death_west_frame_001": { "frame": { - "x": 164, + "x": 902, "y": 574, "w": 80, "h": 80 @@ -2280,9 +2620,9 @@ "h": 80 } }, - "lead-jab_north_frame_001": { + "falling-back-death_west_frame_002": { "frame": { - "x": 246, + "x": 984, "y": 574, "w": 80, "h": 80 @@ -2300,9 +2640,9 @@ "h": 80 } }, - "lead-jab_north_frame_002": { + "falling-back-death_west_frame_003": { "frame": { - "x": 328, + "x": 1066, "y": 574, "w": 80, "h": 80 @@ -2320,7 +2660,7 @@ "h": 80 } }, - "lead-jab_south-east_frame_000": { + "falling-back-death_west_frame_004": { "frame": { "x": 1148, "y": 574, @@ -2340,7 +2680,47 @@ "h": 80 } }, - "lead-jab_south-east_frame_001": { + "falling-back-death_west_frame_005": { + "frame": { + "x": 1230, + "y": 574, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "falling-back-death_west_frame_006": { + "frame": { + "x": 1312, + "y": 574, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "lead-jab_east_frame_000": { "frame": { "x": 0, "y": 656, @@ -2360,10 +2740,270 @@ "h": 80 } }, + "lead-jab_east_frame_001": { + "frame": { + "x": 82, + "y": 656, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "lead-jab_east_frame_002": { + "frame": { + "x": 164, + "y": 656, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "lead-jab_north-east_frame_000": { + "frame": { + "x": 492, + "y": 656, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "lead-jab_north-east_frame_001": { + "frame": { + "x": 574, + "y": 656, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "lead-jab_north-east_frame_002": { + "frame": { + "x": 656, + "y": 656, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "lead-jab_north-west_frame_000": { + "frame": { + "x": 738, + "y": 656, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "lead-jab_north-west_frame_001": { + "frame": { + "x": 820, + "y": 656, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "lead-jab_north-west_frame_002": { + "frame": { + "x": 902, + "y": 656, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "lead-jab_north_frame_000": { + "frame": { + "x": 246, + "y": 656, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "lead-jab_north_frame_001": { + "frame": { + "x": 328, + "y": 656, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "lead-jab_north_frame_002": { + "frame": { + "x": 410, + "y": 656, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "lead-jab_south-east_frame_000": { + "frame": { + "x": 1230, + "y": 656, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "lead-jab_south-east_frame_001": { + "frame": { + "x": 1312, + "y": 656, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, "lead-jab_south-east_frame_002": { "frame": { - "x": 82, - "y": 656, + "x": 0, + "y": 738, "w": 80, "h": 80 }, @@ -2382,8 +3022,8 @@ }, "lead-jab_south-west_frame_000": { "frame": { - "x": 164, - "y": 656, + "x": 82, + "y": 738, "w": 80, "h": 80 }, @@ -2402,8 +3042,8 @@ }, "lead-jab_south-west_frame_001": { "frame": { - "x": 246, - "y": 656, + "x": 164, + "y": 738, "w": 80, "h": 80 }, @@ -2422,8 +3062,8 @@ }, "lead-jab_south-west_frame_002": { "frame": { - "x": 328, - "y": 656, + "x": 246, + "y": 738, "w": 80, "h": 80 }, @@ -2442,8 +3082,8 @@ }, "lead-jab_south_frame_000": { "frame": { - "x": 902, - "y": 574, + "x": 984, + "y": 656, "w": 80, "h": 80 }, @@ -2462,8 +3102,8 @@ }, "lead-jab_south_frame_001": { "frame": { - "x": 984, - "y": 574, + "x": 1066, + "y": 656, "w": 80, "h": 80 }, @@ -2482,8 +3122,8 @@ }, "lead-jab_south_frame_002": { "frame": { - "x": 1066, - "y": 574, + "x": 1148, + "y": 656, "w": 80, "h": 80 }, @@ -2502,8 +3142,8 @@ }, "lead-jab_west_frame_000": { "frame": { - "x": 410, - "y": 656, + "x": 328, + "y": 738, "w": 80, "h": 80 }, @@ -2521,166 +3161,6 @@ } }, "lead-jab_west_frame_001": { - "frame": { - "x": 492, - "y": 656, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "lead-jab_west_frame_002": { - "frame": { - "x": 574, - "y": 656, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "taking-punch_east_frame_000": { - "frame": { - "x": 656, - "y": 656, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "taking-punch_east_frame_001": { - "frame": { - "x": 738, - "y": 656, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "taking-punch_east_frame_002": { - "frame": { - "x": 820, - "y": 656, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "taking-punch_east_frame_003": { - "frame": { - "x": 902, - "y": 656, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "taking-punch_east_frame_004": { - "frame": { - "x": 984, - "y": 656, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "taking-punch_east_frame_005": { - "frame": { - "x": 1066, - "y": 656, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "taking-punch_north-east_frame_000": { "frame": { "x": 410, "y": 738, @@ -2700,7 +3180,7 @@ "h": 80 } }, - "taking-punch_north-east_frame_001": { + "lead-jab_west_frame_002": { "frame": { "x": 492, "y": 738, @@ -2720,7 +3200,7 @@ "h": 80 } }, - "taking-punch_north-east_frame_002": { + "taking-punch_east_frame_000": { "frame": { "x": 574, "y": 738, @@ -2740,7 +3220,7 @@ "h": 80 } }, - "taking-punch_north-east_frame_003": { + "taking-punch_east_frame_001": { "frame": { "x": 656, "y": 738, @@ -2760,7 +3240,7 @@ "h": 80 } }, - "taking-punch_north-east_frame_004": { + "taking-punch_east_frame_002": { "frame": { "x": 738, "y": 738, @@ -2780,7 +3260,7 @@ "h": 80 } }, - "taking-punch_north-east_frame_005": { + "taking-punch_east_frame_003": { "frame": { "x": 820, "y": 738, @@ -2800,7 +3280,7 @@ "h": 80 } }, - "taking-punch_north-west_frame_000": { + "taking-punch_east_frame_004": { "frame": { "x": 902, "y": 738, @@ -2820,7 +3300,7 @@ "h": 80 } }, - "taking-punch_north-west_frame_001": { + "taking-punch_east_frame_005": { "frame": { "x": 984, "y": 738, @@ -2840,10 +3320,170 @@ "h": 80 } }, + "taking-punch_north-east_frame_000": { + "frame": { + "x": 164, + "y": 820, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_north-east_frame_001": { + "frame": { + "x": 246, + "y": 820, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_north-east_frame_002": { + "frame": { + "x": 328, + "y": 820, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_north-east_frame_003": { + "frame": { + "x": 410, + "y": 820, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_north-east_frame_004": { + "frame": { + "x": 492, + "y": 820, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_north-east_frame_005": { + "frame": { + "x": 574, + "y": 820, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_north-west_frame_000": { + "frame": { + "x": 656, + "y": 820, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "taking-punch_north-west_frame_001": { + "frame": { + "x": 738, + "y": 820, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, "taking-punch_north-west_frame_002": { "frame": { - "x": 1066, - "y": 738, + "x": 820, + "y": 820, "w": 80, "h": 80 }, @@ -2862,8 +3502,8 @@ }, "taking-punch_north-west_frame_003": { "frame": { - "x": 1148, - "y": 738, + "x": 902, + "y": 820, "w": 80, "h": 80 }, @@ -2882,7 +3522,7 @@ }, "taking-punch_north-west_frame_004": { "frame": { - "x": 0, + "x": 984, "y": 820, "w": 80, "h": 80 @@ -2902,7 +3542,7 @@ }, "taking-punch_north-west_frame_005": { "frame": { - "x": 82, + "x": 1066, "y": 820, "w": 80, "h": 80 @@ -2922,8 +3562,8 @@ }, "taking-punch_north_frame_000": { "frame": { - "x": 1148, - "y": 656, + "x": 1066, + "y": 738, "w": 80, "h": 80 }, @@ -2942,7 +3582,7 @@ }, "taking-punch_north_frame_001": { "frame": { - "x": 0, + "x": 1148, "y": 738, "w": 80, "h": 80 @@ -2962,7 +3602,7 @@ }, "taking-punch_north_frame_002": { "frame": { - "x": 82, + "x": 1230, "y": 738, "w": 80, "h": 80 @@ -2982,7 +3622,7 @@ }, "taking-punch_north_frame_003": { "frame": { - "x": 164, + "x": 1312, "y": 738, "w": 80, "h": 80 @@ -3002,8 +3642,8 @@ }, "taking-punch_north_frame_004": { "frame": { - "x": 246, - "y": 738, + "x": 0, + "y": 820, "w": 80, "h": 80 }, @@ -3022,8 +3662,8 @@ }, "taking-punch_north_frame_005": { "frame": { - "x": 328, - "y": 738, + "x": 82, + "y": 820, "w": 80, "h": 80 }, @@ -3042,8 +3682,8 @@ }, "taking-punch_south-east_frame_000": { "frame": { - "x": 656, - "y": 820, + "x": 246, + "y": 902, "w": 80, "h": 80 }, @@ -3062,8 +3702,8 @@ }, "taking-punch_south-east_frame_001": { "frame": { - "x": 738, - "y": 820, + "x": 328, + "y": 902, "w": 80, "h": 80 }, @@ -3082,8 +3722,8 @@ }, "taking-punch_south-east_frame_002": { "frame": { - "x": 820, - "y": 820, + "x": 410, + "y": 902, "w": 80, "h": 80 }, @@ -3102,8 +3742,8 @@ }, "taking-punch_south-east_frame_003": { "frame": { - "x": 902, - "y": 820, + "x": 492, + "y": 902, "w": 80, "h": 80 }, @@ -3122,8 +3762,8 @@ }, "taking-punch_south-east_frame_004": { "frame": { - "x": 984, - "y": 820, + "x": 574, + "y": 902, "w": 80, "h": 80 }, @@ -3142,8 +3782,8 @@ }, "taking-punch_south-east_frame_005": { "frame": { - "x": 1066, - "y": 820, + "x": 656, + "y": 902, "w": 80, "h": 80 }, @@ -3162,8 +3802,8 @@ }, "taking-punch_south-west_frame_000": { "frame": { - "x": 1148, - "y": 820, + "x": 738, + "y": 902, "w": 80, "h": 80 }, @@ -3182,7 +3822,7 @@ }, "taking-punch_south-west_frame_001": { "frame": { - "x": 0, + "x": 820, "y": 902, "w": 80, "h": 80 @@ -3202,7 +3842,7 @@ }, "taking-punch_south-west_frame_002": { "frame": { - "x": 82, + "x": 902, "y": 902, "w": 80, "h": 80 @@ -3222,7 +3862,7 @@ }, "taking-punch_south-west_frame_003": { "frame": { - "x": 164, + "x": 984, "y": 902, "w": 80, "h": 80 @@ -3242,7 +3882,7 @@ }, "taking-punch_south-west_frame_004": { "frame": { - "x": 246, + "x": 1066, "y": 902, "w": 80, "h": 80 @@ -3262,7 +3902,7 @@ }, "taking-punch_south-west_frame_005": { "frame": { - "x": 328, + "x": 1148, "y": 902, "w": 80, "h": 80 @@ -3282,7 +3922,7 @@ }, "taking-punch_south_frame_000": { "frame": { - "x": 164, + "x": 1148, "y": 820, "w": 80, "h": 80 @@ -3302,7 +3942,7 @@ }, "taking-punch_south_frame_001": { "frame": { - "x": 246, + "x": 1230, "y": 820, "w": 80, "h": 80 @@ -3322,7 +3962,7 @@ }, "taking-punch_south_frame_002": { "frame": { - "x": 328, + "x": 1312, "y": 820, "w": 80, "h": 80 @@ -3342,8 +3982,8 @@ }, "taking-punch_south_frame_003": { "frame": { - "x": 410, - "y": 820, + "x": 0, + "y": 902, "w": 80, "h": 80 }, @@ -3362,8 +4002,8 @@ }, "taking-punch_south_frame_004": { "frame": { - "x": 492, - "y": 820, + "x": 82, + "y": 902, "w": 80, "h": 80 }, @@ -3382,8 +4022,8 @@ }, "taking-punch_south_frame_005": { "frame": { - "x": 574, - "y": 820, + "x": 164, + "y": 902, "w": 80, "h": 80 }, @@ -3402,7 +4042,7 @@ }, "taking-punch_west_frame_000": { "frame": { - "x": 410, + "x": 1230, "y": 902, "w": 80, "h": 80 @@ -3422,7 +4062,7 @@ }, "taking-punch_west_frame_001": { "frame": { - "x": 492, + "x": 1312, "y": 902, "w": 80, "h": 80 @@ -3442,8 +4082,8 @@ }, "taking-punch_west_frame_002": { "frame": { - "x": 574, - "y": 902, + "x": 0, + "y": 984, "w": 80, "h": 80 }, @@ -3462,8 +4102,8 @@ }, "taking-punch_west_frame_003": { "frame": { - "x": 656, - "y": 902, + "x": 82, + "y": 984, "w": 80, "h": 80 }, @@ -3482,8 +4122,8 @@ }, "taking-punch_west_frame_004": { "frame": { - "x": 738, - "y": 902, + "x": 164, + "y": 984, "w": 80, "h": 80 }, @@ -3502,8 +4142,8 @@ }, "taking-punch_west_frame_005": { "frame": { - "x": 820, - "y": 902, + "x": 246, + "y": 984, "w": 80, "h": 80 }, @@ -3522,8 +4162,8 @@ }, "walk_east_frame_000": { "frame": { - "x": 902, - "y": 902, + "x": 328, + "y": 984, "w": 80, "h": 80 }, @@ -3542,8 +4182,8 @@ }, "walk_east_frame_001": { "frame": { - "x": 984, - "y": 902, + "x": 410, + "y": 984, "w": 80, "h": 80 }, @@ -3562,8 +4202,8 @@ }, "walk_east_frame_002": { "frame": { - "x": 1066, - "y": 902, + "x": 492, + "y": 984, "w": 80, "h": 80 }, @@ -3582,8 +4222,8 @@ }, "walk_east_frame_003": { "frame": { - "x": 1148, - "y": 902, + "x": 574, + "y": 984, "w": 80, "h": 80 }, @@ -3602,7 +4242,7 @@ }, "walk_east_frame_004": { "frame": { - "x": 0, + "x": 656, "y": 984, "w": 80, "h": 80 @@ -3622,7 +4262,7 @@ }, "walk_east_frame_005": { "frame": { - "x": 82, + "x": 738, "y": 984, "w": 80, "h": 80 @@ -3642,7 +4282,7 @@ }, "walk_north-east_frame_000": { "frame": { - "x": 656, + "x": 1312, "y": 984, "w": 80, "h": 80 @@ -3662,8 +4302,8 @@ }, "walk_north-east_frame_001": { "frame": { - "x": 738, - "y": 984, + "x": 0, + "y": 1066, "w": 80, "h": 80 }, @@ -3682,8 +4322,8 @@ }, "walk_north-east_frame_002": { "frame": { - "x": 820, - "y": 984, + "x": 82, + "y": 1066, "w": 80, "h": 80 }, @@ -3702,8 +4342,8 @@ }, "walk_north-east_frame_003": { "frame": { - "x": 902, - "y": 984, + "x": 164, + "y": 1066, "w": 80, "h": 80 }, @@ -3722,8 +4362,8 @@ }, "walk_north-east_frame_004": { "frame": { - "x": 984, - "y": 984, + "x": 246, + "y": 1066, "w": 80, "h": 80 }, @@ -3742,8 +4382,8 @@ }, "walk_north-east_frame_005": { "frame": { - "x": 1066, - "y": 984, + "x": 328, + "y": 1066, "w": 80, "h": 80 }, @@ -3762,8 +4402,8 @@ }, "walk_north-west_frame_000": { "frame": { - "x": 1148, - "y": 984, + "x": 410, + "y": 1066, "w": 80, "h": 80 }, @@ -3782,7 +4422,7 @@ }, "walk_north-west_frame_001": { "frame": { - "x": 0, + "x": 492, "y": 1066, "w": 80, "h": 80 @@ -3802,7 +4442,7 @@ }, "walk_north-west_frame_002": { "frame": { - "x": 82, + "x": 574, "y": 1066, "w": 80, "h": 80 @@ -3822,7 +4462,7 @@ }, "walk_north-west_frame_003": { "frame": { - "x": 164, + "x": 656, "y": 1066, "w": 80, "h": 80 @@ -3842,7 +4482,7 @@ }, "walk_north-west_frame_004": { "frame": { - "x": 246, + "x": 738, "y": 1066, "w": 80, "h": 80 @@ -3862,7 +4502,7 @@ }, "walk_north-west_frame_005": { "frame": { - "x": 328, + "x": 820, "y": 1066, "w": 80, "h": 80 @@ -3882,7 +4522,7 @@ }, "walk_north_frame_000": { "frame": { - "x": 164, + "x": 820, "y": 984, "w": 80, "h": 80 @@ -3902,7 +4542,7 @@ }, "walk_north_frame_001": { "frame": { - "x": 246, + "x": 902, "y": 984, "w": 80, "h": 80 @@ -3922,7 +4562,7 @@ }, "walk_north_frame_002": { "frame": { - "x": 328, + "x": 984, "y": 984, "w": 80, "h": 80 @@ -3942,7 +4582,7 @@ }, "walk_north_frame_003": { "frame": { - "x": 410, + "x": 1066, "y": 984, "w": 80, "h": 80 @@ -3962,7 +4602,7 @@ }, "walk_north_frame_004": { "frame": { - "x": 492, + "x": 1148, "y": 984, "w": 80, "h": 80 @@ -3982,7 +4622,7 @@ }, "walk_north_frame_005": { "frame": { - "x": 574, + "x": 1230, "y": 984, "w": 80, "h": 80 @@ -4001,86 +4641,6 @@ } }, "walk_south-east_frame_000": { - "frame": { - "x": 902, - "y": 1066, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "walk_south-east_frame_001": { - "frame": { - "x": 984, - "y": 1066, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "walk_south-east_frame_002": { - "frame": { - "x": 1066, - "y": 1066, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "walk_south-east_frame_003": { - "frame": { - "x": 1148, - "y": 1066, - "w": 80, - "h": 80 - }, - "rotated": false, - "trimmed": false, - "spriteSourceSize": { - "x": 0, - "y": 0, - "w": 80, - "h": 80 - }, - "sourceSize": { - "w": 80, - "h": 80 - } - }, - "walk_south-east_frame_004": { "frame": { "x": 0, "y": 1148, @@ -4100,7 +4660,7 @@ "h": 80 } }, - "walk_south-east_frame_005": { + "walk_south-east_frame_001": { "frame": { "x": 82, "y": 1148, @@ -4120,7 +4680,7 @@ "h": 80 } }, - "walk_south-west_frame_000": { + "walk_south-east_frame_002": { "frame": { "x": 164, "y": 1148, @@ -4140,7 +4700,7 @@ "h": 80 } }, - "walk_south-west_frame_001": { + "walk_south-east_frame_003": { "frame": { "x": 246, "y": 1148, @@ -4160,7 +4720,7 @@ "h": 80 } }, - "walk_south-west_frame_002": { + "walk_south-east_frame_004": { "frame": { "x": 328, "y": 1148, @@ -4180,7 +4740,7 @@ "h": 80 } }, - "walk_south-west_frame_003": { + "walk_south-east_frame_005": { "frame": { "x": 410, "y": 1148, @@ -4200,9 +4760,89 @@ "h": 80 } }, + "walk_south-west_frame_000": { + "frame": { + "x": 492, + "y": 1148, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "walk_south-west_frame_001": { + "frame": { + "x": 574, + "y": 1148, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "walk_south-west_frame_002": { + "frame": { + "x": 656, + "y": 1148, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, + "walk_south-west_frame_003": { + "frame": { + "x": 738, + "y": 1148, + "w": 80, + "h": 80 + }, + "rotated": false, + "trimmed": false, + "spriteSourceSize": { + "x": 0, + "y": 0, + "w": 80, + "h": 80 + }, + "sourceSize": { + "w": 80, + "h": 80 + } + }, "walk_south-west_frame_004": { "frame": { - "x": 492, + "x": 820, "y": 1148, "w": 80, "h": 80 @@ -4222,7 +4862,7 @@ }, "walk_south-west_frame_005": { "frame": { - "x": 574, + "x": 902, "y": 1148, "w": 80, "h": 80 @@ -4242,7 +4882,7 @@ }, "walk_south_frame_000": { "frame": { - "x": 410, + "x": 902, "y": 1066, "w": 80, "h": 80 @@ -4262,7 +4902,7 @@ }, "walk_south_frame_001": { "frame": { - "x": 492, + "x": 984, "y": 1066, "w": 80, "h": 80 @@ -4282,7 +4922,7 @@ }, "walk_south_frame_002": { "frame": { - "x": 574, + "x": 1066, "y": 1066, "w": 80, "h": 80 @@ -4302,7 +4942,7 @@ }, "walk_south_frame_003": { "frame": { - "x": 656, + "x": 1148, "y": 1066, "w": 80, "h": 80 @@ -4322,7 +4962,7 @@ }, "walk_south_frame_004": { "frame": { - "x": 738, + "x": 1230, "y": 1066, "w": 80, "h": 80 @@ -4342,7 +4982,7 @@ }, "walk_south_frame_005": { "frame": { - "x": 820, + "x": 1312, "y": 1066, "w": 80, "h": 80 @@ -4362,7 +5002,7 @@ }, "walk_west_frame_000": { "frame": { - "x": 656, + "x": 984, "y": 1148, "w": 80, "h": 80 @@ -4382,7 +5022,7 @@ }, "walk_west_frame_001": { "frame": { - "x": 738, + "x": 1066, "y": 1148, "w": 80, "h": 80 @@ -4402,7 +5042,7 @@ }, "walk_west_frame_002": { "frame": { - "x": 820, + "x": 1148, "y": 1148, "w": 80, "h": 80 @@ -4422,7 +5062,7 @@ }, "walk_west_frame_003": { "frame": { - "x": 902, + "x": 1230, "y": 1148, "w": 80, "h": 80 @@ -4442,7 +5082,7 @@ }, "walk_west_frame_004": { "frame": { - "x": 984, + "x": 1312, "y": 1148, "w": 80, "h": 80 @@ -4462,8 +5102,8 @@ }, "walk_west_frame_005": { "frame": { - "x": 1066, - "y": 1148, + "x": 0, + "y": 1230, "w": 80, "h": 80 }, @@ -4487,12 +5127,60 @@ "image": "male_office_worker.png", "format": "RGBA8888", "size": { - "w": 1228, - "h": 1228 + "w": 1392, + "h": 1310 }, "scale": "1" }, "animations": { + "breathing-idle_east": [ + "breathing-idle_east_frame_000", + "breathing-idle_east_frame_001", + "breathing-idle_east_frame_002", + "breathing-idle_east_frame_003" + ], + "breathing-idle_north": [ + "breathing-idle_north_frame_000", + "breathing-idle_north_frame_001", + "breathing-idle_north_frame_002", + "breathing-idle_north_frame_003" + ], + "breathing-idle_north-east": [ + "breathing-idle_north-east_frame_000", + "breathing-idle_north-east_frame_001", + "breathing-idle_north-east_frame_002", + "breathing-idle_north-east_frame_003" + ], + "breathing-idle_north-west": [ + "breathing-idle_north-west_frame_000", + "breathing-idle_north-west_frame_001", + "breathing-idle_north-west_frame_002", + "breathing-idle_north-west_frame_003" + ], + "breathing-idle_south": [ + "breathing-idle_south_frame_000", + "breathing-idle_south_frame_001", + "breathing-idle_south_frame_002", + "breathing-idle_south_frame_003" + ], + "breathing-idle_south-east": [ + "breathing-idle_south-east_frame_000", + "breathing-idle_south-east_frame_001", + "breathing-idle_south-east_frame_002", + "breathing-idle_south-east_frame_003" + ], + "breathing-idle_south-west": [ + "breathing-idle_south-west_frame_000", + "breathing-idle_south-west_frame_001", + "breathing-idle_south-west_frame_002", + "breathing-idle_south-west_frame_003" + ], + "breathing-idle_west": [ + "breathing-idle_west_frame_000", + "breathing-idle_west_frame_001", + "breathing-idle_west_frame_002", + "breathing-idle_west_frame_003" + ], "cross-punch_east": [ "cross-punch_east_frame_000", "cross-punch_east_frame_001", diff --git a/public/break_escape/assets/characters/male_office_worker.png b/public/break_escape/assets/characters/male_office_worker.png index 0e6e7e5..07b7372 100644 Binary files a/public/break_escape/assets/characters/male_office_worker.png and b/public/break_escape/assets/characters/male_office_worker.png differ diff --git a/public/break_escape/js/core/player.js b/public/break_escape/js/core/player.js index c1dfca4..76d2526 100644 --- a/public/break_escape/js/core/player.js +++ b/public/break_escape/js/core/player.js @@ -403,7 +403,8 @@ function createAtlasPlayerAnimations(spriteSheet) { // Animation type mapping: atlas animations → player animations const animTypeMap = { 'breathing-idle': 'idle', - 'walk': 'walk' + 'walk': 'walk', + 'taking-punch': 'hit' }; // Animation type framework (for grouping and frame rate) @@ -411,7 +412,9 @@ function createAtlasPlayerAnimations(spriteSheet) { 'idle': { frameRate: idleFrameRate, repeat: -1, name: 'idle' }, 'walk': { frameRate: walkFrameRate, repeat: -1, name: 'walk' }, 'cross-punch': { frameRate: punchFrameRate, repeat: 0, name: 'attack' }, - 'lead-jab': { frameRate: punchFrameRate, repeat: 0, name: 'attack' } + 'lead-jab': { frameRate: punchFrameRate, repeat: 0, name: 'attack' }, + 'taking-punch': { frameRate: 12, repeat: 0, name: 'hit' }, + 'falling-back-death': { frameRate: 10, repeat: 0, name: 'death' } }; // Create animations from atlas metadata @@ -670,7 +673,11 @@ export function updatePlayerMovement() { if (player.body.velocity.x === 0 && player.body.velocity.y === 0 && player.isMoving) { player.isMoving = false; const animDir = getAnimationKey(player.direction); - player.anims.play(`idle-${animDir}`, true); + // Don't interrupt punch animations + const currentAnim = player.anims.currentAnim?.key || ''; + if (!currentAnim.includes('punch') && !currentAnim.includes('jab')) { + player.anims.play(`idle-${animDir}`, true); + } } } @@ -747,7 +754,11 @@ function updatePlayerKeyboardMovement() { player.isMoving = false; const animDir = getAnimationKey(player.direction); player.anims.stop(); // Stop current animation - player.anims.play(`idle-${animDir}`, true); + // Don't interrupt punch animations + const currentAnim = player.anims.currentAnim?.key || ''; + if (!currentAnim.includes('punch') && !currentAnim.includes('jab')) { + player.anims.play(`idle-${animDir}`, true); + } } } else if (isBlocked) { // Blocked by collision - play idle animation in the direction we're facing @@ -755,7 +766,11 @@ function updatePlayerKeyboardMovement() { player.isMoving = false; const animDir = getAnimationKey(player.direction); player.anims.stop(); // Stop current animation - player.anims.play(`idle-${animDir}`, true); + // Don't interrupt punch animations + const currentAnim = player.anims.currentAnim?.key || ''; + if (!currentAnim.includes('punch') && !currentAnim.includes('jab')) { + player.anims.play(`idle-${animDir}`, true); + } } } else if (absVX > absVY * 2) { // Mostly horizontal movement @@ -769,7 +784,11 @@ function updatePlayerKeyboardMovement() { player.setFlipX(shouldFlip); if (!player.isMoving || player.lastDirection !== player.direction) { - player.anims.play(`walk-${animDir}`, true); + // Don't interrupt punch animations + const currentAnim = player.anims.currentAnim?.key || ''; + if (!currentAnim.includes('punch') && !currentAnim.includes('jab')) { + player.anims.play(`walk-${animDir}`, true); + } player.isMoving = true; player.lastDirection = player.direction; } @@ -779,7 +798,11 @@ function updatePlayerKeyboardMovement() { player.setFlipX(false); if (!player.isMoving || player.lastDirection !== player.direction) { - player.anims.play(`walk-${player.direction}`, true); + // Don't interrupt punch animations + const currentAnim = player.anims.currentAnim?.key || ''; + if (!currentAnim.includes('punch') && !currentAnim.includes('jab')) { + player.anims.play(`walk-${player.direction}`, true); + } player.isMoving = true; player.lastDirection = player.direction; } @@ -799,7 +822,11 @@ function updatePlayerKeyboardMovement() { player.setFlipX(shouldFlip); if (!player.isMoving || player.lastDirection !== player.direction) { - player.anims.play(`walk-${baseDir}`, true); + // Don't interrupt punch animations + const currentAnim = player.anims.currentAnim?.key || ''; + if (!currentAnim.includes('punch') && !currentAnim.includes('jab')) { + player.anims.play(`walk-${baseDir}`, true); + } player.isMoving = true; player.lastDirection = player.direction; } @@ -813,7 +840,11 @@ function updatePlayerMouseMovement() { player.isMoving = false; // Play idle animation based on last direction - player.anims.play(`idle-${player.direction}`, true); + // Don't interrupt punch animations + const currentAnim = player.anims.currentAnim?.key || ''; + if (!currentAnim.includes('punch') && !currentAnim.includes('jab')) { + player.anims.play(`idle-${player.direction}`, true); + } } return; } @@ -838,7 +869,11 @@ function updatePlayerMouseMovement() { player.isMoving = false; const animDir = getAnimationKey(player.direction); player.anims.stop(); // Stop current animation - player.anims.play(`idle-${animDir}`, true); + // Don't interrupt punch animations + const currentAnim = player.anims.currentAnim?.key || ''; + if (!currentAnim.includes('punch') && !currentAnim.includes('jab')) { + player.anims.play(`idle-${animDir}`, true); + } } return; } @@ -883,7 +918,11 @@ function updatePlayerMouseMovement() { // Play appropriate animation if not already playing if (!player.isMoving || player.lastDirection !== player.direction) { - player.anims.play(`walk-${player.direction}`, true); + // Don't interrupt punch animations + const currentAnim = player.anims.currentAnim?.key || ''; + if (!currentAnim.includes('punch') && !currentAnim.includes('jab')) { + player.anims.play(`walk-${player.direction}`, true); + } player.isMoving = true; player.lastDirection = player.direction; } @@ -896,7 +935,11 @@ function updatePlayerMouseMovement() { player.isMoving = false; const animDir = getAnimationKey(player.direction); player.anims.stop(); // Stop current animation - player.anims.play(`idle-${animDir}`, true); + // Don't interrupt punch animations + const currentAnim = player.anims.currentAnim?.key || ''; + if (!currentAnim.includes('punch') && !currentAnim.includes('jab')) { + player.anims.play(`idle-${animDir}`, true); + } } } } diff --git a/public/break_escape/js/systems/npc-behavior.js b/public/break_escape/js/systems/npc-behavior.js index f43345d..54462aa 100644 --- a/public/break_escape/js/systems/npc-behavior.js +++ b/public/break_escape/js/systems/npc-behavior.js @@ -534,6 +534,15 @@ class NPCBehavior { executeState(state, time, delta, playerPos) { this.currentState = state; + // Check if NPC is KO - if so, don't override death animation + const isKO = window.npcHostileSystem && window.npcHostileSystem.isNPCKO(this.npcId); + if (isKO) { + // NPC is knocked out - stop movement but don't change animation (death anim is playing) + this.sprite.body.setVelocity(0, 0); + this.isMoving = false; + return; + } + switch (state) { case 'idle': this.sprite.body.setVelocity(0, 0); @@ -1069,6 +1078,12 @@ class NPCBehavior { } playAnimation(state, direction) { + // Don't interrupt attack animations (red tint placeholder) + const currentAnim = this.sprite.anims?.currentAnim?.key || ''; + if (currentAnim.includes('attack') || currentAnim.includes('punch')) { + return; + } + // Check if this NPC uses atlas-based animations (8 native directions) // by checking if the direct left-facing animation exists const directAnimKey = `npc-${this.npcId}-${state}-${direction}`; diff --git a/public/break_escape/js/systems/npc-combat.js b/public/break_escape/js/systems/npc-combat.js index 63b640e..f4c7206 100644 --- a/public/break_escape/js/systems/npc-combat.js +++ b/public/break_escape/js/systems/npc-combat.js @@ -4,11 +4,14 @@ */ import { COMBAT_CONFIG } from '../config/combat-config.js'; +import { applyKnockback } from '../utils/knockback.js'; +import { getNPCDirection } from './npc-sprites.js'; export class NPCCombat { constructor(scene) { this.scene = scene; this.npcAttackTimers = new Map(); // npcId -> last attack time + this.npcAttacking = new Set(); // Track NPCs currently in attack animation console.log('✅ NPC combat system initialized'); } @@ -26,6 +29,11 @@ export class NPCCombat { return false; } + // Don't attack if already attacking + if (this.npcAttacking.has(npcId)) { + return false; + } + // Don't attack while a minigame is active (conversation, combat, etc.) if (window.MinigameFramework && window.MinigameFramework.currentMinigame) { return false; @@ -82,6 +90,9 @@ export class NPCCombat { * @param {Object} state - NPC hostile state */ performAttack(npcId, npcSprite, state) { + // Mark NPC as attacking + this.npcAttacking.add(npcId); + // Update attack timer this.npcAttackTimers.set(npcId, Date.now()); @@ -92,18 +103,19 @@ export class NPCCombat { // Play attack animation after windup this.scene.time.delayedCall(COMBAT_CONFIG.npc.attackWindupDuration, () => { - this.executeAttack(npcId, npcSprite, state); + this.startAttackAnimation(npcId, npcSprite, state); }); } /** - * Execute the actual attack damage + * Start attack animation and setup damage application * @param {string} npcId * @param {Phaser.GameObjects.Sprite} npcSprite * @param {Object} state - NPC hostile state */ - executeAttack(npcId, npcSprite, state) { + startAttackAnimation(npcId, npcSprite, state) { if (!window.player || !window.playerHealth) { + this.npcAttacking.delete(npcId); return; } @@ -117,16 +129,48 @@ export class NPCCombat { if (distance > state.attackRange) { console.log(`${npcId} attack missed - player moved out of range`); + this.npcAttacking.delete(npcId); return; } - // Play attack animation (placeholder: walk animation with red tint) - this.playAttackAnimation(npcSprite); + // Play attack animation + this.playAttackAnimation(npcSprite, npcId, state); + } + + /** + * Apply damage to player (called when attack animation completes) + * @param {string} npcId + * @param {Phaser.GameObjects.Sprite} npcSprite + * @param {Object} state - NPC hostile state + */ + applyAttackDamage(npcId, npcSprite, state) { + // Clear attacking flag + this.npcAttacking.delete(npcId); + + if (!window.player || !window.playerHealth) { + return; + } + + // Check if player is still in range (they might have moved during animation) + const distance = Phaser.Math.Distance.Between( + npcSprite.x, + npcSprite.y, + window.player.x, + window.player.y + ); + + if (distance > state.attackRange * 1.5) { // 1.5x range for leniency during animation + console.log(`${npcId} attack missed - player moved away during animation`); + return; + } // Apply damage to player const damage = state.attackDamage; window.playerHealth.damage(damage); + // Play hit animation if available + this.playHitAnimation(window.player); + // Visual feedback if (window.spriteEffects) { window.spriteEffects.flashDamage(window.player); @@ -137,6 +181,11 @@ export class NPCCombat { window.damageNumbers.show(window.player.x, window.player.y - 30, damage, 'damage'); } + // Knockback + if (window.player) { + applyKnockback(window.player, npcSprite.x, npcSprite.y); + } + // Screen effects if (window.screenEffects) { window.screenEffects.flashDamage(); @@ -147,36 +196,106 @@ export class NPCCombat { } /** - * Play attack animation (placeholder) - * @param {Phaser.GameObjects.Sprite} npcSprite + * Play hit/taking-punch animation on a sprite + * @param {Phaser.GameObjects.Sprite} sprite - The sprite taking damage */ - playAttackAnimation(npcSprite) { - if (!npcSprite) return; + playHitAnimation(sprite) { + if (!sprite || !sprite.scene) return; - // Apply red tint - if (window.spriteEffects) { - window.spriteEffects.applyAttackTint(npcSprite); - } - - // Play walk animation if available - if (npcSprite.anims && !npcSprite.anims.isPlaying) { - const direction = npcSprite.lastDirection || 'down'; - const animKey = `${npcSprite.npcId}_walk_${direction}`; - if (npcSprite.anims.exists(animKey)) { - npcSprite.play(animKey, true); + // Get sprite's current direction + const direction = sprite.lastDirection || 'down'; + + // Check if this is player or NPC + const isPlayer = sprite === window.player; + + if (isPlayer) { + // Player hit animations use atlas compass directions + const compassMap = { + 'down': 'south', + 'up': 'north', + 'left': 'west', + 'right': 'east', + 'down-left': 'south-west', + 'down-right': 'south-east', + 'up-left': 'north-west', + 'up-right': 'north-east' + }; + + const compassDir = compassMap[direction] || 'south'; + const hitAnimKey = `taking-punch_${compassDir}`; + + if (sprite.scene.anims.exists(hitAnimKey)) { + sprite.play(hitAnimKey); + } + } else { + // NPC hit animations + const npcId = sprite.npcId; + if (npcId) { + const hitAnimKey = `npc-${npcId}-hit-${direction}`; + + if (sprite.scene.anims.exists(hitAnimKey)) { + sprite.play(hitAnimKey); + } } } + } - // Remove tint after animation - this.scene.time.delayedCall(COMBAT_CONFIG.player.punchAnimationDuration, () => { - if (window.spriteEffects) { - window.spriteEffects.clearAttackTint(npcSprite); - } - // Stop animation - if (npcSprite.anims) { + /** + * Play attack animation + * @param {Phaser.GameObjects.Sprite} npcSprite + * @param {string} npcId + * @param {Object} state - NPC hostile state + */ + playAttackAnimation(npcSprite, npcId, state) { + if (!npcSprite || !npcId) { + this.npcAttacking.delete(npcId); + return; + } + + const direction = getNPCDirection(npcId, npcSprite); + const attackAnimKey = `npc-${npcId}-attack-${direction}`; + + console.log(`🥊 NPC ${npcId} attempting attack animation: ${attackAnimKey}`); + + // Try to play cross-punch animation + if (npcSprite.scene.anims.exists(attackAnimKey)) { + // Stop any current animation + if (npcSprite.anims.isPlaying) { npcSprite.anims.stop(); } - }); + + npcSprite.play(attackAnimKey); + console.log(`🥊 Playing NPC attack animation: ${attackAnimKey}`); + + // Apply damage when animation completes, then return to idle + npcSprite.once('animationcomplete', (anim) => { + if (anim.key === attackAnimKey && !npcSprite.destroyed) { + // Apply damage on animation complete + this.applyAttackDamage(npcId, npcSprite, state); + + const idleAnimKey = `npc-${npcId}-idle-${direction}`; + if (npcSprite.scene.anims.exists(idleAnimKey)) { + npcSprite.play(idleAnimKey); + } + } + }); + } else { + console.warn(`⚠️ Attack animation not found: ${attackAnimKey}, using fallback`); + + // Fallback: red tint + delayed damage + if (window.spriteEffects) { + window.spriteEffects.applyAttackTint(npcSprite); + } + + // Apply damage and remove tint after animation duration + this.scene.time.delayedCall(COMBAT_CONFIG.player.punchAnimationDuration, () => { + this.applyAttackDamage(npcId, npcSprite, state); + + if (window.spriteEffects) { + window.spriteEffects.clearAttackTint(npcSprite); + } + }); + } } /** diff --git a/public/break_escape/js/systems/npc-hostile.js b/public/break_escape/js/systems/npc-hostile.js index b549c79..3d85854 100644 --- a/public/break_escape/js/systems/npc-hostile.js +++ b/public/break_escape/js/systems/npc-hostile.js @@ -1,5 +1,6 @@ import { COMBAT_CONFIG } from '../config/combat-config.js'; import { CombatEvents } from '../events/combat-events.js'; +import { getNPCDirection } from './npc-sprites.js'; const npcHostileStates = new Map(); @@ -94,10 +95,29 @@ function damageNPC(npcId, amount) { if (state.currentHP <= 0) { state.isKO = true; - // Apply KO visual effect to sprite + // Play death animation and disable physics after it completes const npc = window.npcManager?.getNPC(npcId); - if (npc && npc.sprite && window.spriteEffects) { - window.spriteEffects.setKOAlpha(npc.sprite, 0.5); + const sprite = npc?._sprite || npc?.sprite; + if (sprite) { + // Disable collisions immediately so player can walk through + if (sprite.body) { + sprite.body.setVelocity(0, 0); + // Disable all collision checks but keep body enabled for animation + sprite.body.checkCollision.none = true; + console.log(`💀 Disabled collisions for ${npcId}, starting death animation`); + } + + playNPCDeathAnimation(npcId, sprite); + + // Disable physics body completely after death animation completes + // Use animationcomplete event to ensure all frames play + sprite.once('animationcomplete', (anim) => { + console.log(`💀 Animation complete event fired for ${npcId}, anim key: ${anim.key}`); + if (anim.key.includes('death') && sprite && sprite.body && !sprite.destroyed) { + sprite.body.enable = false; // Disable physics body entirely + console.log(`💀 Disabled physics body for ${npcId} after animation complete`); + } + }); } // Drop any items the NPC was holding @@ -111,6 +131,35 @@ function damageNPC(npcId, amount) { return true; } +/** + * Play death animation for NPC + * @param {string} npcId - The NPC ID + * @param {Phaser.GameObjects.Sprite} sprite - The NPC sprite + */ +function playNPCDeathAnimation(npcId, sprite) { + if (!sprite || !sprite.scene) { + console.warn(`⚠️ Cannot play death animation - invalid sprite for ${npcId}`); + return; + } + + // Get NPC's current facing direction + const direction = getNPCDirection(npcId, sprite); + + // Build death animation key: npc-{npcId}-death-{direction} + const deathAnimKey = `npc-${npcId}-death-${direction}`; + + if (sprite.scene.anims.exists(deathAnimKey)) { + // Stop any current animation first + if (sprite.anims.isPlaying) { + sprite.anims.stop(); + } + sprite.play(deathAnimKey); + console.log(`💀 Playing NPC death animation: ${deathAnimKey}`); + } else { + console.warn(`⚠️ Death animation not found: ${deathAnimKey}`); + } +} + /** * Drop items around a defeated NPC * Items spawn at NPC location and are launched outward with physics @@ -119,30 +168,22 @@ function damageNPC(npcId, amount) { */ function dropNPCItems(npcId) { const npc = window.npcManager?.getNPC(npcId); + const sprite = npc?._sprite || npc?.sprite; if (!npc || !npc.itemsHeld || npc.itemsHeld.length === 0) { return; } - // Find the NPC sprite and room to get its position - let npcSprite = null; - let npcRoomId = null; - if (window.rooms) { - for (const roomId in window.rooms) { - const room = window.rooms[roomId]; - if (!room.npcSprites) continue; - for (const sprite of room.npcSprites) { - if (sprite.npcId === npcId) { - npcSprite = sprite; - npcRoomId = roomId; - break; - } - } - if (npcSprite) break; - } + // Use the sprite we already have and find its room + if (!sprite) { + console.warn(`⚠️ Cannot drop items - no sprite found for NPC: ${npcId}`); + return; } - if (!npcSprite || !npcRoomId) { - console.warn(`Could not find NPC sprite to drop items for ${npcId}`); + // Find the NPC's room + let npcRoomId = npc.roomId; + + if (!npcRoomId) { + console.warn(`Could not find room for NPC ${npcId}`); return; } @@ -156,8 +197,8 @@ function dropNPCItems(npcId) { const angle = (index / itemCount) * Math.PI * 2; // All items spawn at NPC center location - const spawnX = Math.round(npcSprite.x); - const spawnY = Math.round(npcSprite.y); + const spawnX = Math.round(sprite.x); + const spawnY = Math.round(sprite.y); // Create actual Phaser sprite for the dropped item const texture = item.texture || item.type || 'key'; diff --git a/public/break_escape/js/systems/npc-sprites.js b/public/break_escape/js/systems/npc-sprites.js index 41f4a21..c5e1e19 100644 --- a/public/break_escape/js/systems/npc-sprites.js +++ b/public/break_escape/js/systems/npc-sprites.js @@ -144,6 +144,40 @@ export function createNPCSprite(scene, npc, roomData) { } } +/** + * Get NPC's current facing direction + * @param {string} npcId - The NPC ID + * @param {Phaser.GameObjects.Sprite} sprite - The NPC sprite (optional, will look up if not provided) + * @returns {string} Direction string (e.g., 'down', 'up', 'left', 'right', etc.) + */ +export function getNPCDirection(npcId, sprite = null) { + // Try to get direction from behavior system first + if (window.npcBehaviorManager) { + const behavior = window.npcBehaviorManager.getBehavior(npcId); + if (behavior && behavior.direction) { + return behavior.direction; + } + } + + // Fallback to checking sprite's current animation + if (!sprite) { + const npc = window.npcManager?.getNPC(npcId); + sprite = npc?._sprite || npc?.sprite; + } + + if (sprite && sprite.anims && sprite.anims.currentAnim) { + const animKey = sprite.anims.currentAnim.key; + // Extract direction from animation key (e.g., "npc-sarah-idle-down" → "down") + const parts = animKey.split('-'); + if (parts.length >= 3) { + return parts[parts.length - 1]; + } + } + + // Default to 'down' if we can't determine direction + return 'down'; +} + /** * Calculate NPC's world position from scenario data * @@ -1224,6 +1258,11 @@ function handleNPCPlayerCollision(npcSprite, player) { return; } + // Don't handle collision if NPC is KO'd + if (window.npcHostileSystem && window.npcHostileSystem.isNPCKO(npcSprite.npcId)) { + return; + } + // Get behavior instance for NPC const npcBehavior = window.npcBehaviorManager?.getBehavior(npcSprite.npcId); diff --git a/public/break_escape/js/systems/player-combat.js b/public/break_escape/js/systems/player-combat.js index 7ec1a27..6a11952 100644 --- a/public/break_escape/js/systems/player-combat.js +++ b/public/break_escape/js/systems/player-combat.js @@ -4,6 +4,7 @@ */ import { COMBAT_CONFIG } from '../config/combat-config.js'; +import { applyKnockback } from '../utils/knockback.js'; export class PlayerCombat { constructor(scene) { @@ -81,15 +82,9 @@ export class PlayerCombat { this.isPunching = true; this.lastPunchTime = Date.now(); - // Play punch animation (placeholder: walk animation with red tint) + // Play punch animation and wait for completion this.playPunchAnimation(); - // After animation duration, check for hits - this.scene.time.delayedCall(COMBAT_CONFIG.player.punchAnimationDuration, () => { - this.checkForHits(); - this.isPunching = false; - }); - return true; } @@ -147,8 +142,12 @@ export class PlayerCombat { if (animPlayed) { console.log(`🥊 Playing punch animation: ${animKey}`); // Animation will complete naturally - // Listen for animation complete event to return to idle + // Apply damage when animation completes, then return to idle player.once('animationcomplete', () => { + // Apply damage on animation complete + this.checkForHits(); + this.isPunching = false; + const idleKey = `idle-${direction}`; if (player.anims && player.anims.exists && this.scene.anims.exists(idleKey)) { player.anims.play(idleKey, true); @@ -171,8 +170,11 @@ export class PlayerCombat { } } - // Remove tint after animation + // Apply damage and remove tint after animation duration (fallback) this.scene.time.delayedCall(COMBAT_CONFIG.player.punchAnimationDuration, () => { + this.checkForHits(); + this.isPunching = false; + if (window.spriteEffects) { window.spriteEffects.clearAttackTint(player); } @@ -351,6 +353,14 @@ export class PlayerCombat { // Apply damage window.npcHostileSystem.damageNPC(npcId, damage); + // Check if NPC is now KO (after damage) + const isKO = window.npcHostileSystem && window.npcHostileSystem.isNPCKO(npcId); + + // Play hit animation if available (only if not KO - death anim takes priority) + if (npcSprite && !isKO) { + this.playHitAnimation(npcSprite, npcId); + } + // Visual feedback if (npcSprite && window.spriteEffects) { window.spriteEffects.flashDamage(npcSprite); @@ -361,6 +371,11 @@ export class PlayerCombat { window.damageNumbers.show(npcSprite.x, npcSprite.y - 30, damage, 'damage'); } + // Knockback (only if NPC is not KO) + if (npcSprite && window.player && !isKO) { + applyKnockback(npcSprite, window.player.x, window.player.y); + } + // Screen shake (light) if (window.screenEffects) { window.screenEffects.shakeNPCHit(); @@ -369,6 +384,40 @@ export class PlayerCombat { console.log(`Dealt ${damage} damage to ${npcId}`); } + /** + * Play hit/taking-punch animation on NPC sprite + * @param {Phaser.GameObjects.Sprite} sprite - The NPC sprite + * @param {string} npcId - The NPC ID + */ + playHitAnimation(sprite, npcId) { + if (!sprite || !sprite.scene || !npcId) return; + + // Get NPC's current direction from behavior or animation + let direction = 'down'; + + if (window.npcBehaviorManager) { + const behavior = window.npcBehaviorManager.getBehavior(npcId); + if (behavior && behavior.direction) { + direction = behavior.direction; + } + } + + // If no behavior direction, try to extract from current animation + if (!direction && sprite.anims && sprite.anims.currentAnim) { + const animKey = sprite.anims.currentAnim.key; + const parts = animKey.split('-'); + if (parts.length >= 3) { + direction = parts[parts.length - 1]; + } + } + + const hitAnimKey = `npc-${npcId}-hit-${direction}`; + + if (sprite.scene.anims.exists(hitAnimKey)) { + sprite.play(hitAnimKey); + } + } + /** * Apply kick velocity to chair * @param {Phaser.GameObjects.Sprite} chair - Chair sprite diff --git a/public/break_escape/js/systems/player-health.js b/public/break_escape/js/systems/player-health.js index 9fe6fd6..19d8fcd 100644 --- a/public/break_escape/js/systems/player-health.js +++ b/public/break_escape/js/systems/player-health.js @@ -51,6 +51,12 @@ function damagePlayer(amount) { // Check for KO if (state.currentHP <= 0 && !state.isKO) { state.isKO = true; + + // Play death animation + if (window.player) { + playPlayerDeathAnimation(); + } + if (window.eventDispatcher) { window.eventDispatcher.emit(CombatEvents.PLAYER_KO, {}); } @@ -60,6 +66,59 @@ function damagePlayer(amount) { return true; } +/** + * Play death animation for player + */ +function playPlayerDeathAnimation() { + const player = window.player; + if (!player || !player.scene) return; + + // Get player's last facing direction + const direction = player.lastDirection || 'down'; + + // Check if player uses atlas-based animations + const texture = player.scene.textures.get(player.texture.key); + const frames = texture ? texture.getFrameNames() : []; + const isAtlas = frames.length > 0 && typeof frames[0] === 'string' && frames[0].includes('_frame_'); + + if (isAtlas) { + // Try atlas-based death animations + // Convert player direction to atlas compass direction + const compassMap = { + 'down': 'south', + 'up': 'north', + 'left': 'west', + 'right': 'east', + 'down-left': 'south-west', + 'down-right': 'south-east', + 'up-left': 'north-west', + 'up-right': 'north-east' + }; + + const compassDir = compassMap[direction] || 'south'; + const deathAnimKey = `falling-back-death_${compassDir}`; + + if (player.scene.anims.exists(deathAnimKey)) { + player.play(deathAnimKey); + console.log(`💀 Playing player death animation: ${deathAnimKey}`); + } else { + console.warn(`⚠️ Death animation not found: ${deathAnimKey}`); + // Log available death animations for debugging + const deathAnims = Object.keys(player.scene.anims.anims.entries) + .filter(key => key.includes('falling-back-death')); + if (deathAnims.length > 0) { + console.log(` Available death animations: ${deathAnims.join(', ')}`); + } + } + } + + // Disable player physics body to prevent further movement + if (player.body) { + player.body.setVelocity(0, 0); + // Don't disable body entirely to keep collision detection for NPCs + } +} + function healPlayer(amount) { if (!state) return false; diff --git a/public/break_escape/js/utils/knockback.js b/public/break_escape/js/utils/knockback.js new file mode 100644 index 0000000..c6e5fcf --- /dev/null +++ b/public/break_escape/js/utils/knockback.js @@ -0,0 +1,77 @@ +/** + * Knockback Utility + * Handles pushing entities away when hit + */ + +const KNOCKBACK_CONFIG = { + player: { + strength: 200, // Knockback velocity when player is hit + duration: 200 // How long knockback lasts (ms) + }, + npc: { + strength: 250, // Knockback velocity when NPC is hit + duration: 250 + } +}; + +/** + * Apply knockback to a sprite + * @param {Phaser.GameObjects.Sprite} target - The sprite to knockback + * @param {number} sourceX - X position of the attacker + * @param {number} sourceY - Y position of the attacker + * @param {number} strength - Knockback force (default based on target type) + * @param {number} duration - How long knockback lasts in ms + */ +export function applyKnockback(target, sourceX, sourceY, strength = null, duration = null) { + if (!target || !target.body) { + console.warn('⚠️ Cannot apply knockback - invalid target or no physics body'); + return; + } + + // Determine default strength and duration based on target type + const isPlayer = target === window.player; + const config = isPlayer ? KNOCKBACK_CONFIG.player : KNOCKBACK_CONFIG.npc; + + if (strength === null) strength = config.strength; + if (duration === null) duration = config.duration; + + // Calculate knockback direction (from source to target) + const angle = Phaser.Math.Angle.Between(sourceX, sourceY, target.x, target.y); + const velocityX = Math.cos(angle) * strength; + const velocityY = Math.sin(angle) * strength; + + // Apply knockback velocity + target.body.setVelocity(velocityX, velocityY); + + // Store original velocities to restore after knockback + const originalVelX = target.body.velocity.x; + const originalVelY = target.body.velocity.y; + + // Clear knockback after duration + if (target.knockbackTimer) { + target.knockbackTimer.remove(); + } + + const scene = target.scene; + target.knockbackTimer = scene.time.delayedCall(duration, () => { + // Reduce velocity gradually rather than stopping abruptly + if (target.body) { + target.body.setVelocity( + target.body.velocity.x * 0.3, + target.body.velocity.y * 0.3 + ); + } + target.knockbackTimer = null; + }); + + console.log(`💥 Knockback applied: ${target.name || 'sprite'} pushed away (strength: ${strength})`); +} + +/** + * Check if sprite is currently in knockback state + * @param {Phaser.GameObjects.Sprite} sprite + * @returns {boolean} + */ +export function isInKnockback(sprite) { + return sprite && sprite.knockbackTimer !== null && sprite.knockbackTimer !== undefined; +}