Newer
Older
System38 / project / scenes / e05-03-escaleras / scene.gbsres
{
  "_resourceType": "scene",
  "id": "fb282792-d855-40b6-abe2-be69892e6834",
  "_index": 30,
  "type": "TOPDOWN",
  "name": "E05-03-Escaleras",
  "symbol": "scene_31",
  "x": 1058,
  "y": 1917,
  "width": 48,
  "height": 20,
  "backgroundId": "ad3eb4be-173c-4dcd-b502-44655080f8e1",
  "tilesetId": "",
  "paletteIds": [
    "df87c046-cd34-47ce-ba67-fd2884a838b8",
    "457d63ac-64ae-4f76-81d0-6fc3589a76e6"
  ],
  "spritePaletteIds": [],
  "autoFadeSpeed": 1,
  "playerSpriteSheetId": "4fd31529-8295-4647-8d19-7419938cc7d4",
  "script": [
    {
      "command": "EVENT_MUSIC_STOP",
      "args": {},
      "id": "52f579bf-c353-4d48-a513-16636ced7df5"
    },
    {
      "command": "EVENT_ACTOR_MOVE_TO",
      "args": {
        "actorId": "452e4e63-ca08-4095-9e97-0f9041c053ff",
        "x": {
          "type": "number",
          "value": 11
        },
        "y": {
          "type": "number",
          "value": 4
        },
        "moveType": "horizontal",
        "useCollisions": false
      },
      "id": "dae1782e-4491-4b1a-8a7c-6d48bc754a3a"
    },
    {
      "command": "EVENT_ACTOR_MOVE_TO",
      "args": {
        "actorId": "$self$",
        "x": {
          "type": "number",
          "value": 11
        },
        "y": {
          "type": "number",
          "value": 5
        },
        "moveType": "horizontal",
        "useCollisions": false
      },
      "id": "173d54e7-077d-4394-8069-c28c32abb964"
    },
    {
      "command": "EVENT_LOOP_FOR",
      "args": {
        "variable": "L0",
        "from": {
          "type": "number",
          "value": 0
        },
        "comparison": "<=",
        "to": {
          "type": "number",
          "value": 4
        },
        "operation": "+=",
        "value": {
          "type": "number",
          "value": 1
        }
      },
      "children": {
        "true": [
          {
            "command": "EVENT_ACTOR_MOVE_RELATIVE",
            "args": {
              "actorId": "ddc32aac-f79a-48a7-add8-ae820ab733d3",
              "x": {
                "type": "number",
                "value": 0
              },
              "y": {
                "type": "number",
                "value": -1
              },
              "moveType": "horizontal",
              "useCollisions": false,
              "units": "pixels"
            },
            "id": "0d118df1-4323-424d-9cba-7f031a80d252"
          },
          {
            "command": "EVENT_ACTOR_SET_DIRECTION",
            "args": {
              "actorId": "ddc32aac-f79a-48a7-add8-ae820ab733d3",
              "direction": {
                "type": "direction",
                "value": "down"
              }
            },
            "id": "10f29ae7-9fa1-46bd-b9f9-100cc10b5c5c"
          },
          {
            "command": "EVENT_ACTOR_MOVE_RELATIVE",
            "args": {
              "actorId": "452e4e63-ca08-4095-9e97-0f9041c053ff",
              "x": {
                "type": "number",
                "value": 0
              },
              "y": {
                "type": "number",
                "value": -1
              },
              "moveType": "horizontal",
              "useCollisions": false,
              "units": "pixels"
            },
            "id": "a7a98752-ef03-4f8d-b53f-fdee009b0d90"
          },
          {
            "command": "EVENT_ACTOR_MOVE_RELATIVE",
            "args": {
              "actorId": "$self$",
              "x": {
                "type": "number",
                "value": 0
              },
              "y": {
                "type": "number",
                "value": -1
              },
              "moveType": "horizontal",
              "useCollisions": false,
              "units": "pixels"
            },
            "id": "043cee24-52c3-4bd5-9681-e0c4eaa9bbab"
          },
          {
            "command": "EVENT_WAIT",
            "args": {
              "time": 0.5,
              "frames": 20,
              "units": "frames"
            },
            "id": "417fe17b-487f-4b6e-b9a5-8c40e72b95c9"
          }
        ]
      },
      "id": "fd8d9c16-2cd7-4c0d-b6b9-16898dc086cf"
    },
    {
      "command": "EVENT_ACTOR_MOVE_RELATIVE",
      "args": {
        "actorId": "452e4e63-ca08-4095-9e97-0f9041c053ff",
        "x": {
          "type": "number",
          "value": -1
        },
        "y": {
          "type": "number",
          "value": 0
        },
        "moveType": "horizontal",
        "useCollisions": false,
        "units": "pixels"
      },
      "id": "c4aeb407-d00d-4467-b5f8-99f855b27bad"
    },
    {
      "command": "EVENT_LOOP_FOR",
      "args": {
        "variable": "L0",
        "from": {
          "type": "number",
          "value": 0
        },
        "comparison": "<=",
        "to": {
          "type": "number",
          "value": 4
        },
        "operation": "+=",
        "value": {
          "type": "number",
          "value": 1
        }
      },
      "children": {
        "true": [
          {
            "command": "EVENT_WAIT",
            "args": {
              "time": 0.5,
              "frames": 10,
              "units": "frames"
            },
            "id": "620787f6-79d9-4d09-a360-7a7047ab2665"
          },
          {
            "command": "EVENT_ACTOR_MOVE_RELATIVE",
            "args": {
              "actorId": "452e4e63-ca08-4095-9e97-0f9041c053ff",
              "x": {
                "type": "number",
                "value": 2
              },
              "y": {
                "type": "number",
                "value": 0
              },
              "moveType": "horizontal",
              "useCollisions": false,
              "units": "pixels"
            },
            "id": "ce7c6e72-c4ba-44f7-a94a-ec1534ea7bc8"
          },
          {
            "command": "EVENT_WAIT",
            "args": {
              "time": 0.5,
              "frames": 10,
              "units": "frames"
            },
            "id": "2d639bc2-fd8e-4fb1-9266-cedabfd36623"
          },
          {
            "command": "EVENT_ACTOR_MOVE_RELATIVE",
            "args": {
              "actorId": "452e4e63-ca08-4095-9e97-0f9041c053ff",
              "x": {
                "type": "number",
                "value": -2
              },
              "y": {
                "type": "number",
                "value": 0
              },
              "moveType": "horizontal",
              "useCollisions": false,
              "units": "pixels"
            },
            "id": "41ab1f25-233f-4f2c-9b48-1dbbb4152461"
          }
        ]
      },
      "id": "082b8208-867a-466a-a2f4-06f44f9c4524"
    },
    {
      "command": "EVENT_ACTOR_MOVE_TO",
      "args": {
        "actorId": "ddc32aac-f79a-48a7-add8-ae820ab733d3",
        "x": {
          "type": "number",
          "value": 12
        },
        "y": {
          "type": "number",
          "value": 1
        },
        "moveType": "vertical",
        "useCollisions": false
      },
      "id": "770bc404-27a9-403f-a8cc-7f1aaa1ad11f"
    },
    {
      "command": "EVENT_ACTOR_HIDE",
      "args": {
        "actorId": "ddc32aac-f79a-48a7-add8-ae820ab733d3"
      },
      "id": "3cbca327-e8f1-40cd-8e0b-39a215cc3090"
    },
    {
      "command": "EVENT_LOOP_FOR",
      "args": {
        "variable": "L0",
        "from": {
          "type": "number",
          "value": 0
        },
        "comparison": "<=",
        "to": {
          "type": "number",
          "value": 9
        },
        "operation": "+=",
        "value": {
          "type": "number",
          "value": 1
        }
      },
      "children": {
        "true": [
          {
            "command": "EVENT_SOUND_PLAY_EFFECT",
            "args": {
              "type": "crash",
              "priority": "medium",
              "pitch": 4,
              "frequency": 200,
              "duration": 0.3,
              "wait": false,
              "effect": 0
            },
            "id": "19c900d3-efe2-4245-bf07-41ed02cf6666"
          },
          {
            "command": "EVENT_CAMERA_SHAKE",
            "args": {
              "time": 0.5,
              "frames": 10,
              "shakeDirection": "horizontal",
              "units": "frames",
              "magnitude": {
                "type": "number",
                "value": 5
              }
            },
            "id": "e8583d10-0881-4c7e-bdee-60bb30d7a465"
          },
          {
            "command": "EVENT_ACTOR_MOVE_RELATIVE",
            "args": {
              "actorId": "452e4e63-ca08-4095-9e97-0f9041c053ff",
              "x": {
                "type": "number",
                "value": 2
              },
              "y": {
                "type": "number",
                "value": -1
              },
              "moveType": "horizontal",
              "useCollisions": false,
              "units": "pixels"
            },
            "id": "3791fe89-5346-468b-bc1a-d04e5d3bfbb2"
          },
          {
            "command": "EVENT_CAMERA_SHAKE",
            "args": {
              "time": 0.5,
              "frames": 10,
              "shakeDirection": "horizontal",
              "units": "frames",
              "magnitude": {
                "type": "number",
                "value": 5
              }
            },
            "id": "90187c9d-5e06-4cb0-95f2-285db5a4157a"
          },
          {
            "command": "EVENT_ACTOR_MOVE_RELATIVE",
            "args": {
              "actorId": "452e4e63-ca08-4095-9e97-0f9041c053ff",
              "x": {
                "type": "number",
                "value": -2
              },
              "y": {
                "type": "number",
                "value": -1
              },
              "moveType": "horizontal",
              "useCollisions": false,
              "units": "pixels"
            },
            "id": "3bf87498-4686-40b0-8ce6-392d5b3ff6c3"
          },
          {
            "command": "EVENT_SOUND_PLAY_EFFECT",
            "args": {
              "type": "crash",
              "priority": "medium",
              "pitch": 4,
              "frequency": 200,
              "duration": 0.2,
              "wait": false,
              "effect": 0
            },
            "id": "48b42a66-1110-4c43-816b-ab2cb3869bb8"
          }
        ]
      },
      "id": "1a449d8c-b27e-4c46-92fa-21d20f713c8e"
    },
    {
      "command": "EVENT_SWITCH_SCENE",
      "args": {
        "sceneId": "3788a033-5227-480e-ab7e-5afbd97712fd",
        "x": {
          "type": "number",
          "value": 12
        },
        "y": {
          "type": "number",
          "value": 1
        },
        "direction": "right",
        "fadeSpeed": "2"
      },
      "id": "f5308c49-fe11-41c6-b198-ed6467604291"
    }
  ],
  "playerHit1Script": [],
  "playerHit2Script": [],
  "playerHit3Script": [],
  "collisions": "00a+0f5+009+0f18+00a+0f!003+0f!009+0f!00f+0f2+004+0f2+00a+0f!003+0f!009+0f!006+0f5+004+0f!006+0f!00a+0f!003+0f!009+0f!006+0f5+004+0f!006+0fc+003+0f8+002+0f!00f+0f!006+0f2+0014+0f!002+0fd+002+0f3+002+0f5+0014+0f!002+0f!0014+0f4+0014+0f!002+0f2+007+0fa+004+0f!0015+0f!002+0f2+002+0f2+003+0f2+00c+0f!0015+0f!002+0f2+002+0f2+003+0f2+00!0f!006+0f2+002+0f2+00e+0f7+002+0f2+007+0f2+008+0f2+002+0f2+00e+0f!008+0f!002+0f!002+0f!002+0f!009+0f2+002+0f2+00e+0f!008+0f!002+0f4+002+0f!009+0f2+002+0fd+003+0f!008+0f!008+0f!00d+0f!00b+0f!003+0f!008+0f!008+0f8+002+0f!003+0f!00b+0f!003+0fa+003+0f3+00c+0f!003+0f!00b+0f!0010+0f3+00c+0f!003+0f!00b+0f!001f+0f!003+0f!00b+0f10+0010+0f!003+0f!001a+0f16+"
}