{
  "id": "tide-service",
  "version": "1.0.0",
  "title": {
    "en": "Tide Service",
    "zh": "潮汐检修班"
  },
  "coordinates": {
    "origin": "top_left",
    "yPositive": "down",
    "unit": "pixel",
    "rect": "x, y, width, height",
    "pivot": "shared local physics anchor per actor; cell coordinates",
    "emitter": "local point on visible outer lamp rim, per frame"
  },
  "assets": {
    "ready_aim": {
      "file": "player/engineer-ready.png",
      "size": [
        288,
        256
      ],
      "pivot": [
        138,
        236
      ],
      "emitter": [
        232,
        83
      ],
      "forward": [
        1,
        0
      ]
    },
    "run_key": {
      "file": "player/engineer-run.png",
      "size": [
        288,
        256
      ],
      "pivot": [
        138,
        236
      ],
      "emitter": [
        258,
        117
      ],
      "forward": [
        1,
        0
      ]
    },
    "air_aim": {
      "file": "player/engineer-air.png",
      "size": [
        288,
        256
      ],
      "pivot": [
        138,
        236
      ],
      "emitter": [
        238,
        85
      ],
      "forward": [
        1,
        0
      ]
    },
    "buoy_crab": {
      "file": "enemy/buoy-crab.png",
      "size": [
        192,
        128
      ],
      "pivot": [
        96,
        118
      ],
      "emitter": [
        37,
        62
      ],
      "forward": [
        -1,
        0
      ]
    },
    "pulse": {
      "file": "projectiles/service-pulse.png",
      "size": [
        80,
        24
      ],
      "pivot": [
        2,
        12
      ],
      "forward": [
        1,
        0
      ]
    },
    "warning_signal": {
      "file": "projectiles/warning-signal.png",
      "size": [
        36,
        36
      ],
      "pivot": [
        18,
        18
      ],
      "forward": [
        -1,
        0
      ]
    },
    "spare_fuse": {
      "file": "items/spare-fuse.png",
      "size": [
        64,
        48
      ],
      "pivot": [
        32,
        24
      ]
    },
    "lamp_flash": {
      "file": "effects/lamp-flash.png",
      "size": [
        80,
        48
      ],
      "pivot": [
        1,
        25
      ],
      "forward": [
        1,
        0
      ]
    },
    "contact_spark": {
      "file": "effects/contact-spark.png",
      "size": [
        80,
        80
      ],
      "pivot": [
        40,
        47
      ]
    },
    "pier_left": {
      "file": "terrain/pier-left.png",
      "size": [
        16,
        80
      ],
      "pivot": [
        0,
        0
      ],
      "surfaceY": 1,
      "walkableX": [
        9,
        16
      ],
      "repeatX": false
    },
    "pier_span": {
      "file": "terrain/pier-span.png",
      "size": [
        192,
        80
      ],
      "pivot": [
        0,
        0
      ],
      "surfaceY": 1,
      "walkableX": [
        0,
        192
      ],
      "repeatX": true
    },
    "pier_right": {
      "file": "terrain/pier-right.png",
      "size": [
        16,
        80
      ],
      "pivot": [
        0,
        0
      ],
      "surfaceY": 1,
      "walkableX": [
        0,
        7
      ],
      "repeatX": false
    },
    "harbor_dawn": {
      "file": "background/harbor-dawn.jpg",
      "size": [
        1600,
        640
      ],
      "pivot": [
        0,
        0
      ],
      "repeatX": false
    }
  },
  "clips": {
    "run_aim": {
      "size": [
        288,
        256
      ],
      "pivot": [
        138,
        236
      ],
      "frameCount": 19,
      "fps": 30,
      "durationMs": 633.333,
      "playback": "loop",
      "sheet": "sheets/run_aim.png",
      "columns": 6,
      "video": "videos/run_aim.webm",
      "source": "run-cycle",
      "frames": [
        {
          "file": "frames/run_aim/00.png",
          "rect": [
            0,
            0,
            288,
            256
          ],
          "sourceFrame": 36,
          "emitter": [
            258,
            94
          ]
        },
        {
          "file": "frames/run_aim/01.png",
          "rect": [
            288,
            0,
            288,
            256
          ],
          "sourceFrame": 37,
          "emitter": [
            258,
            92
          ]
        },
        {
          "file": "frames/run_aim/02.png",
          "rect": [
            576,
            0,
            288,
            256
          ],
          "sourceFrame": 38,
          "emitter": [
            258,
            92
          ]
        },
        {
          "file": "frames/run_aim/03.png",
          "rect": [
            864,
            0,
            288,
            256
          ],
          "sourceFrame": 39,
          "emitter": [
            258,
            92
          ]
        },
        {
          "file": "frames/run_aim/04.png",
          "rect": [
            1152,
            0,
            288,
            256
          ],
          "sourceFrame": 40,
          "emitter": [
            258,
            92
          ]
        },
        {
          "file": "frames/run_aim/05.png",
          "rect": [
            1440,
            0,
            288,
            256
          ],
          "sourceFrame": 41,
          "emitter": [
            259,
            94
          ]
        },
        {
          "file": "frames/run_aim/06.png",
          "rect": [
            0,
            256,
            288,
            256
          ],
          "sourceFrame": 42,
          "emitter": [
            258,
            98
          ]
        },
        {
          "file": "frames/run_aim/07.png",
          "rect": [
            288,
            256,
            288,
            256
          ],
          "sourceFrame": 43,
          "emitter": [
            258,
            99
          ]
        },
        {
          "file": "frames/run_aim/08.png",
          "rect": [
            576,
            256,
            288,
            256
          ],
          "sourceFrame": 44,
          "emitter": [
            258,
            97
          ]
        },
        {
          "file": "frames/run_aim/09.png",
          "rect": [
            864,
            256,
            288,
            256
          ],
          "sourceFrame": 45,
          "emitter": [
            258,
            95
          ]
        },
        {
          "file": "frames/run_aim/10.png",
          "rect": [
            1152,
            256,
            288,
            256
          ],
          "sourceFrame": 46,
          "emitter": [
            258,
            92
          ]
        },
        {
          "file": "frames/run_aim/11.png",
          "rect": [
            1440,
            256,
            288,
            256
          ],
          "sourceFrame": 47,
          "emitter": [
            258,
            92
          ]
        },
        {
          "file": "frames/run_aim/12.png",
          "rect": [
            0,
            512,
            288,
            256
          ],
          "sourceFrame": 48,
          "emitter": [
            258,
            92
          ]
        },
        {
          "file": "frames/run_aim/13.png",
          "rect": [
            288,
            512,
            288,
            256
          ],
          "sourceFrame": 49,
          "emitter": [
            258,
            92
          ]
        },
        {
          "file": "frames/run_aim/14.png",
          "rect": [
            576,
            512,
            288,
            256
          ],
          "sourceFrame": 50,
          "emitter": [
            258,
            94
          ]
        },
        {
          "file": "frames/run_aim/15.png",
          "rect": [
            864,
            512,
            288,
            256
          ],
          "sourceFrame": 51,
          "emitter": [
            258,
            95
          ]
        },
        {
          "file": "frames/run_aim/16.png",
          "rect": [
            1152,
            512,
            288,
            256
          ],
          "sourceFrame": 52,
          "emitter": [
            258,
            98
          ]
        },
        {
          "file": "frames/run_aim/17.png",
          "rect": [
            1440,
            512,
            288,
            256
          ],
          "sourceFrame": 53,
          "emitter": [
            258,
            99
          ]
        },
        {
          "file": "frames/run_aim/18.png",
          "rect": [
            0,
            768,
            288,
            256
          ],
          "sourceFrame": 54,
          "emitter": [
            258,
            96
          ]
        }
      ],
      "forward": [
        1,
        0
      ],
      "events": [
        {
          "frame": 6,
          "name": "foot_contact"
        },
        {
          "frame": 16,
          "name": "foot_contact"
        }
      ],
      "groundMotion": {
        "method": "planted sole displacement; median stride speed through suspension",
        "distanceUnit": "cell_pixel",
        "distanceAtBoundary": [
          0.0,
          23.5,
          49.5,
          75.5,
          101.5,
          127.5,
          153.5,
          180.5,
          211.5,
          233.5,
          259.5,
          285.5,
          311.5,
          337.5,
          363.5,
          389.5,
          422.5,
          448.5,
          477.5,
          500.5
        ],
        "measuredIntervals": [
          0,
          6,
          7,
          8,
          9,
          15,
          16,
          17,
          18
        ],
        "stridePx": 500.5,
        "referenceSpeedPxPerSecond": 790.3
      }
    },
    "jump_takeoff": {
      "size": [
        288,
        256
      ],
      "pivot": [
        138,
        236
      ],
      "frameCount": 5,
      "fps": 40,
      "durationMs": 125.0,
      "playback": "once",
      "sheet": "sheets/jump_takeoff.png",
      "columns": 5,
      "video": "videos/jump_takeoff.webm",
      "source": "takeoff",
      "frames": [
        {
          "file": "frames/jump_takeoff/00.png",
          "rect": [
            0,
            0,
            288,
            256
          ],
          "sourceFrame": 12,
          "emitter": [
            233,
            88
          ]
        },
        {
          "file": "frames/jump_takeoff/01.png",
          "rect": [
            288,
            0,
            288,
            256
          ],
          "sourceFrame": 17,
          "emitter": [
            233,
            110
          ]
        },
        {
          "file": "frames/jump_takeoff/02.png",
          "rect": [
            576,
            0,
            288,
            256
          ],
          "sourceFrame": 46,
          "emitter": [
            231,
            146
          ]
        },
        {
          "file": "frames/jump_takeoff/03.png",
          "rect": [
            864,
            0,
            288,
            256
          ],
          "sourceFrame": 48,
          "emitter": [
            239,
            98
          ]
        },
        {
          "file": "frames/jump_takeoff/04.png",
          "rect": [
            1152,
            0,
            288,
            256
          ],
          "sourceAsset": "air_aim",
          "emitter": [
            238,
            85
          ]
        }
      ],
      "forward": [
        1,
        0
      ],
      "events": [
        {
          "frame": 0,
          "name": "jump_input"
        },
        {
          "frame": 2,
          "name": "push_off_pose"
        }
      ]
    },
    "fall_aim": {
      "size": [
        288,
        256
      ],
      "pivot": [
        138,
        236
      ],
      "frameCount": 3,
      "fps": 24,
      "durationMs": 125.0,
      "playback": "hold_last",
      "sheet": "sheets/fall_aim.png",
      "columns": 3,
      "video": "videos/fall_aim.webm",
      "source": "landing",
      "frames": [
        {
          "file": "frames/fall_aim/00.png",
          "rect": [
            0,
            0,
            288,
            256
          ],
          "sourceAsset": "air_aim",
          "emitter": [
            238,
            85
          ]
        },
        {
          "file": "frames/fall_aim/01.png",
          "rect": [
            288,
            0,
            288,
            256
          ],
          "sourceFrame": 20,
          "emitter": [
            239,
            88
          ]
        },
        {
          "file": "frames/fall_aim/02.png",
          "rect": [
            576,
            0,
            288,
            256
          ],
          "sourceFrame": 24,
          "emitter": [
            238,
            96
          ]
        }
      ],
      "forward": [
        1,
        0
      ]
    },
    "land_aim": {
      "size": [
        288,
        256
      ],
      "pivot": [
        138,
        236
      ],
      "frameCount": 6,
      "fps": 36,
      "durationMs": 166.667,
      "playback": "once",
      "sheet": "sheets/land_aim.png",
      "columns": 6,
      "video": "videos/land_aim.webm",
      "source": "landing",
      "frames": [
        {
          "file": "frames/land_aim/00.png",
          "rect": [
            0,
            0,
            288,
            256
          ],
          "sourceFrame": 27,
          "emitter": [
            238,
            102
          ]
        },
        {
          "file": "frames/land_aim/01.png",
          "rect": [
            288,
            0,
            288,
            256
          ],
          "sourceFrame": 31,
          "emitter": [
            238,
            126
          ]
        },
        {
          "file": "frames/land_aim/02.png",
          "rect": [
            576,
            0,
            288,
            256
          ],
          "sourceFrame": 38,
          "emitter": [
            239,
            138
          ]
        },
        {
          "file": "frames/land_aim/03.png",
          "rect": [
            864,
            0,
            288,
            256
          ],
          "sourceFrame": 70,
          "emitter": [
            237,
            121
          ]
        },
        {
          "file": "frames/land_aim/04.png",
          "rect": [
            1152,
            0,
            288,
            256
          ],
          "sourceFrame": 75,
          "emitter": [
            233,
            90
          ]
        },
        {
          "file": "frames/land_aim/05.png",
          "rect": [
            1440,
            0,
            288,
            256
          ],
          "sourceAsset": "ready_aim",
          "emitter": [
            232,
            83
          ]
        }
      ],
      "forward": [
        1,
        0
      ],
      "events": [
        {
          "frame": 0,
          "name": "ground_contact"
        }
      ]
    },
    "crab_patrol": {
      "size": [
        192,
        128
      ],
      "pivot": [
        96,
        118
      ],
      "frameCount": 27,
      "fps": 24,
      "durationMs": 1125.0,
      "playback": "loop",
      "sheet": "sheets/crab_patrol.png",
      "columns": 6,
      "video": "videos/crab_patrol.webm",
      "source": "crab-patrol",
      "frames": [
        {
          "file": "frames/crab_patrol/00.png",
          "rect": [
            0,
            0,
            192,
            128
          ],
          "sourceFrame": 51,
          "emitter": [
            37,
            62
          ]
        },
        {
          "file": "frames/crab_patrol/01.png",
          "rect": [
            192,
            0,
            192,
            128
          ],
          "sourceFrame": 52,
          "emitter": [
            37,
            62
          ]
        },
        {
          "file": "frames/crab_patrol/02.png",
          "rect": [
            384,
            0,
            192,
            128
          ],
          "sourceFrame": 53,
          "emitter": [
            37,
            62
          ]
        },
        {
          "file": "frames/crab_patrol/03.png",
          "rect": [
            576,
            0,
            192,
            128
          ],
          "sourceFrame": 54,
          "emitter": [
            37,
            62
          ]
        },
        {
          "file": "frames/crab_patrol/04.png",
          "rect": [
            768,
            0,
            192,
            128
          ],
          "sourceFrame": 55,
          "emitter": [
            37,
            62
          ]
        },
        {
          "file": "frames/crab_patrol/05.png",
          "rect": [
            960,
            0,
            192,
            128
          ],
          "sourceFrame": 56,
          "emitter": [
            37,
            63
          ]
        },
        {
          "file": "frames/crab_patrol/06.png",
          "rect": [
            0,
            128,
            192,
            128
          ],
          "sourceFrame": 57,
          "emitter": [
            37,
            64
          ]
        },
        {
          "file": "frames/crab_patrol/07.png",
          "rect": [
            192,
            128,
            192,
            128
          ],
          "sourceFrame": 58,
          "emitter": [
            37,
            64
          ]
        },
        {
          "file": "frames/crab_patrol/08.png",
          "rect": [
            384,
            128,
            192,
            128
          ],
          "sourceFrame": 59,
          "emitter": [
            37,
            64
          ]
        },
        {
          "file": "frames/crab_patrol/09.png",
          "rect": [
            576,
            128,
            192,
            128
          ],
          "sourceFrame": 60,
          "emitter": [
            37,
            63
          ]
        },
        {
          "file": "frames/crab_patrol/10.png",
          "rect": [
            768,
            128,
            192,
            128
          ],
          "sourceFrame": 61,
          "emitter": [
            37,
            63
          ]
        },
        {
          "file": "frames/crab_patrol/11.png",
          "rect": [
            960,
            128,
            192,
            128
          ],
          "sourceFrame": 62,
          "emitter": [
            37,
            62
          ]
        },
        {
          "file": "frames/crab_patrol/12.png",
          "rect": [
            0,
            256,
            192,
            128
          ],
          "sourceFrame": 63,
          "emitter": [
            37,
            62
          ]
        },
        {
          "file": "frames/crab_patrol/13.png",
          "rect": [
            192,
            256,
            192,
            128
          ],
          "sourceFrame": 64,
          "emitter": [
            37,
            62
          ]
        },
        {
          "file": "frames/crab_patrol/14.png",
          "rect": [
            384,
            256,
            192,
            128
          ],
          "sourceFrame": 65,
          "emitter": [
            38,
            62
          ]
        },
        {
          "file": "frames/crab_patrol/15.png",
          "rect": [
            576,
            256,
            192,
            128
          ],
          "sourceFrame": 66,
          "emitter": [
            38,
            62
          ]
        },
        {
          "file": "frames/crab_patrol/16.png",
          "rect": [
            768,
            256,
            192,
            128
          ],
          "sourceFrame": 67,
          "emitter": [
            38,
            62
          ]
        },
        {
          "file": "frames/crab_patrol/17.png",
          "rect": [
            960,
            256,
            192,
            128
          ],
          "sourceFrame": 68,
          "emitter": [
            38,
            62
          ]
        },
        {
          "file": "frames/crab_patrol/18.png",
          "rect": [
            0,
            384,
            192,
            128
          ],
          "sourceFrame": 69,
          "emitter": [
            38,
            63
          ]
        },
        {
          "file": "frames/crab_patrol/19.png",
          "rect": [
            192,
            384,
            192,
            128
          ],
          "sourceFrame": 70,
          "emitter": [
            38,
            63
          ]
        },
        {
          "file": "frames/crab_patrol/20.png",
          "rect": [
            384,
            384,
            192,
            128
          ],
          "sourceFrame": 71,
          "emitter": [
            37,
            64
          ]
        },
        {
          "file": "frames/crab_patrol/21.png",
          "rect": [
            576,
            384,
            192,
            128
          ],
          "sourceFrame": 72,
          "emitter": [
            37,
            64
          ]
        },
        {
          "file": "frames/crab_patrol/22.png",
          "rect": [
            768,
            384,
            192,
            128
          ],
          "sourceFrame": 73,
          "emitter": [
            37,
            64
          ]
        },
        {
          "file": "frames/crab_patrol/23.png",
          "rect": [
            960,
            384,
            192,
            128
          ],
          "sourceFrame": 74,
          "emitter": [
            37,
            63
          ]
        },
        {
          "file": "frames/crab_patrol/24.png",
          "rect": [
            0,
            512,
            192,
            128
          ],
          "sourceFrame": 75,
          "emitter": [
            37,
            63
          ]
        },
        {
          "file": "frames/crab_patrol/25.png",
          "rect": [
            192,
            512,
            192,
            128
          ],
          "sourceFrame": 76,
          "emitter": [
            37,
            63
          ]
        },
        {
          "file": "frames/crab_patrol/26.png",
          "rect": [
            384,
            512,
            192,
            128
          ],
          "sourceFrame": 77,
          "emitter": [
            37,
            62
          ]
        }
      ],
      "forward": [
        -1,
        0
      ]
    },
    "lamp_discharge": {
      "size": [
        80,
        48
      ],
      "pivot": [
        1,
        25
      ],
      "frameCount": 4,
      "fps": 36,
      "durationMs": 111.111,
      "playback": "once",
      "sheet": "sheets/lamp_discharge.png",
      "columns": 4,
      "video": "videos/lamp_discharge.webm",
      "source": "timed_illustration",
      "frames": [
        {
          "file": "frames/lamp_discharge/00.png",
          "rect": [
            0,
            0,
            80,
            48
          ],
          "sourceAsset": "lamp_flash",
          "scale": [
            0.55,
            0.75
          ],
          "opacity": 0.83
        },
        {
          "file": "frames/lamp_discharge/01.png",
          "rect": [
            80,
            0,
            80,
            48
          ],
          "sourceAsset": "lamp_flash",
          "scale": [
            1,
            1
          ],
          "opacity": 1
        },
        {
          "file": "frames/lamp_discharge/02.png",
          "rect": [
            160,
            0,
            80,
            48
          ],
          "sourceAsset": "lamp_flash",
          "scale": [
            0.76,
            0.82
          ],
          "opacity": 0.86
        },
        {
          "file": "frames/lamp_discharge/03.png",
          "rect": [
            240,
            0,
            80,
            48
          ],
          "sourceAsset": "lamp_flash",
          "scale": [
            0.39,
            0.52
          ],
          "opacity": 0.43
        }
      ]
    },
    "hit_spark": {
      "size": [
        80,
        80
      ],
      "pivot": [
        40,
        47
      ],
      "frameCount": 6,
      "fps": 30,
      "durationMs": 200.0,
      "playback": "once",
      "sheet": "sheets/hit_spark.png",
      "columns": 6,
      "video": "videos/hit_spark.webm",
      "source": "timed_illustration",
      "frames": [
        {
          "file": "frames/hit_spark/00.png",
          "rect": [
            0,
            0,
            80,
            80
          ],
          "sourceAsset": "contact_spark",
          "scale": [
            0.23,
            0.23
          ],
          "opacity": 0.92
        },
        {
          "file": "frames/hit_spark/01.png",
          "rect": [
            80,
            0,
            80,
            80
          ],
          "sourceAsset": "contact_spark",
          "scale": [
            0.49,
            0.49
          ],
          "opacity": 1
        },
        {
          "file": "frames/hit_spark/02.png",
          "rect": [
            160,
            0,
            80,
            80
          ],
          "sourceAsset": "contact_spark",
          "scale": [
            0.79,
            0.79
          ],
          "opacity": 1
        },
        {
          "file": "frames/hit_spark/03.png",
          "rect": [
            240,
            0,
            80,
            80
          ],
          "sourceAsset": "contact_spark",
          "scale": [
            1,
            1
          ],
          "opacity": 0.94
        },
        {
          "file": "frames/hit_spark/04.png",
          "rect": [
            320,
            0,
            80,
            80
          ],
          "sourceAsset": "contact_spark",
          "scale": [
            0.9,
            0.9
          ],
          "opacity": 0.64
        },
        {
          "file": "frames/hit_spark/05.png",
          "rect": [
            400,
            0,
            80,
            80
          ],
          "sourceAsset": "contact_spark",
          "scale": [
            0.73,
            0.73
          ],
          "opacity": 0.25
        }
      ]
    }
  },
  "sources": {
    "crab-patrol": {
      "model": "doubao-seedance-2-0-fast-260128",
      "requestedSeconds": 4,
      "sourceFps": 24,
      "sourceFrames": 97,
      "firstPts": 0.0,
      "lastPts": 4.0,
      "sourceSha256": "c2595a63e594722d3c2a0851c12fb34586b8db5d17c7a68bf78a92408cb89546"
    },
    "landing": {
      "model": "doubao-seedance-2-0-fast-260128",
      "requestedSeconds": 4,
      "sourceFps": 24,
      "sourceFrames": 97,
      "firstPts": 0.0,
      "lastPts": 4.0,
      "sourceSha256": "53f43541c4fa5578c3fa0bd2f96ff7a288ec8de033ae9e3ebd56cec4272b66e4"
    },
    "run-cycle": {
      "model": "doubao-seedance-2-0-fast-260128",
      "requestedSeconds": 4,
      "sourceFps": 24,
      "sourceFrames": 97,
      "firstPts": 0.0,
      "lastPts": 4.0,
      "sourceSha256": "3224576850e57bd1203d8bbe677f747ae550d894f1b9494e0f160090be0fe9bc"
    },
    "takeoff": {
      "model": "doubao-seedance-2-0-fast-260128",
      "requestedSeconds": 4,
      "sourceFps": 24,
      "sourceFrames": 97,
      "firstPts": 0.0,
      "lastPts": 4.0,
      "sourceSha256": "f7c44060277594c45484963b3e1ba81a3b4ba25d4524ae2718c7a91ef307e187"
    }
  },
  "actors": {
    "engineer": {
      "pivot": [
        138,
        236
      ],
      "forward": [
        1,
        0
      ],
      "suggestedBodyBox": [
        109,
        74,
        54,
        162
      ],
      "states": {
        "ready": {
          "asset": "ready_aim"
        },
        "run": {
          "clip": "run_aim"
        },
        "jump": {
          "clip": "jump_takeoff"
        },
        "air": {
          "asset": "air_aim"
        },
        "fall": {
          "clip": "fall_aim"
        },
        "land": {
          "clip": "land_aim"
        }
      },
      "shot": {
        "flash": "lamp_discharge",
        "projectile": "pulse"
      }
    },
    "buoy_crab": {
      "pivot": [
        96,
        118
      ],
      "forward": [
        -1,
        0
      ],
      "suggestedBodyBox": [
        49,
        37,
        86,
        61
      ],
      "states": {
        "ready": {
          "asset": "buoy_crab"
        },
        "patrol": {
          "clip": "crab_patrol"
        }
      },
      "shot": {
        "projectile": "warning_signal"
      }
    }
  }
}
