{
  "format": 1,
  "type": "scene",
  "dimension": "2d",
  "name": "CastleRun",
  "environment": { "background": "#8fd0ef" },
  "viewport": { "design": [960, 540], "fit": "expand" },
  "physics": { "gravity": [0, 1800] },
  "input": {
    "move": {
      "type": "vector2",
      "keys": {
        "up": [],
        "down": [],
        "left": ["KeyA", "ArrowLeft"],
        "right": ["KeyD", "ArrowRight"]
      },
      "touch": "joystick"
    },
    "jump": { "type": "button", "keys": ["Space", "KeyW", "ArrowUp"], "touch": "button" },
    "pause": { "type": "button", "keys": ["Escape"] },
    "restart": { "type": "button", "keys": ["KeyR"] }
  },
  "assets": {
    "knight": {
      "type": "spritesheet",
      "url": "incanto/assets/characters/medieval-knight.png",
      "frameWidth": 192,
      "frameHeight": 192,
      "filter": "nearest",
      "source": "built-in catalog 'medieval-knight' — idle 0-5, move 6-11, attack 12-17. URL injected in main.ts so the art ships with the package."
    },
    "goblin": {
      "type": "spritesheet",
      "url": "incanto/assets/characters/goblin.png",
      "frameWidth": 192,
      "frameHeight": 192,
      "filter": "nearest",
      "source": "built-in catalog 'goblin' — idle 0-6, move 7-12. URL injected in main.ts."
    },
    "coin": {
      "type": "texture",
      "url": "incanto/assets/items/coin.png",
      "filter": "nearest",
      "source": "built-in catalog 'coin' — gold collectible. URL injected in main.ts."
    },
    "gem": {
      "type": "texture",
      "url": "incanto/assets/items/gem.png",
      "filter": "nearest",
      "source": "built-in catalog 'gem' — valuable collectible. URL injected in main.ts."
    }
  },
  "root": {
    "name": "Game",
    "type": "Node",
    "script": { "name": "ScoreKeeper", "props": { "scoreToWin": 100000, "lives": 3 } },
    "children": [
      {
        "name": "Sky",
        "type": "ColorRect2D",
        "props": {
          "position": [1400, 250],
          "size": [6000, 1500],
          "color": "#8fd0ef",
          "renderOrder": -60,
          "anchor": [0.5, 0.5]
        },
        "script": { "name": "ParallaxLayer", "props": { "factor": 0.96 } },
        "uid": "n_8s4fwe02mmjaf6o4"
      },
      {
        "name": "Sun",
        "type": "ColorRect2D",
        "props": {
          "position": [760, 150],
          "size": [120, 120],
          "color": "#fff2c4",
          "renderOrder": -59,
          "anchor": [0.5, 0.5]
        },
        "script": { "name": "ParallaxLayer", "props": { "factor": 0.94 } },
        "uid": "n_io1e5nqi1q9p0aor"
      },
      {
        "name": "Cloud1",
        "type": "ColorRect2D",
        "props": {
          "position": [500, 130],
          "size": [220, 46],
          "color": "#eaf6ff",
          "opacity": 0.9,
          "renderOrder": -58,
          "anchor": [0.5, 0.5]
        },
        "script": { "name": "ParallaxLayer", "props": { "factor": 0.9 } },
        "uid": "n_u9sglddcy0spenib"
      },
      {
        "name": "Cloud2",
        "type": "ColorRect2D",
        "props": {
          "position": [1150, 180],
          "size": [300, 56],
          "color": "#eaf6ff",
          "opacity": 0.9,
          "renderOrder": -58,
          "anchor": [0.5, 0.5]
        },
        "script": { "name": "ParallaxLayer", "props": { "factor": 0.9 } },
        "uid": "n_oeoy2ytk9y8tfqal"
      },
      {
        "name": "Cloud3",
        "type": "ColorRect2D",
        "props": {
          "position": [1850, 120],
          "size": [260, 50],
          "color": "#eaf6ff",
          "opacity": 0.9,
          "renderOrder": -58,
          "anchor": [0.5, 0.5]
        },
        "script": { "name": "ParallaxLayer", "props": { "factor": 0.9 } },
        "uid": "n_glne90a03zy5os5g"
      },
      {
        "name": "CastleFarLayer",
        "type": "Node2D",
        "props": { "position": [0, 0], "renderOrder": -50 },
        "script": { "name": "ParallaxLayer", "props": { "factor": 0.82 } },
        "children": [
          {
            "name": "Band",
            "type": "ColorRect2D",
            "props": {
              "position": [1400, 430],
              "size": [6000, 460],
              "color": "#9aa9cf",
              "anchor": [0.5, 0.5]
            },
            "uid": "n_kgnsavlruqzwtrmf"
          },
          {
            "name": "T1",
            "type": "ColorRect2D",
            "props": {
              "position": [420, 250],
              "size": [110, 320],
              "color": "#8a9bc6",
              "anchor": [0.5, 0.5]
            },
            "uid": "n_x9q1fdk2x9jbb74v"
          },
          {
            "name": "T1cap",
            "type": "ColorRect2D",
            "props": {
              "position": [420, 96],
              "size": [140, 26],
              "color": "#8a9bc6",
              "anchor": [0.5, 0.5]
            },
            "uid": "n_cnpvcrr8yu0w8uk0"
          },
          {
            "name": "T2",
            "type": "ColorRect2D",
            "props": {
              "position": [1150, 225],
              "size": [124, 370],
              "color": "#8a9bc6",
              "anchor": [0.5, 0.5]
            },
            "uid": "n_7z6waabkfu9sl42m"
          },
          {
            "name": "T2cap",
            "type": "ColorRect2D",
            "props": {
              "position": [1150, 58],
              "size": [156, 28],
              "color": "#8a9bc6",
              "anchor": [0.5, 0.5]
            },
            "uid": "n_yt6nyquw4tuk1pb4"
          },
          {
            "name": "T3",
            "type": "ColorRect2D",
            "props": {
              "position": [1950, 265],
              "size": [104, 300],
              "color": "#8a9bc6",
              "anchor": [0.5, 0.5]
            },
            "uid": "n_xcu1tm0wx6w62cfs"
          },
          {
            "name": "T3cap",
            "type": "ColorRect2D",
            "props": {
              "position": [1950, 124],
              "size": [132, 24],
              "color": "#8a9bc6",
              "anchor": [0.5, 0.5]
            },
            "uid": "n_gba3mwf75590p1g1"
          },
          {
            "name": "T4",
            "type": "ColorRect2D",
            "props": {
              "position": [2620, 245],
              "size": [120, 330],
              "color": "#8a9bc6",
              "anchor": [0.5, 0.5]
            },
            "uid": "n_5cw1iqmmc78zkswe"
          },
          {
            "name": "T4cap",
            "type": "ColorRect2D",
            "props": {
              "position": [2620, 88],
              "size": [150, 26],
              "color": "#8a9bc6",
              "anchor": [0.5, 0.5]
            },
            "uid": "n_deh5zjhiz3tc2g3t"
          }
        ],
        "uid": "n_z5d947phu1kzc1n9"
      },
      {
        "name": "CastleNearLayer",
        "type": "Node2D",
        "props": { "position": [0, 0], "renderOrder": -42 },
        "script": { "name": "ParallaxLayer", "props": { "factor": 0.6 } },
        "children": [
          {
            "name": "Band",
            "type": "ColorRect2D",
            "props": {
              "position": [1400, 540],
              "size": [6000, 460],
              "color": "#6776a8",
              "anchor": [0.5, 0.5]
            },
            "uid": "n_8aytkuut9grukg75"
          },
          {
            "name": "GateTower",
            "type": "ColorRect2D",
            "props": {
              "position": [1120, 330],
              "size": [150, 440],
              "color": "#51608c",
              "anchor": [0.5, 0.5]
            },
            "uid": "n_6pxpo9s2tl6hj05o"
          },
          {
            "name": "Gate",
            "type": "ColorRect2D",
            "props": {
              "position": [1120, 430],
              "size": [76, 150],
              "color": "#2c2640",
              "anchor": [0.5, 0.5]
            },
            "uid": "n_r7k4ykldxmnassri"
          },
          {
            "name": "GateWin",
            "type": "ColorRect2D",
            "props": {
              "position": [1120, 210],
              "size": [26, 34],
              "color": "#ffd98a",
              "anchor": [0.5, 0.5]
            },
            "uid": "n_rq8azerx6jc03wfw"
          },
          {
            "name": "TA",
            "type": "ColorRect2D",
            "props": {
              "position": [560, 360],
              "size": [136, 420],
              "color": "#51608c",
              "anchor": [0.5, 0.5]
            },
            "uid": "n_qzdj8vir6qfx4r26"
          },
          {
            "name": "TAcap",
            "type": "ColorRect2D",
            "props": {
              "position": [560, 150],
              "size": [168, 30],
              "color": "#51608c",
              "anchor": [0.5, 0.5]
            },
            "uid": "n_qmtj1sji21ataz6k"
          },
          {
            "name": "TAm1",
            "type": "ColorRect2D",
            "props": {
              "position": [500, 124],
              "size": [26, 26],
              "color": "#51608c",
              "anchor": [0.5, 0.5]
            },
            "uid": "n_k21q0p724109mz9m"
          },
          {
            "name": "TAm2",
            "type": "ColorRect2D",
            "props": {
              "position": [560, 124],
              "size": [26, 26],
              "color": "#51608c",
              "anchor": [0.5, 0.5]
            },
            "uid": "n_shhrlk552x3pj383"
          },
          {
            "name": "TAm3",
            "type": "ColorRect2D",
            "props": {
              "position": [620, 124],
              "size": [26, 26],
              "color": "#51608c",
              "anchor": [0.5, 0.5]
            },
            "uid": "n_0c7ckddonmc4xjt7"
          },
          {
            "name": "TAw1",
            "type": "ColorRect2D",
            "props": {
              "position": [560, 250],
              "size": [26, 36],
              "color": "#ffd98a",
              "anchor": [0.5, 0.5]
            },
            "uid": "n_mf4x2iep6u9lvrl2"
          },
          {
            "name": "TAw2",
            "type": "ColorRect2D",
            "props": {
              "position": [560, 340],
              "size": [26, 36],
              "color": "#ffd98a",
              "anchor": [0.5, 0.5]
            },
            "uid": "n_z7qelk1tumidisdl"
          },
          {
            "name": "TB",
            "type": "ColorRect2D",
            "props": {
              "position": [1750, 330],
              "size": [150, 460],
              "color": "#51608c",
              "anchor": [0.5, 0.5]
            },
            "uid": "n_cnp6pq1usgpjxm1h"
          },
          {
            "name": "TBcap",
            "type": "ColorRect2D",
            "props": {
              "position": [1750, 108],
              "size": [184, 30],
              "color": "#51608c",
              "anchor": [0.5, 0.5]
            },
            "uid": "n_zl5sbtobmjwtcl03"
          },
          {
            "name": "TBm1",
            "type": "ColorRect2D",
            "props": {
              "position": [1685, 84],
              "size": [28, 28],
              "color": "#51608c",
              "anchor": [0.5, 0.5]
            },
            "uid": "n_180uyht6c3xnx1ax"
          },
          {
            "name": "TBm2",
            "type": "ColorRect2D",
            "props": {
              "position": [1750, 84],
              "size": [28, 28],
              "color": "#51608c",
              "anchor": [0.5, 0.5]
            },
            "uid": "n_pzsem38uvkqimjif"
          },
          {
            "name": "TBm3",
            "type": "ColorRect2D",
            "props": {
              "position": [1815, 84],
              "size": [28, 28],
              "color": "#51608c",
              "anchor": [0.5, 0.5]
            },
            "uid": "n_4h8mdrutgpzqemup"
          },
          {
            "name": "TBpennant",
            "type": "ColorRect2D",
            "props": {
              "position": [1772, 64],
              "size": [40, 24],
              "color": "#ef476f",
              "anchor": [0, 0.5]
            },
            "uid": "n_h44z5xdlqcxla51i"
          },
          {
            "name": "TBw1",
            "type": "ColorRect2D",
            "props": {
              "position": [1750, 230],
              "size": [28, 38],
              "color": "#ffd98a",
              "anchor": [0.5, 0.5]
            },
            "uid": "n_pq2unxzxuimp5m5a"
          },
          {
            "name": "TBw2",
            "type": "ColorRect2D",
            "props": {
              "position": [1750, 330],
              "size": [28, 38],
              "color": "#ffd98a",
              "anchor": [0.5, 0.5]
            },
            "uid": "n_p20dfip6izd795gd"
          },
          {
            "name": "TC",
            "type": "ColorRect2D",
            "props": {
              "position": [2480, 360],
              "size": [136, 420],
              "color": "#51608c",
              "anchor": [0.5, 0.5]
            },
            "uid": "n_h6vs8oxxu27bovck"
          },
          {
            "name": "TCcap",
            "type": "ColorRect2D",
            "props": {
              "position": [2480, 150],
              "size": [168, 30],
              "color": "#51608c",
              "anchor": [0.5, 0.5]
            },
            "uid": "n_2pijpxy4eoejljkd"
          },
          {
            "name": "TCm1",
            "type": "ColorRect2D",
            "props": {
              "position": [2420, 124],
              "size": [26, 26],
              "color": "#51608c",
              "anchor": [0.5, 0.5]
            },
            "uid": "n_te0zd2yo8jd9f6xh"
          },
          {
            "name": "TCm2",
            "type": "ColorRect2D",
            "props": {
              "position": [2480, 124],
              "size": [26, 26],
              "color": "#51608c",
              "anchor": [0.5, 0.5]
            },
            "uid": "n_fydqddh0e6k32k38"
          },
          {
            "name": "TCm3",
            "type": "ColorRect2D",
            "props": {
              "position": [2540, 124],
              "size": [26, 26],
              "color": "#51608c",
              "anchor": [0.5, 0.5]
            },
            "uid": "n_7x6j1urown0jxpgx"
          },
          {
            "name": "TCw1",
            "type": "ColorRect2D",
            "props": {
              "position": [2480, 250],
              "size": [26, 36],
              "color": "#ffd98a",
              "anchor": [0.5, 0.5]
            },
            "uid": "n_937zzlph7z5rytbt"
          },
          {
            "name": "TCw2",
            "type": "ColorRect2D",
            "props": {
              "position": [2480, 340],
              "size": [26, 36],
              "color": "#ffd98a",
              "anchor": [0.5, 0.5]
            },
            "uid": "n_xya2s74ye4fkmfci"
          }
        ],
        "uid": "n_y8xgx8pdy46yi5zb"
      },
      {
        "name": "GroundA",
        "type": "StaticBody2D",
        "groups": ["ground"],
        "props": { "position": [300, 520], "collider": { "shape": "rect", "size": [640, 120] } },
        "children": [
          {
            "name": "Skin",
            "type": "ColorRect2D",
            "props": { "size": [640, 120], "color": "#6a5b4a" },
            "uid": "n_kpopjn5cmk9yizqz"
          },
          {
            "name": "Moss",
            "type": "ColorRect2D",
            "props": { "position": [0, -54], "size": [640, 14], "color": "#79bd54" },
            "uid": "n_dfyi72zu1qjb4i6s"
          }
        ],
        "uid": "n_8zkbpwjo98d2uf8e"
      },
      {
        "name": "GroundB",
        "type": "StaticBody2D",
        "groups": ["ground"],
        "props": { "position": [1020, 520], "collider": { "shape": "rect", "size": [560, 120] } },
        "children": [
          {
            "name": "Skin",
            "type": "ColorRect2D",
            "props": { "size": [560, 120], "color": "#6a5b4a" },
            "uid": "n_u1szb2nm2nnpivjg"
          },
          {
            "name": "Moss",
            "type": "ColorRect2D",
            "props": { "position": [0, -54], "size": [560, 14], "color": "#79bd54" },
            "uid": "n_kh2xhttq1xnvmxbu"
          }
        ],
        "uid": "n_o9bhrak0oa9qwyb0"
      },
      {
        "name": "GroundC",
        "type": "StaticBody2D",
        "groups": ["ground"],
        "props": { "position": [1760, 520], "collider": { "shape": "rect", "size": [560, 120] } },
        "children": [
          {
            "name": "Skin",
            "type": "ColorRect2D",
            "props": { "size": [560, 120], "color": "#6a5b4a" },
            "uid": "n_sheq0wdxf31txz0x"
          },
          {
            "name": "Moss",
            "type": "ColorRect2D",
            "props": { "position": [0, -54], "size": [560, 14], "color": "#79bd54" },
            "uid": "n_hb3yhd7vyu0y0ksl"
          }
        ],
        "uid": "n_qvs9g0cca3x7lsus"
      },
      {
        "name": "GroundD",
        "type": "StaticBody2D",
        "groups": ["ground"],
        "props": { "position": [2520, 520], "collider": { "shape": "rect", "size": [600, 120] } },
        "children": [
          {
            "name": "Skin",
            "type": "ColorRect2D",
            "props": { "size": [600, 120], "color": "#6a5b4a" },
            "uid": "n_um9vnv5p2i4b6b0v"
          },
          {
            "name": "Moss",
            "type": "ColorRect2D",
            "props": { "position": [0, -54], "size": [600, 14], "color": "#79bd54" },
            "uid": "n_20rf8qlle8qwwy7r"
          }
        ],
        "uid": "n_l9s9ld9hy694xeih"
      },
      {
        "name": "Plat1",
        "type": "StaticBody2D",
        "groups": ["ground"],
        "props": { "position": [680, 360], "collider": { "shape": "rect", "size": [150, 26] } },
        "children": [
          {
            "name": "Skin",
            "type": "ColorRect2D",
            "props": { "size": [150, 26], "color": "#7d6f5c" },
            "uid": "n_12xk4cbzgig7ck0r"
          },
          {
            "name": "Moss",
            "type": "ColorRect2D",
            "props": { "position": [0, -9], "size": [150, 8], "color": "#88c060" },
            "uid": "n_gwd85bxr1p3towx0"
          }
        ],
        "uid": "n_4fkl2ixfebd5ixwz"
      },
      {
        "name": "Plat2",
        "type": "StaticBody2D",
        "groups": ["ground"],
        "props": { "position": [1180, 320], "collider": { "shape": "rect", "size": [150, 26] } },
        "children": [
          {
            "name": "Skin",
            "type": "ColorRect2D",
            "props": { "size": [150, 26], "color": "#7d6f5c" },
            "uid": "n_8o9j7o3a3z00h8ab"
          },
          {
            "name": "Moss",
            "type": "ColorRect2D",
            "props": { "position": [0, -9], "size": [150, 8], "color": "#88c060" },
            "uid": "n_i0k4ik9tui3gfub8"
          }
        ],
        "uid": "n_kuvdbylnjplyg8g3"
      },
      {
        "name": "Plat3",
        "type": "StaticBody2D",
        "groups": ["ground"],
        "props": { "position": [1760, 300], "collider": { "shape": "rect", "size": [180, 26] } },
        "children": [
          {
            "name": "Skin",
            "type": "ColorRect2D",
            "props": { "size": [180, 26], "color": "#7d6f5c" },
            "uid": "n_up27sn4qs6n5svut"
          },
          {
            "name": "Moss",
            "type": "ColorRect2D",
            "props": { "position": [0, -9], "size": [180, 8], "color": "#88c060" },
            "uid": "n_qnexl7r4xcii5p2u"
          }
        ],
        "uid": "n_cq5hw49tg890gk3f"
      },
      {
        "name": "Plat4",
        "type": "StaticBody2D",
        "groups": ["ground"],
        "props": { "position": [2380, 320], "collider": { "shape": "rect", "size": [150, 26] } },
        "children": [
          {
            "name": "Skin",
            "type": "ColorRect2D",
            "props": { "size": [150, 26], "color": "#7d6f5c" },
            "uid": "n_0ph6j77k5jeqlih1"
          },
          {
            "name": "Moss",
            "type": "ColorRect2D",
            "props": { "position": [0, -9], "size": [150, 8], "color": "#88c060" },
            "uid": "n_4rne2xet03gxdgy2"
          }
        ],
        "uid": "n_rzxq75mfbmhpupky"
      },
      {
        "name": "MovePlat",
        "type": "StaticBody2D",
        "groups": ["ground", "platform"],
        "props": { "position": [1320, 430], "collider": { "shape": "rect", "size": [150, 24] } },
        "script": {
          "name": "Patrol",
          "props": {
            "points": [[1320, 430], [1470, 430]],
            "speed": 90,
            "mode": "pingpong",
            "pauseAt": 0.4
          }
        },
        "children": [
          {
            "name": "Skin",
            "type": "ColorRect2D",
            "props": { "size": [150, 24], "color": "#b07b3c" },
            "uid": "n_1lxzyy8mlferk1rq"
          },
          {
            "name": "Top",
            "type": "ColorRect2D",
            "props": { "position": [0, -8], "size": [150, 8], "color": "#ffd166" },
            "uid": "n_ksvi7q3e4g7vkxcn"
          }
        ],
        "uid": "n_sf07oapcipaog0b6"
      },
      {
        "name": "Lift",
        "type": "StaticBody2D",
        "groups": ["ground", "platform"],
        "props": { "position": [2140, 430], "collider": { "shape": "rect", "size": [140, 24] } },
        "script": {
          "name": "Oscillate",
          "props": { "axis": "y", "amplitude": 90, "frequency": 0.32, "mode": "position" }
        },
        "children": [
          {
            "name": "Skin",
            "type": "ColorRect2D",
            "props": { "size": [140, 24], "color": "#b07b3c" },
            "uid": "n_pwb8mgso3ntyu0zb"
          },
          {
            "name": "Top",
            "type": "ColorRect2D",
            "props": { "position": [0, -8], "size": [140, 8], "color": "#ffd166" },
            "uid": "n_8hovv47n4yj9ouqb"
          }
        ],
        "uid": "n_vfuh862g8bfg7swp"
      },
      {
        "name": "Spikes1",
        "type": "Area2D",
        "groups": ["hazard"],
        "props": { "position": [680, 548], "collider": { "shape": "rect", "size": [120, 36] } },
        "children": [
          {
            "name": "Skin",
            "type": "ColorRect2D",
            "props": { "position": [0, 2], "size": [120, 26], "color": "#b0392f" },
            "uid": "n_t0fo5rl84infnn9j"
          }
        ],
        "uid": "n_qehp8oobygqmm6tg"
      },
      {
        "name": "Spikes2",
        "type": "Area2D",
        "groups": ["hazard"],
        "props": { "position": [2140, 548], "collider": { "shape": "rect", "size": [200, 36] } },
        "children": [
          {
            "name": "Skin",
            "type": "ColorRect2D",
            "props": { "position": [0, 2], "size": [200, 26], "color": "#b0392f" },
            "uid": "n_eko325lyecm19gtb"
          }
        ],
        "uid": "n_tsh2l3pt5dus6uii"
      },
      {
        "name": "DeathPlane",
        "type": "Area2D",
        "groups": ["pit"],
        "props": { "position": [1400, 880], "collider": { "shape": "rect", "size": [6000, 120] } },
        "uid": "n_jribfvf3t8135m06"
      },
      {
        "name": "Checkpoint",
        "type": "Area2D",
        "groups": ["checkpoint"],
        "props": { "position": [1520, 392], "collider": { "shape": "rect", "size": [40, 120] } },
        "children": [
          {
            "name": "Pole",
            "type": "ColorRect2D",
            "props": { "size": [8, 120], "color": "#cfd6e6" },
            "uid": "n_pu6wgcdu7das46xg"
          },
          {
            "name": "Flag",
            "type": "ColorRect2D",
            "props": { "position": [26, -44], "size": [44, 28], "color": "#56d8ff" },
            "uid": "n_uanrwp2hjns21ybe"
          }
        ],
        "uid": "n_100y13h04f6zv8hy"
      },
      {
        "name": "Goal",
        "type": "Area2D",
        "groups": ["goal"],
        "props": { "position": [2740, 380], "collider": { "shape": "rect", "size": [60, 160] } },
        "children": [
          {
            "name": "Pole",
            "type": "ColorRect2D",
            "props": { "size": [10, 160], "color": "#e9e2cf" },
            "uid": "n_90p2heibwoi09twa"
          },
          {
            "name": "Flag",
            "type": "ColorRect2D",
            "props": { "position": [34, -60], "size": [56, 36], "color": "#ffd166" },
            "uid": "n_x9wh2ozd3p8raunb"
          },
          {
            "name": "Gate",
            "type": "ColorRect2D",
            "props": { "position": [0, 60], "size": [120, 40], "color": "#3f3550" },
            "uid": "n_fmwlegkrlo07o8cp"
          }
        ],
        "uid": "n_v2qtb845ohsyjatm"
      },
      {
        "name": "Gob1",
        "type": "Node2D",
        "groups": ["enemy"],
        "props": { "position": [1020, 430] },
        "script": {
          "name": "Patrol",
          "props": { "points": [[820, 430], [1240, 430]], "speed": 72, "mode": "pingpong" }
        },
        "children": [
          {
            "name": "Skin",
            "type": "AnimatedSprite2D",
            "props": {
              "sheet": "$goblin",
              "autoplay": "move",
              "scale": [0.46, 0.46],
              "anchor": [0.5, 0.348],
              "animations": {
                "idle": { "frames": [0, 6], "fps": 9, "loop": true },
                "move": { "frames": [7, 12], "fps": 12, "loop": true }
              }
            },
            "uid": "n_h9cchyppxdlabdtk"
          },
          {
            "name": "AI",
            "type": "Node2D",
            "script": { "name": "GoblinSkin" },
            "uid": "n_uuc954ct6jzjzzlp"
          }
        ],
        "uid": "n_e7bhbakm4c5z78w2"
      },
      {
        "name": "Gob2",
        "type": "Node2D",
        "groups": ["enemy"],
        "props": { "position": [1760, 430] },
        "script": {
          "name": "Patrol",
          "props": { "points": [[1540, 430], [1980, 430]], "speed": 84, "mode": "pingpong" }
        },
        "children": [
          {
            "name": "Skin",
            "type": "AnimatedSprite2D",
            "props": {
              "sheet": "$goblin",
              "autoplay": "move",
              "scale": [0.46, 0.46],
              "anchor": [0.5, 0.348],
              "animations": {
                "idle": { "frames": [0, 6], "fps": 9, "loop": true },
                "move": { "frames": [7, 12], "fps": 12, "loop": true }
              }
            },
            "uid": "n_fyz3psefcspkiaw9"
          },
          {
            "name": "AI",
            "type": "Node2D",
            "script": { "name": "GoblinSkin" },
            "uid": "n_ujbgnk7ixsicswwc"
          }
        ],
        "uid": "n_x7fy5n98xwc5stmz"
      },
      {
        "name": "Gob3",
        "type": "Node2D",
        "groups": ["enemy"],
        "props": { "position": [2520, 430] },
        "script": {
          "name": "Patrol",
          "props": { "points": [[2300, 430], [2740, 430]], "speed": 78, "mode": "pingpong" }
        },
        "children": [
          {
            "name": "Skin",
            "type": "AnimatedSprite2D",
            "props": {
              "sheet": "$goblin",
              "autoplay": "move",
              "scale": [0.46, 0.46],
              "anchor": [0.5, 0.348],
              "animations": {
                "idle": { "frames": [0, 6], "fps": 9, "loop": true },
                "move": { "frames": [7, 12], "fps": 12, "loop": true }
              }
            },
            "uid": "n_jze1jl6y703we1k2"
          },
          {
            "name": "AI",
            "type": "Node2D",
            "script": { "name": "GoblinSkin" },
            "uid": "n_3kmb1qlhckw4xnhz"
          }
        ],
        "uid": "n_zrfw1p1gamdfhg6u"
      },
      {
        "name": "Coins",
        "type": "Node2D",
        "props": { "position": [0, 0] },
        "children": [
          {
            "name": "Coin1",
            "type": "Area2D",
            "props": { "position": [300, 380], "collider": { "shape": "circle", "radius": 16 } },
            "script": { "name": "Pickup", "props": { "value": 10, "kind": "coin" } },
            "children": [
              {
                "name": "Skin",
                "type": "Sprite2D",
                "props": { "texture": "$coin", "scale": [0.6, 0.6] },
                "script": {
                  "name": "Oscillate",
                  "props": { "axis": "y", "amplitude": 6, "frequency": 1.1, "mode": "position" }
                },
                "uid": "n_5vv5sh2bce9a0rfc"
              }
            ],
            "uid": "n_wq8d9ugbrst7vpg8"
          },
          {
            "name": "Coin2",
            "type": "Area2D",
            "props": { "position": [430, 350], "collider": { "shape": "circle", "radius": 16 } },
            "script": { "name": "Pickup", "props": { "value": 10, "kind": "coin" } },
            "children": [
              {
                "name": "Skin",
                "type": "Sprite2D",
                "props": { "texture": "$coin", "scale": [0.6, 0.6] },
                "script": {
                  "name": "Oscillate",
                  "props": { "axis": "y", "amplitude": 6, "frequency": 1.1, "mode": "position" }
                },
                "uid": "n_6nl39pc8x81zzfvz"
              }
            ],
            "uid": "n_xopvplhty8l2ydcl"
          },
          {
            "name": "Coin3",
            "type": "Area2D",
            "props": { "position": [680, 300], "collider": { "shape": "circle", "radius": 16 } },
            "script": { "name": "Pickup", "props": { "value": 10, "kind": "coin" } },
            "children": [
              {
                "name": "Skin",
                "type": "Sprite2D",
                "props": { "texture": "$coin", "scale": [0.6, 0.6] },
                "script": {
                  "name": "Oscillate",
                  "props": { "axis": "y", "amplitude": 6, "frequency": 1.1, "mode": "position" }
                },
                "uid": "n_pieptsthsss398x8"
              }
            ],
            "uid": "n_2h6mru0fxp39x70o"
          },
          {
            "name": "Coin4",
            "type": "Area2D",
            "props": { "position": [940, 410], "collider": { "shape": "circle", "radius": 16 } },
            "script": { "name": "Pickup", "props": { "value": 10, "kind": "coin" } },
            "children": [
              {
                "name": "Skin",
                "type": "Sprite2D",
                "props": { "texture": "$coin", "scale": [0.6, 0.6] },
                "script": {
                  "name": "Oscillate",
                  "props": { "axis": "y", "amplitude": 6, "frequency": 1.1, "mode": "position" }
                },
                "uid": "n_m5ye4ukey1gs9ri5"
              }
            ],
            "uid": "n_du6tra9442zrc8tx"
          },
          {
            "name": "Coin5",
            "type": "Area2D",
            "props": { "position": [1100, 410], "collider": { "shape": "circle", "radius": 16 } },
            "script": { "name": "Pickup", "props": { "value": 10, "kind": "coin" } },
            "children": [
              {
                "name": "Skin",
                "type": "Sprite2D",
                "props": { "texture": "$coin", "scale": [0.6, 0.6] },
                "script": {
                  "name": "Oscillate",
                  "props": { "axis": "y", "amplitude": 6, "frequency": 1.1, "mode": "position" }
                },
                "uid": "n_mq7njocxg7qlw3dx"
              }
            ],
            "uid": "n_uu6i3uwtlzsh1vft"
          },
          {
            "name": "Coin6",
            "type": "Area2D",
            "props": { "position": [1180, 285], "collider": { "shape": "circle", "radius": 16 } },
            "script": { "name": "Pickup", "props": { "value": 10, "kind": "coin" } },
            "children": [
              {
                "name": "Skin",
                "type": "Sprite2D",
                "props": { "texture": "$coin", "scale": [0.6, 0.6] },
                "script": {
                  "name": "Oscillate",
                  "props": { "axis": "y", "amplitude": 6, "frequency": 1.1, "mode": "position" }
                },
                "uid": "n_zj0kivs2h857q5e7"
              }
            ],
            "uid": "n_tp127zrp3ch4b25i"
          },
          {
            "name": "Coin7",
            "type": "Area2D",
            "props": { "position": [1395, 360], "collider": { "shape": "circle", "radius": 16 } },
            "script": { "name": "Pickup", "props": { "value": 10, "kind": "coin" } },
            "children": [
              {
                "name": "Skin",
                "type": "Sprite2D",
                "props": { "texture": "$coin", "scale": [0.6, 0.6] },
                "script": {
                  "name": "Oscillate",
                  "props": { "axis": "y", "amplitude": 6, "frequency": 1.1, "mode": "position" }
                },
                "uid": "n_joega2rmwl1i2d6d"
              }
            ],
            "uid": "n_cd5iiio55efypp8v"
          },
          {
            "name": "Coin8",
            "type": "Area2D",
            "props": { "position": [1620, 410], "collider": { "shape": "circle", "radius": 16 } },
            "script": { "name": "Pickup", "props": { "value": 10, "kind": "coin" } },
            "children": [
              {
                "name": "Skin",
                "type": "Sprite2D",
                "props": { "texture": "$coin", "scale": [0.6, 0.6] },
                "script": {
                  "name": "Oscillate",
                  "props": { "axis": "y", "amplitude": 6, "frequency": 1.1, "mode": "position" }
                },
                "uid": "n_zr79uqirzpuftjxx"
              }
            ],
            "uid": "n_61i9ty82m2dxshpo"
          },
          {
            "name": "Coin9",
            "type": "Area2D",
            "props": { "position": [1900, 410], "collider": { "shape": "circle", "radius": 16 } },
            "script": { "name": "Pickup", "props": { "value": 10, "kind": "coin" } },
            "children": [
              {
                "name": "Skin",
                "type": "Sprite2D",
                "props": { "texture": "$coin", "scale": [0.6, 0.6] },
                "script": {
                  "name": "Oscillate",
                  "props": { "axis": "y", "amplitude": 6, "frequency": 1.1, "mode": "position" }
                },
                "uid": "n_3umxgv0yreehqbs6"
              }
            ],
            "uid": "n_kiwir1wrpzuwzvg7"
          },
          {
            "name": "Coin10",
            "type": "Area2D",
            "props": { "position": [2140, 300], "collider": { "shape": "circle", "radius": 16 } },
            "script": { "name": "Pickup", "props": { "value": 10, "kind": "coin" } },
            "children": [
              {
                "name": "Skin",
                "type": "Sprite2D",
                "props": { "texture": "$coin", "scale": [0.6, 0.6] },
                "script": {
                  "name": "Oscillate",
                  "props": { "axis": "y", "amplitude": 6, "frequency": 1.1, "mode": "position" }
                },
                "uid": "n_rhmo04zqmdtg5tvi"
              }
            ],
            "uid": "n_oj1mt1w1k2969kvc"
          },
          {
            "name": "Coin11",
            "type": "Area2D",
            "props": { "position": [2380, 285], "collider": { "shape": "circle", "radius": 16 } },
            "script": { "name": "Pickup", "props": { "value": 10, "kind": "coin" } },
            "children": [
              {
                "name": "Skin",
                "type": "Sprite2D",
                "props": { "texture": "$coin", "scale": [0.6, 0.6] },
                "script": {
                  "name": "Oscillate",
                  "props": { "axis": "y", "amplitude": 6, "frequency": 1.1, "mode": "position" }
                },
                "uid": "n_xuclkqerz63mv8vb"
              }
            ],
            "uid": "n_o7bgy9m9u8rasljg"
          },
          {
            "name": "Coin12",
            "type": "Area2D",
            "props": { "position": [2600, 410], "collider": { "shape": "circle", "radius": 16 } },
            "script": { "name": "Pickup", "props": { "value": 10, "kind": "coin" } },
            "children": [
              {
                "name": "Skin",
                "type": "Sprite2D",
                "props": { "texture": "$coin", "scale": [0.6, 0.6] },
                "script": {
                  "name": "Oscillate",
                  "props": { "axis": "y", "amplitude": 6, "frequency": 1.1, "mode": "position" }
                },
                "uid": "n_uuegetn54zqs9bof"
              }
            ],
            "uid": "n_hxub1s4s6cgvredd"
          }
        ],
        "uid": "n_ru4rs9zxiakomfq8"
      },
      {
        "name": "Gem1",
        "type": "Area2D",
        "props": { "position": [1760, 255], "collider": { "shape": "circle", "radius": 20 } },
        "script": { "name": "Pickup", "props": { "value": 50, "kind": "gem" } },
        "children": [
          {
            "name": "Skin",
            "type": "Sprite2D",
            "props": { "texture": "$gem", "scale": [0.7, 0.7] },
            "script": {
              "name": "Oscillate",
              "props": { "axis": "y", "amplitude": 8, "frequency": 0.9, "mode": "position" }
            },
            "uid": "n_vqc3id2780ba623r"
          }
        ],
        "uid": "n_6a6rs0myo1q0rlxe"
      },
      {
        "name": "Gem2",
        "type": "Area2D",
        "props": { "position": [2140, 230], "collider": { "shape": "circle", "radius": 20 } },
        "script": { "name": "Pickup", "props": { "value": 50, "kind": "gem" } },
        "children": [
          {
            "name": "Skin",
            "type": "Sprite2D",
            "props": { "texture": "$gem", "scale": [0.7, 0.7] },
            "script": {
              "name": "Oscillate",
              "props": { "axis": "y", "amplitude": 8, "frequency": 0.9, "mode": "position" }
            },
            "uid": "n_jnnqf3j7hygbeoaj"
          }
        ],
        "uid": "n_s022vg0kuqj75it6"
      },
      {
        "name": "Player",
        "type": "CharacterBody2D",
        "groups": ["player"],
        "props": {
          "position": [120, 360],
          "collider": { "shape": "capsule", "radius": 18, "height": 30 }
        },
        "script": { "name": "PlayerController" },
        "children": [
          {
            "name": "Skin",
            "type": "AnimatedSprite2D",
            "props": {
              "sheet": "$knight",
              "autoplay": "idle",
              "scale": [0.72, 0.72],
              "anchor": [0.5, 0.464],
              "animations": {
                "idle": { "frames": [0, 5], "fps": 10, "loop": true },
                "run": { "frames": [6, 11], "fps": 14, "loop": true },
                "jump": { "frames": [9, 9], "fps": 1, "loop": false }
              }
            },
            "uid": "n_odjl6nsgedmaiijc"
          },
          {
            "name": "Vitals",
            "type": "Node",
            "script": {
              "name": "Health",
              "props": {
                "max": 3,
                "invulnerableFor": 1.1,
                "knockback": 420,
                "knockbackSeconds": 0.22,
                "knockUp": 360,
                "staggerSeconds": 0.22,
                "applyKnockback": false
              }
            },
            "uid": "n_636k806hf3tc9wxe"
          },
          {
            "name": "Feet",
            "type": "Area2D",
            "props": { "position": [0, 30], "collider": { "shape": "rect", "size": [30, 14] } },
            "uid": "n_3h2sl2xr1s9dqyyn"
          }
        ],
        "uid": "n_h5em8g8jljkl2xtq"
      },
      {
        "name": "Camera",
        "type": "Camera2D",
        "props": { "current": true },
        "script": {
          "name": "FollowCam",
          "props": {
            "target": "/root/Player",
            "offset": [60, -28],
            "lookahead": 90,
            "limits": [480, 210, 2320, 348]
          }
        },
        "uid": "n_9shnryenkaqcr3l2"
      },
      {
        "name": "SfxJump",
        "type": "AudioPlayer",
        "props": { "preset": "jump", "bus": "sfx", "volume": 0.4 },
        "uid": "n_fga6jge9oojav2ip"
      },
      {
        "name": "SfxCoin",
        "type": "AudioPlayer",
        "props": { "preset": "coin", "bus": "sfx", "volume": 0.5 },
        "uid": "n_91v1t63q08aa269h"
      },
      {
        "name": "SfxStomp",
        "type": "AudioPlayer",
        "props": { "preset": "hit", "bus": "sfx", "volume": 0.55 },
        "uid": "n_cnq1q049f8igezps"
      },
      {
        "name": "SfxHurt",
        "type": "AudioPlayer",
        "props": { "preset": "hurt", "bus": "sfx", "volume": 0.6 },
        "uid": "n_ct1uc3mzw7i160eu"
      },
      {
        "name": "SfxCheckpoint",
        "type": "AudioPlayer",
        "props": { "preset": "powerup", "bus": "sfx", "volume": 0.6 },
        "uid": "n_mp08510ntrmso38f"
      },
      {
        "name": "SfxWin",
        "type": "AudioPlayer",
        "props": { "preset": "win", "bus": "sfx", "volume": 0.8 },
        "uid": "n_0o3lx2ks3fj0xu4f"
      },
      {
        "name": "SfxLose",
        "type": "AudioPlayer",
        "props": { "preset": "lose", "bus": "sfx", "volume": 0.8 },
        "uid": "n_tqyiokpvckkrditl"
      },
      {
        "name": "HUD",
        "type": "HudLayer",
        "script": { "name": "HudUpdater" },
        "children": [
          {
            "name": "CoinLabel",
            "type": "UiText",
            "props": { "anchor": "topLeft", "text": "◆ 0", "size": 22, "color": "#ffd166" },
            "uid": "n_46fq8hl0mj695yz5"
          },
          {
            "name": "HeartLabel",
            "type": "UiText",
            "props": { "anchor": "topLeft", "text": "♥♥♥", "size": 22, "color": "#ff6b81" },
            "uid": "n_64f6g26ewb0q4k4l"
          },
          {
            "name": "LivesLabel",
            "type": "UiText",
            "props": { "anchor": "topLeft", "text": "x 3", "size": 18, "color": "#f4f4f4" },
            "uid": "n_529jngi6yo9wo8hn"
          },
          {
            "name": "Hint",
            "type": "UiText",
            "props": {
              "anchor": "bottom",
              "text": "A/D run · Space jump (double-jump!) · stomp goblins · reach the gold flag",
              "size": 14,
              "color": "#f4f4f4"
            },
            "uid": "n_xzbq736pxmlog2ze"
          },
          {
            "name": "PauseMenu",
            "type": "UiPanel",
            "uid": "n_18nwr09ab7ql2z4r",
            "props": {
              "anchor": "center",
              "layout": "column",
              "gap": 12,
              "padding": 22,
              "visible": false,
              "background": "rgba(10,14,22,0.92)",
              "radius": 12
            },
            "children": [
              {
                "name": "PausedTitle",
                "type": "UiText",
                "uid": "n_zbj0pg98lnk8rv82",
                "props": { "text": "PAUSED", "size": 26 }
              },
              {
                "name": "Resume",
                "type": "UiButton",
                "uid": "n_pn2pcwtmdaxii0ir",
                "props": { "text": "RESUME", "size": 18 }
              },
              {
                "name": "PauseOptions",
                "type": "UiButton",
                "uid": "n_rlol3m8e7ev1akf3",
                "props": { "text": "OPTIONS", "size": 16 }
              },
              {
                "name": "Restart",
                "type": "UiButton",
                "uid": "n_08baib5wy10vg0ar",
                "props": { "text": "START OVER", "size": 16 }
              }
            ]
          },
          {
            "name": "Options",
            "type": "UiPanel",
            "uid": "n_rnlo15z2gqd6hma0",
            "props": {
              "anchor": "center",
              "layout": "column",
              "gap": 10,
              "padding": 22,
              "visible": false,
              "background": "rgba(10,14,22,0.92)",
              "radius": 12
            },
            "children": [
              {
                "name": "OptionsTitle",
                "type": "UiText",
                "uid": "n_dybfe2jy973oxrw8",
                "props": { "text": "OPTIONS", "size": 24 }
              },
              {
                "name": "Master",
                "type": "UiVolumeSlider",
                "uid": "n_5rd1metkz071rwyl",
                "props": { "label": "master", "bus": "master", "width": 260 }
              },
              {
                "name": "Sfx",
                "type": "UiVolumeSlider",
                "uid": "n_3jz8z3sx850i1vlh",
                "props": { "label": "effects", "bus": "sfx", "width": 260 }
              },
              {
                "name": "Mute",
                "type": "UiMuteToggle",
                "uid": "n_9jn0ncey479106t8",
                "props": { "label": "mute everything" }
              },
              {
                "name": "Quality",
                "type": "UiQualitySelect",
                "uid": "n_w0dd38u2gqui7oli",
                "props": { "label": "quality" }
              },
              {
                "name": "Back",
                "type": "UiButton",
                "uid": "n_huasc2fyi2sc1ejj",
                "props": { "text": "BACK", "size": 16 }
              }
            ]
          }
        ],
        "uid": "n_ng718r3uiw1madux"
      },
      {
        "name": "BannerLayer",
        "type": "HudLayer",
        "children": [
          {
            "name": "Banner",
            "type": "UiBanner",
            "props": { "size": 44 },
            "uid": "n_cjld0im0b2f7t02i"
          }
        ],
        "uid": "n_i3xs3gnb3cyrar1u"
      },
      {
        "name": "CourseFloor",
        "type": "StaticBody2D",
        "uid": "n_9p55c0wu33vbe194",
        "props": { "position": [3300, 520], "collider": { "shape": "rect", "size": [900, 120] } },
        "children": [
          {
            "name": "Skin",
            "type": "ColorRect2D",
            "uid": "n_56chxbokw5okl2ar",
            "props": { "size": [900, 120], "color": "#6b5638", "anchor": [0.5, 0.5] }
          }
        ]
      },
      {
        "name": "Trampoline",
        "type": "StaticBody2D",
        "uid": "n_vqjbknb54e0zq787",
        "props": {
          "position": [3000, 455],
          "collider": { "shape": "rect", "size": [120, 10] },
          "restitution": 1
        },
        "children": [
          {
            "name": "Skin",
            "type": "ColorRect2D",
            "uid": "n_bed7i5blyg8p63ij",
            "props": { "size": [120, 10], "color": "#3b82f6", "anchor": [0.5, 0.5] }
          }
        ]
      },
      {
        "name": "Bouncer",
        "type": "RigidBody2D",
        "uid": "n_8vd73zp82idtm5gx",
        "props": { "position": [3000, 150], "collider": { "shape": "circle", "radius": 14 } },
        "children": [
          {
            "name": "Skin",
            "type": "ColorRect2D",
            "uid": "n_n18pdy731ltnmb3l",
            "props": { "size": [28, 28], "color": "#f4f1de", "anchor": [0.5, 0.5] }
          }
        ]
      },
      {
        "name": "Ice",
        "type": "StaticBody2D",
        "uid": "n_zlp89ikkls0xkbwn",
        "props": {
          "position": [3400, 455],
          "collider": { "shape": "rect", "size": [400, 10] },
          "friction": 0
        },
        "children": [
          {
            "name": "Skin",
            "type": "ColorRect2D",
            "uid": "n_opic7894wramqynx",
            "props": { "size": [400, 10], "color": "#bfe9ff", "anchor": [0.5, 0.5] }
          }
        ]
      },
      {
        "name": "Sled",
        "type": "RigidBody2D",
        "uid": "n_nhcrprd8no2pzb9i",
        "props": {
          "position": [3215, 435],
          "collider": { "shape": "circle", "radius": 14 },
          "linearVelocity": [260, 0]
        },
        "children": [
          {
            "name": "Skin",
            "type": "ColorRect2D",
            "uid": "n_y2owjzo7khqchken",
            "props": { "size": [28, 28], "color": "#8c6a3f", "anchor": [0.5, 0.5] }
          }
        ]
      },
      {
        "name": "Hound",
        "type": "CharacterBody2D",
        "uid": "n_kmnt12lx070t311c",
        "props": { "position": [3650, 440], "collider": { "shape": "rect", "size": [30, 40] } },
        "children": [
          {
            "name": "AI",
            "type": "Node2D",
            "uid": "n_juz8aw6j311cstbs",
            "script": {
              "name": "Chase",
              "props": {
                "target": "/root/Player",
                "speed": 160,
                "stopRange": 24,
                "loseRange": 500,
                "moveParent": true,
                "ground": true
              }
            }
          },
          {
            "name": "Skin",
            "type": "ColorRect2D",
            "uid": "n_k5h72ttrivo8vy0m",
            "props": { "size": [30, 40], "color": "#6b4d8a", "anchor": [0.5, 0.5] }
          }
        ]
      },
      {
        "name": "Perch",
        "type": "StaticBody2D",
        "uid": "n_t6vi97e88isgglef",
        "props": { "position": [3650, 300], "collider": { "shape": "rect", "size": [160, 20] } },
        "children": [
          {
            "name": "Skin",
            "type": "ColorRect2D",
            "uid": "n_m7qcxz6z1sc6rfbv",
            "props": { "size": [160, 20], "color": "#9aa3bd", "anchor": [0.5, 0.5] }
          }
        ]
      },
      {
        "name": "Flow",
        "type": "Node",
        "uid": "n_i26ub26uzhmxyulv",
        "script": { "name": "GameFlow" }
      }
    ],
    "uid": "n_d9t51gs0vhpnp2jj"
  },
  "connections": [
    { "signal": "collected", "from": "Coins/Coin1", "to": "/root", "handler": "addScore" },
    { "signal": "collected", "from": "Coins/Coin2", "to": "/root", "handler": "addScore" },
    { "signal": "collected", "from": "Coins/Coin3", "to": "/root", "handler": "addScore" },
    { "signal": "collected", "from": "Coins/Coin4", "to": "/root", "handler": "addScore" },
    { "signal": "collected", "from": "Coins/Coin5", "to": "/root", "handler": "addScore" },
    { "signal": "collected", "from": "Coins/Coin6", "to": "/root", "handler": "addScore" },
    { "signal": "collected", "from": "Coins/Coin7", "to": "/root", "handler": "addScore" },
    { "signal": "collected", "from": "Coins/Coin8", "to": "/root", "handler": "addScore" },
    { "signal": "collected", "from": "Coins/Coin9", "to": "/root", "handler": "addScore" },
    { "signal": "collected", "from": "Coins/Coin10", "to": "/root", "handler": "addScore" },
    { "signal": "collected", "from": "Coins/Coin11", "to": "/root", "handler": "addScore" },
    { "signal": "collected", "from": "Coins/Coin12", "to": "/root", "handler": "addScore" },
    { "signal": "collected", "from": "Gem1", "to": "/root", "handler": "addScore" },
    { "signal": "collected", "from": "Gem2", "to": "/root", "handler": "addScore" },
    { "signal": "collected", "from": "Coins/Coin1", "to": "SfxCoin", "handler": "play" },
    { "signal": "collected", "from": "Coins/Coin2", "to": "SfxCoin", "handler": "play" },
    { "signal": "collected", "from": "Coins/Coin3", "to": "SfxCoin", "handler": "play" },
    { "signal": "collected", "from": "Coins/Coin4", "to": "SfxCoin", "handler": "play" },
    { "signal": "collected", "from": "Coins/Coin5", "to": "SfxCoin", "handler": "play" },
    { "signal": "collected", "from": "Coins/Coin6", "to": "SfxCoin", "handler": "play" },
    { "signal": "collected", "from": "Coins/Coin7", "to": "SfxCoin", "handler": "play" },
    { "signal": "collected", "from": "Coins/Coin8", "to": "SfxCoin", "handler": "play" },
    { "signal": "collected", "from": "Coins/Coin9", "to": "SfxCoin", "handler": "play" },
    { "signal": "collected", "from": "Coins/Coin10", "to": "SfxCoin", "handler": "play" },
    { "signal": "collected", "from": "Coins/Coin11", "to": "SfxCoin", "handler": "play" },
    { "signal": "collected", "from": "Coins/Coin12", "to": "SfxCoin", "handler": "play" },
    { "signal": "collected", "from": "Gem1", "to": "SfxCheckpoint", "handler": "play" },
    { "signal": "collected", "from": "Gem2", "to": "SfxCheckpoint", "handler": "play" },
    { "signal": "won", "from": "/root", "to": "SfxWin", "handler": "play" },
    { "signal": "lost", "from": "/root", "to": "SfxLose", "handler": "play" },
    {
      "from": "/root/HUD/PauseMenu/Resume",
      "signal": "pressed",
      "to": "/root/Flow",
      "handler": "resume"
    },
    {
      "from": "/root/HUD/PauseMenu/PauseOptions",
      "signal": "pressed",
      "to": "/root/Flow",
      "handler": "screen",
      "args": ["/root/HUD/Options"]
    },
    {
      "from": "/root/HUD/PauseMenu/Restart",
      "signal": "pressed",
      "to": "/root/Flow",
      "handler": "restart"
    },
    {
      "from": "/root/HUD/Options/Back",
      "signal": "pressed",
      "to": "/root/Flow",
      "handler": "back"
    }
  ]
}
