kamishibai: "4.0"
controls:
  keymaps:
    production:
      Space: rehearsal.skipPose
      ArrowRight: rehearsal.skipAction
      ArrowDown: rehearsal.skipScene
    rehearsal:
      Space: rehearsal.skipPose
      ArrowRight: rehearsal.skipAction
      ArrowDown: rehearsal.skipScene
assets:
  Urashima-walk-1:
    kind: costume
    target: Urashima
    file: assets/images/9a8cf053f6169ea9b530a852ab62c5a0.png
    bitmapResolution: 1
  Urashima-help-1:
    kind: costume
    target: Urashima
    file: assets/images/5addf20c0b4eaaffaf25b43f89aacbe6.png
    bitmapResolution: 1
  Urashima-dance-1:
    kind: costume
    target: Urashima
    file: assets/images/d2823262fff990e461b9949e365d69e7.png
    bitmapResolution: 1
  Urashima-dance-2:
    kind: costume
    target: Urashima
    file: assets/images/6e5100ae8618327d33dd25283b9538f5.png
    bitmapResolution: 1
  Urashima-ride-1:
    kind: costume
    target: Urashima
    file: assets/images/ce4422b05e0ecb3983a54bb7f6cff375.png
    bitmapResolution: 1
  Urashima-ride-2:
    kind: costume
    target: Urashima
    file: assets/images/5d3b41e97d0e31d26ab923deafe6664d.png
    bitmapResolution: 1
  Urashima-box-1:
    kind: costume
    target: Urashima
    file: assets/images/f937d1f9c7834e9523c54d4eb501eb34.png
    bitmapResolution: 1
  Urashima-box-2:
    kind: costume
    target: Urashima
    file: assets/images/0ebda7a9a60220820caad99718852f63.png
    bitmapResolution: 1
  Urashima-surprised:
    kind: costume
    target: Urashima
    file: assets/images/2f2c5e8a10a5e8ea162340c44d8c64cc.png
    bitmapResolution: 1
  Urashima-open-1:
    kind: costume
    target: Urashima
    file: assets/images/34dc7c981812db18f26fae2d7c4a3032.png
    bitmapResolution: 1
  Urashima-open-2:
    kind: costume
    target: Urashima
    file: assets/images/5ce0a5f82c1a73d33c37ed75283799d9.png
    bitmapResolution: 1
  Urashima-open-3:
    kind: costume
    target: Urashima
    file: assets/images/3ee01b9e5d5cfa4c7a0962a787952539.png
    bitmapResolution: 1
  Urashima-old-1:
    kind: costume
    target: Urashima
    file: assets/images/55e6e813b850dcdaa5048d1adf23445b.png
    bitmapResolution: 1
  Urashima-old-2:
    kind: costume
    target: Urashima
    file: assets/images/04b206e9ecf2c990d9f440612578406c.png
    bitmapResolution: 1
  Turtle:
    kind: costume
    target: Turtle
    file: assets/images/b556a0d2cffad420a17b8ebecfae6548.png
    bitmapResolution: 1
  Princess:
    kind: costume
    target: Princess
    file: assets/images/93498a96129dbd581f52776ab23a0a46.png
    bitmapResolution: 1
  Fish1:
    kind: costume
    target: Fish
    file: assets/images/ecb9fee0c3fd0360315be4d364b7172a.png
    bitmapResolution: 1
  Fish2:
    kind: costume
    target: Fish
    file: assets/images/ffacdc18383a2965ed75755fd74ace0e.png
    bitmapResolution: 1
  Beach1:
    kind: backdrop
    file: assets/images/eb776c9010f3e8cb37c996ed28ced040.png
    bitmapResolution: 2
  Beach2:
    kind: backdrop
    file: assets/images/a3989cb8ade50e902eca361fb039eb9e.png
    bitmapResolution: 2
  Ocean:
    kind: backdrop
    file: assets/images/f17a928d2b84a862897355d764b27ea7.png
    bitmapResolution: 2
  Dragon Castle:
    kind: backdrop
    file: assets/images/cb0680dde39f37183cf6a036c1ba9d84.png
    bitmapResolution: 2
  Smoke:
    kind: backdrop
    file: assets/images/93393d4256c7651095f509e7beede6f7.png
    bitmapResolution: 2
  End:
    kind: backdrop
    file: assets/images/47a3f4dc8ef6daef91623e54ee109cd9.png
    bitmapResolution: 2
  Stars:
    kind: backdrop
    file: assets/images/47282ff0f7047c6fab9c94b531abf721.png
    bitmapResolution: 2
  Guitar Chords2:
    kind: sound
    file: assets/sounds/b3dde1b18eefc1b833889cfb0166347e.mp3
  Rip:
    kind: sound
    file: assets/sounds/edef7e21a863bd400323a8a84359724b.mp3
  Squish Pop:
    kind: sound
    file: assets/sounds/ff3775a2cc22c7c87eb8b851ed650efe.mp3
  Squeaky Toy:
    kind: sound
    file: assets/sounds/439f8657b1cb684019a48463e05efa8b.mp3
  Jump:
    kind: sound
    file: assets/sounds/02283e47a05e37d03a26eda444f331aa.mp3
  Odesong:
    kind: sound
    file: assets/sounds/94a18e35af30d118a139d0394d38f32d.mp3
  Splash:
    kind: sound
    file: assets/sounds/98e221fee9f4930b018496fb3a266687.mp3
  Drum Funky:
    kind: sound
    file: assets/sounds/c28fb91feabdce6f882cbe8a6130c9c8.mp3
  Medieval2:
    kind: sound
    file: assets/sounds/26bc2918f3516ee760f6f31c23d61e11.mp3
  Medieval1:
    kind: sound
    file: assets/sounds/3dc51a6cfa6c4078aeeafb5db54b0290.mp3
  Lo Gliss Tabla:
    kind: sound
    file: assets/sounds/9a3d3c59ddb24028da478eb5f4fe3217.mp3
  Low Conga:
    kind: sound
    file: assets/sounds/c8531feaf9e1e7342d1171961d8443aa.mp3
  Lo Geh Tabla:
    kind: sound
    file: assets/sounds/579156750e1ce25b2a829780df2598e6.mp3
  Gong:
    kind: sound
    file: assets/sounds/953ecfbb79d1974cf8a510922f3cc97d.mp3
  Crowd Gasp:
    kind: sound
    file: assets/sounds/12e6c84f065d6a8b651e8fbb4b246e2a.mp3
  Ocean Wave:
    kind: sound
    file: assets/sounds/9bdabd397aac6305ceb80899c7b2ae78.mp3
  Xylo2:
    kind: sound
    file: assets/sounds/e4ee886bed15fe374cf8faf73ea423f4.mp3
  Goal Cheer:
    kind: sound
    file: assets/sounds/72a029d02f38062e3d3eecc5605b2289.mp3
  Clock Ticking:
    kind: sound
    file: assets/sounds/13561fa02a628ea56859f72a90a3bfab.mp3
  Sewing Machine:
    kind: sound
    file: assets/sounds/cfc75b8ec10d522a49e754cee372fcb9.mp3
  TextPlaceholder:
    kind: costume
    target: Narration
    file: assets/images/b6c18d2f3df8b5d12e2b6a529109fec2.svg
  PoseModel1:
    kind: poseModel
    file: pose-models/1and2
    loading: lazy
  PoseModel2:
    kind: poseModel
    file: pose-models/3and4
    loading: lazy
  PoseModel3:
    kind: poseModel
    file: pose-models/6and7
    loading: lazy
