3 lines
12 KiB
JavaScript
3 lines
12 KiB
JavaScript
window.NIB_MANIFEST = {"characterId": "nib", "engine": "component-row", "game_input": "sprite-sheet-alpha.png", "degraded_static_fallback": false, "curation_applied": true, "frame_variant": "pixel", "sprite_sheet_alpha": "sprite-sheet-alpha.png", "sprite_sheet_alpha_report": "sprite-sheet-alpha.report.json", "base_image": "base-source.png", "cell": {"shape": "rect", "width": 448, "height": 288, "safe_margin_x": 10, "safe_margin_y": 8}, "chroma_key": {"name": "green", "hex": "#00FF00", "rgb": [0, 255, 0], "selection": "manual"}, "animation": {"cellWidth": 448, "cellHeight": 288, "columns": 4, "rows": {"idle": {"row": 0, "frames": 4, "fps": 5, "durations_ms": [200, 200, 200, 200], "loop": true, "frame_variant": "pixel"}, "walk": {"row": 1, "frames": 4, "fps": 9, "durations_ms": [111, 111, 111, 111], "loop": true, "frame_variant": "pixel"}, "run": {"row": 2, "frames": 4, "fps": 12, "durations_ms": [83, 83, 83, 83], "loop": true, "frame_variant": "pixel"}, "jump": {"row": 3, "frames": 1, "fps": 10, "durations_ms": [100], "loop": false, "frame_variant": "pixel"}, "doublejump": {"row": 4, "frames": 1, "fps": 12, "durations_ms": [83], "loop": false, "frame_variant": "pixel"}, "crouch": {"row": 5, "frames": 4, "fps": 8, "durations_ms": [125, 125, 125, 125], "loop": false, "frame_variant": "pixel"}, "attack1": {"row": 6, "frames": 4, "fps": 13, "durations_ms": [77, 77, 77, 77], "loop": false, "frame_variant": "pixel"}, "attack2": {"row": 7, "frames": 4, "fps": 13, "durations_ms": [77, 77, 77, 77], "loop": false, "frame_variant": "pixel"}, "attack3": {"row": 8, "frames": 4, "fps": 11, "durations_ms": [91, 91, 91, 91], "loop": false, "frame_variant": "pixel"}, "skill1": {"row": 9, "frames": 4, "fps": 11, "durations_ms": [91, 91, 91, 91], "loop": false, "frame_variant": "pixel"}, "skill2": {"row": 10, "frames": 4, "fps": 11, "durations_ms": [91, 91, 91, 91], "loop": false, "frame_variant": "pixel"}, "ultimate": {"row": 11, "frames": 4, "fps": 8, "durations_ms": [125, 125, 125, 125], "loop": false, "frame_variant": "pixel"}, "hurt": {"row": 12, "frames": 4, "fps": 10, "durations_ms": [100, 100, 100, 100], "loop": false, "frame_variant": "pixel"}, "down": {"row": 13, "frames": 4, "fps": 8, "durations_ms": [125, 125, 125, 125], "loop": false, "frame_variant": "pixel"}, "recover": {"row": 14, "frames": 4, "fps": 10, "durations_ms": [100, 100, 100, 100], "loop": false, "frame_variant": "pixel"}}}, "frame_layout": {"sheetWidth": 1792, "sheetHeight": 4320, "cellWidth": 448, "cellHeight": 288, "rows": {"idle": [{"x": 0, "y": 0, "w": 448, "h": 288}, {"x": 448, "y": 0, "w": 448, "h": 288}, {"x": 896, "y": 0, "w": 448, "h": 288}, {"x": 1344, "y": 0, "w": 448, "h": 288}], "walk": [{"x": 0, "y": 288, "w": 448, "h": 288}, {"x": 448, "y": 288, "w": 448, "h": 288}, {"x": 896, "y": 288, "w": 448, "h": 288}, {"x": 1344, "y": 288, "w": 448, "h": 288}], "run": [{"x": 0, "y": 576, "w": 448, "h": 288}, {"x": 448, "y": 576, "w": 448, "h": 288}, {"x": 896, "y": 576, "w": 448, "h": 288}, {"x": 1344, "y": 576, "w": 448, "h": 288}], "jump": [{"x": 0, "y": 864, "w": 448, "h": 288}], "doublejump": [{"x": 0, "y": 1152, "w": 448, "h": 288}], "crouch": [{"x": 0, "y": 1440, "w": 448, "h": 288}, {"x": 448, "y": 1440, "w": 448, "h": 288}, {"x": 896, "y": 1440, "w": 448, "h": 288}, {"x": 1344, "y": 1440, "w": 448, "h": 288}], "attack1": [{"x": 0, "y": 1728, "w": 448, "h": 288}, {"x": 448, "y": 1728, "w": 448, "h": 288}, {"x": 896, "y": 1728, "w": 448, "h": 288}, {"x": 1344, "y": 1728, "w": 448, "h": 288}], "attack2": [{"x": 0, "y": 2016, "w": 448, "h": 288}, {"x": 448, "y": 2016, "w": 448, "h": 288}, {"x": 896, "y": 2016, "w": 448, "h": 288}, {"x": 1344, "y": 2016, "w": 448, "h": 288}], "attack3": [{"x": 0, "y": 2304, "w": 448, "h": 288}, {"x": 448, "y": 2304, "w": 448, "h": 288}, {"x": 896, "y": 2304, "w": 448, "h": 288}, {"x": 1344, "y": 2304, "w": 448, "h": 288}], "skill1": [{"x": 0, "y": 2592, "w": 448, "h": 288}, {"x": 448, "y": 2592, "w": 448, "h": 288}, {"x": 896, "y": 2592, "w": 448, "h": 288}, {"x": 1344, "y": 2592, "w": 448, "h": 288}], "skill2": [{"x": 0, "y": 2880, "w": 448, "h": 288}, {"x": 448, "y": 2880, "w": 448, "h": 288}, {"x": 896, "y": 2880, "w": 448, "h": 288}, {"x": 1344, "y": 2880, "w": 448, "h": 288}], "ultimate": [{"x": 0, "y": 3168, "w": 448, "h": 288}, {"x": 448, "y": 3168, "w": 448, "h": 288}, {"x": 896, "y": 3168, "w": 448, "h": 288}, {"x": 1344, "y": 3168, "w": 448, "h": 288}], "hurt": [{"x": 0, "y": 3456, "w": 448, "h": 288}, {"x": 448, "y": 3456, "w": 448, "h": 288}, {"x": 896, "y": 3456, "w": 448, "h": 288}, {"x": 1344, "y": 3456, "w": 448, "h": 288}], "down": [{"x": 0, "y": 3744, "w": 448, "h": 288}, {"x": 448, "y": 3744, "w": 448, "h": 288}, {"x": 896, "y": 3744, "w": 448, "h": 288}, {"x": 1344, "y": 3744, "w": 448, "h": 288}], "recover": [{"x": 0, "y": 4032, "w": 448, "h": 288}, {"x": 448, "y": 4032, "w": 448, "h": 288}, {"x": 896, "y": 4032, "w": 448, "h": 288}, {"x": 1344, "y": 4032, "w": 448, "h": 288}]}}};
|
|
window.NIB_METRICS = {"anchor": {"x": 224, "y": 280}, "states": {"idle": {"frames": [{"frame": 0, "bounds": {"left": -63, "right": 63, "top": -150, "bottom": 0}, "height": 150}, {"frame": 1, "bounds": {"left": -59, "right": 61, "top": -142, "bottom": 0}, "height": 142}, {"frame": 2, "bounds": {"left": -66, "right": 59, "top": -150, "bottom": 0}, "height": 150}, {"frame": 3, "bounds": {"left": -63, "right": 63, "top": -150, "bottom": 0}, "height": 150}]}, "walk": {"frames": [{"frame": 0, "bounds": {"left": -56, "right": 66, "top": -159, "bottom": 0}, "height": 159}, {"frame": 1, "bounds": {"left": -51, "right": 67, "top": -160, "bottom": 0}, "height": 160}, {"frame": 2, "bounds": {"left": -54, "right": 65, "top": -160, "bottom": 0}, "height": 160}, {"frame": 3, "bounds": {"left": -52, "right": 66, "top": -161, "bottom": 0}, "height": 161}]}, "run": {"frames": [{"frame": 0, "bounds": {"left": -57, "right": 74, "top": -126, "bottom": 0}, "height": 126}, {"frame": 1, "bounds": {"left": -61, "right": 71, "top": -125, "bottom": 0}, "height": 125}, {"frame": 2, "bounds": {"left": -56, "right": 75, "top": -127, "bottom": 0}, "height": 127}, {"frame": 3, "bounds": {"left": -59, "right": 72, "top": -120, "bottom": 0}, "height": 120}]}, "jump": {"frames": [{"frame": 0, "bounds": {"left": -70, "right": 79, "top": -152, "bottom": 0}, "height": 152}]}, "doublejump": {"frames": [{"frame": 0, "bounds": {"left": -56, "right": 40, "top": -120, "bottom": 0}, "height": 120}]}, "crouch": {"frames": [{"frame": 0, "bounds": {"left": -60, "right": 62, "top": -131, "bottom": 0}, "height": 131}, {"frame": 1, "bounds": {"left": -67, "right": 51, "top": -127, "bottom": 0}, "height": 127}, {"frame": 2, "bounds": {"left": -66, "right": 51, "top": -127, "bottom": 0}, "height": 127}, {"frame": 3, "bounds": {"left": -57, "right": 65, "top": -137, "bottom": 0}, "height": 137}]}, "attack1": {"frames": [{"frame": 0, "bounds": {"left": -60, "right": 70, "top": -157, "bottom": 0}, "height": 157}, {"frame": 1, "bounds": {"left": -52, "right": 69, "top": -157, "bottom": 0}, "height": 157}, {"frame": 2, "bounds": {"left": -56, "right": 107, "top": -158, "bottom": 0}, "height": 158}, {"frame": 3, "bounds": {"left": -61, "right": 73, "top": -157, "bottom": 0}, "height": 157}]}, "attack2": {"frames": [{"frame": 0, "bounds": {"left": -72, "right": 75, "top": -154, "bottom": 0}, "height": 154}, {"frame": 1, "bounds": {"left": -59, "right": 67, "top": -154, "bottom": 0}, "height": 154}, {"frame": 2, "bounds": {"left": -63, "right": 83, "top": -160, "bottom": 0}, "height": 160}, {"frame": 3, "bounds": {"left": -63, "right": 74, "top": -155, "bottom": 0}, "height": 155}]}, "attack3": {"frames": [{"frame": 0, "bounds": {"left": -70, "right": 64, "top": -145, "bottom": 0}, "height": 145}, {"frame": 1, "bounds": {"left": -63, "right": 76, "top": -140, "bottom": 0}, "height": 140}, {"frame": 2, "bounds": {"left": -80, "right": 101, "top": -140, "bottom": 0}, "height": 140}, {"frame": 3, "bounds": {"left": -61, "right": 67, "top": -146, "bottom": 0}, "height": 146}]}, "skill1": {"frames": [{"frame": 0, "bounds": {"left": -68, "right": 62, "top": -155, "bottom": 0}, "height": 155}, {"frame": 1, "bounds": {"left": -68, "right": 62, "top": -154, "bottom": 0}, "height": 154}, {"frame": 2, "bounds": {"left": -57, "right": 81, "top": -152, "bottom": 0}, "height": 152}, {"frame": 3, "bounds": {"left": -65, "right": 64, "top": -155, "bottom": 0}, "height": 155}]}, "skill2": {"frames": [{"frame": 0, "bounds": {"left": -63, "right": 71, "top": -122, "bottom": 0}, "height": 122}, {"frame": 1, "bounds": {"left": -36, "right": 103, "top": -113, "bottom": 0}, "height": 113}, {"frame": 2, "bounds": {"left": -78, "right": 105, "top": -108, "bottom": 0}, "height": 108}, {"frame": 3, "bounds": {"left": -59, "right": 54, "top": -128, "bottom": 0}, "height": 128}]}, "ultimate": {"frames": [{"frame": 0, "bounds": {"left": -51, "right": 48, "top": -152, "bottom": 0}, "height": 152}, {"frame": 1, "bounds": {"left": -65, "right": 51, "top": -152, "bottom": 0}, "height": 152}, {"frame": 2, "bounds": {"left": -56, "right": 73, "top": -152, "bottom": 0}, "height": 152}, {"frame": 3, "bounds": {"left": -63, "right": 36, "top": -154, "bottom": 0}, "height": 154}]}, "hurt": {"frames": [{"frame": 0, "bounds": {"left": -87, "right": 28, "top": -149, "bottom": 0}, "height": 149}, {"frame": 1, "bounds": {"left": -62, "right": 60, "top": -142, "bottom": 0}, "height": 142}, {"frame": 2, "bounds": {"left": -88, "right": 45, "top": -147, "bottom": 0}, "height": 147}, {"frame": 3, "bounds": {"left": -63, "right": 57, "top": -152, "bottom": 0}, "height": 152}]}, "down": {"frames": [{"frame": 0, "bounds": {"left": -75, "right": 49, "top": -122, "bottom": 0}, "height": 122}, {"frame": 1, "bounds": {"left": -61, "right": 54, "top": -108, "bottom": 0}, "height": 108}, {"frame": 2, "bounds": {"left": -64, "right": 69, "top": -94, "bottom": 0}, "height": 94}, {"frame": 3, "bounds": {"left": -64, "right": 65, "top": -112, "bottom": 0}, "height": 112}]}, "recover": {"frames": [{"frame": 0, "bounds": {"left": -90, "right": 71, "top": -104, "bottom": 0}, "height": 104}, {"frame": 1, "bounds": {"left": -66, "right": 56, "top": -125, "bottom": 0}, "height": 125}, {"frame": 2, "bounds": {"left": -46, "right": 69, "top": -141, "bottom": 0}, "height": 141}, {"frame": 3, "bounds": {"left": -64, "right": 59, "top": -164, "bottom": 0}, "height": 164}]}}, "playback": {"jump": {"airFrame": 0, "torsoPivot": {"x": 4, "y": -76}}, "doublejump": {"frame": 0, "duration": 0.28, "pivot": {"x": -8, "y": -60}}, "measurement": "Centers measured from final curated atlas, including integer air-pose alignment; no runtime resizing."}, "emitters": {"attack1": {"x": 107, "y": -94, "frame": 2, "method": "Baton tip or hand on impact frame (farthest-right six-pixel tip; top-right extreme for the rising swing), facing right"}, "attack2": {"x": 80, "y": -160, "frame": 2, "method": "Baton tip or hand on impact frame (farthest-right six-pixel tip; top-right extreme for the rising swing), facing right"}, "attack3": {"x": 101, "y": -80, "frame": 2, "method": "Baton tip or hand on impact frame (farthest-right six-pixel tip; top-right extreme for the rising swing), facing right"}, "skill1": {"x": 81, "y": -94, "frame": 2, "method": "Baton tip or hand on impact frame (farthest-right six-pixel tip; top-right extreme for the rising swing), facing right"}, "skill2": {"x": 105, "y": -51, "frame": 2, "method": "Baton tip or hand on impact frame (farthest-right six-pixel tip; top-right extreme for the rising swing), facing right"}, "ultimate": {"x": 73, "y": -102, "frame": 2, "method": "Baton tip or hand on impact frame (farthest-right six-pixel tip; top-right extreme for the rising swing), facing right"}}};
|