actors:
  Urashima: Urashima-walk-1
  Turtle: Turtle
  Princess: Princess
  Fish: Fish1
  Narration: TextPlaceholder
cover:
  backdrop: Beach1
  bgm: Ocean Wave
textStyles:
  default:
    background: "#ffffff"
    color: "#575e75"
    font: Helvetica
    size: 100
    align: left
  narration:
    background: "#00000000"
    color: "#ffffff"
    font: Noto Sans JP
    size: 200
    align: center
  ending:
    background: "#00000000"
    color: "#ffffff"
    font: Noto Sans JP
    size: 300
    align: center
variables:
  startSceneIndex: 1
loading:
  backdrop: Stars
  costumes:
    - Fish1
    - Fish2
poseRecognition:
  idleSound: Clock Ticking
  chargeSound: Sewing Machine
  navigation:
    allowSkip: true
scenes:
  opening:
    - transition:
        effect: fadeOut
        seconds: 1
    - stage: Stars
    - transition:
        effect: fadeUp
        seconds: 1
    - Narration.show:
        skin: TextPlaceholder
        x: 0
        y: 0
        scale: 100
    - Narration.setText:
        text: むかし
        style: narration
    - wait: 2
    - Narration.setText:
        text: むかし　むかし、
        style: narration
    - wait: 2
    - Narration.setText:
        text: |-
          むかし　むかし、
          あるところに...
        style: narration
    - wait: 2
    - Narration.setText:
        text: ""
        style: narration
  beach:
    poseModel: PoseModel1
    actions:
      - transition:
          effect: fadeOut
          seconds: 1
      - stage: Beach1
      - transition:
          effect: fadeUp
          seconds: 1
      - wait: 0.5
      - bgm: Guitar Chords2
      - wait: 0.3
      - Urashima.show:
          skin: Urashima-walk-1
          x: 172
          y: -77
          scale: 45
      - wait: 1.5
      - Urashima.say:
          text: 今日は浜辺を散歩しよう。
          seconds: 2
      - wait: 1
      - Urashima.moveTo:
          x: 40
          y: -77
          seconds: 1.5
      - wait: 0.25
      - Turtle.show:
          skin: Turtle
          x: -190
          y: -110
          scale: 35
      - Turtle.moveTo:
          x: -165
          y: -110
          seconds: 0.5
      - wait: 0.75
      - Urashima.say:
          text: あっカメだ！どうしたの？
          seconds: 2
      - wait: 1
      - Turtle.say:
          text: ............
          seconds: 2
      - wait: 1
      - bgm: Squeaky Toy
      - Turtle.say:
          text: 助けてください！
          seconds: 2
      - wait: 2
      - Urashima.say:
          text: ""
          seconds: 0
      - Turtle.say:
          text: ""
          seconds: 0
      - Urashima.show:
          skin: Urashima-help-1
          x: 40
          y: -77
          scale: 45
      - Urashima.moveTo:
          x: 0
          y: -77
          seconds: 0.5
      - Urashima.pose:
          steps:
            - pose: help
              skin: Urashima-help-1
              sound: Squish Pop
      - Urashima.setSkin:
          skin: Urashima-walk-1
      - wait: 1.5
      - Urashima.moveTo:
          x: 120
          y: -77
          seconds: 1.5
      - bgm: Squeaky Toy
      - Turtle.say:
          text: ありがとうございます！
          seconds: 1
      - wait: 1
      - bgm: Squeaky Toy
      - Turtle.say:
          text: お礼に竜宮城へご案内します。
          seconds: 2
      - wait: 1
      - bgm: Jump
      - Urashima.setSkin:
          skin: Urashima-dance-1
      - Urashima.say:
          text: わーい🎵
          seconds: 2
      - wait: 1.5
      - Urashima.say:
          text: ""
          seconds: 0
      - bgm: Odesong
      - wait: 1.2
  ocean:
    poseModel: PoseModel1
    actions:
      - stage: Ocean
      - wait: 1.5
      - Urashima.show:
          skin: Urashima-ride-1
          x: 170
          y: 5
          scale: 40
      - Urashima.moveTo:
          x: 140
          y: -5
          seconds: 0.25
      - Urashima.moveTo:
          x: 110
          y: 5
          seconds: 0.25
      - Urashima.moveTo:
          x: 80
          y: -5
          seconds: 0.25
      - Urashima.moveTo:
          x: 50
          y: 5
          seconds: 0.25
      - Urashima.moveTo:
          x: 20
          y: -5
          seconds: 0.25
      - Urashima.pose:
          steps:
            - pose: ride2
              skin: Urashima-ride-2
              sound: Splash
            - pose: ride1
              skin: Urashima-ride-1
              sound: Splash
            - pose: ride2
              skin: Urashima-ride-2
              sound: Splash
            - pose: ride1
              skin: Urashima-ride-1
              sound: Splash
      - bgm: Odesong
      - wait: 2
      - Urashima.moveTo:
          x: -10
          y: 5
          seconds: 0.25
      - Urashima.moveTo:
          x: -40
          y: -5
          seconds: 0.25
      - Urashima.moveTo:
          x: -70
          y: 5
          seconds: 0.25
      - Urashima.moveTo:
          x: -100
          y: -5
          seconds: 0.25
  welcome to dragon castle:
    poseModel: PoseModel2
    actions:
      - stage: Dragon Castle
      - wait: 0.5
      - Urashima.show:
          skin: Urashima-walk-1
          x: 172
          y: -57
          scale: 45
      - wait: 1
      - Urashima.moveTo:
          x: 40
          y: -57
          seconds: 1.5
      - Princess.show:
          skin: Princess
          x: -130
          y: -27
          scale: 70
      - wait: 1
      - Princess.say:
          text: ようこそ竜宮城へ。
          seconds: 2.5
      - wait: 0.1
      - Princess.say:
          text: 楽しんでいってくださいね。
          seconds: 2.5
      - wait: 1
      - bgm: Jump
      - Fish.show:
          skin: Fish1
          x: -130
          y: -27
          scale: 70
      - Fish.setSkin: Fish2
      - wait: 0.3
      - Fish.setSkin: Fish1
      - wait: 0.3
      - Fish.setSkin: Fish2
      - wait: 0.3
      - Fish.setSkin: Fish1
      - Urashima.setSkin:
          skin: Urashima-dance-1
      - Urashima.pose:
          steps:
            - pose: dance1
              skin: Urashima-dance-1
              sound: Drum Funky
            - pose: dance2
              skin: Urashima-dance-2
              sound: Drum Funky
            - pose: dance1
              skin: Urashima-dance-1
              sound: Drum Funky
            - pose: dance2
              skin: Urashima-dance-2
              sound: Drum Funky
      - wait: 2
  goodbye dragon castle:
    poseModel: PoseModel2
    actions:
      - stage: Dragon Castle
      - wait: 2
      - bgm: Medieval2
      - wait: 1.4
      - Princess.show:
          skin: Princess
          x: -130
          y: -27
          scale: 70
      - wait: 1.9
      - Urashima.show:
          skin: Urashima-walk-1
          x: 80
          y: -77
          scale: 45
      - wait: 1.9
      - Princess.say:
          text: お帰りになる前に、この玉手箱をどうぞ。
          seconds: 2.2
      - wait: 2.4
      - Urashima.moveTo:
          x: 55
          y: -77
          seconds: 0.5
      - Urashima.setSkin:
          skin: Urashima-box-1
      - Urashima.pose:
          steps:
            - pose: receive
              skin: Urashima-box-1
              sound: Rip
            - pose: goodbye
              skin: Urashima-box-2
              sound: Rip
      - Urashima.moveTo:
          x: 170
          y: -77
          seconds: 2.5
      - wait: 1
      - Urashima.setTransparency: 100
      - wait: 1
      - Princess.think:
          text: ............
          seconds: 2.5
      - Princess.setTransparency: 100
      - wait: 2
  home village:
    - transition:
        effect: fadeOut
        seconds: 1
    - stage: Beach2
    - transition:
        effect: fadeUp
        seconds: 1
    - wait: 1
    - bgm: Medieval1
    - wait: 3
    - Urashima.show:
        skin: Urashima-walk-1
        x: 172
        y: -57
        scale: 45
    - Urashima.setTransparency: 0
    - wait: 2
    - Urashima.moveTo:
        x: 0
        y: -57
        seconds: 2
    - wait: 0.5
    - Urashima.setSkin:
        skin: Urashima-surprised
    - wait: 1
    - bgm: Ocean Wave
    - Urashima.say:
        text: 村の様子が変わっている
        seconds: 3
    - wait: 1
  open the box:
    poseModel: PoseModel3
    actions:
      - stage: Beach2
      - Urashima.show:
          skin: Urashima-open-1
          x: 0
          y: -57
          scale: 45
      - wait: 2
      - Urashima.say:
          text: 開けてはいけないと言われたけれど......
          seconds: 4
      - Urashima.pose:
          steps:
            - pose: open1
              skin: Urashima-open-1
              sound: Lo Geh Tabla
            - pose: open2
              skin: Urashima-open-2
              sound: Lo Gliss Tabla
            - pose: open3
              skin: Urashima-open-3
              sound: Low Conga
      - Urashima.say:
          text: ""
          seconds: 0
      - wait: 2
  regret:
    poseModel: PoseModel3
    actions:
      - transition:
          effect: fadeToWhite
          seconds: 1
      - stage: Smoke
      - transition:
          effect: fadeFromWhite
          seconds: 1
      - sound: Gong
      - Urashima.show:
          skin: Urashima-old-1
          x: 0
          y: -57
          scale: 45
      - bgm: Crowd Gasp
      - wait: 2
      - Urashima.setSkin: Urashima-old-2
      - wait: 1
      - Urashima.think:
          text: あっという間におじいさんになってしまった…
          seconds: 3
      - Urashima.pose:
          steps:
            - pose: despair
              skin: Urashima-old-2
              sound: Ocean Wave
      - bgm: Medieval1
      - wait: 4
      - Urashima.setTransparency: 100
      - wait: 1
  curtain call:
    - transition:
        effect: fadeOut
        seconds: 1
    - stage: Dragon Castle
    - transition:
        effect: fadeUp
        seconds: 1
    - sound: Ocean Wave
    - wait: 1.5
    - bgm: Xylo2
    - wait: 2.7
    - Turtle.show:
        skin: Turtle
        x: -170
        y: -20
        scale: 40
    - wait: 1.2
    - Princess.show:
        skin: Princess
        x: 0
        y: -27
        scale: 70
    - Princess.setTransparency: 0
    - wait: 1.2
    - Urashima.show:
        skin: Urashima-walk-1
        x: 155
        y: -10
        scale: 45
    - Urashima.setTransparency: 0
    - wait: 1.2
    - Princess.say:
        text: バイバイ！
        seconds: 4.6
    - wait: 0.1
  end credit:
    - stage: End
    - Narration.show:
        skin: TextPlaceholder
        x: 0
        y: 0
        scale: 100
    - Narration.setText:
        text: お し ま い
        style: ending
    - wait: 0.5
    - sound: Goal Cheer
    - wait: 4
    - transition:
        effect: fadeOut
        seconds: 1
