Newer
Older
System38 / project / scenes / e06-01-pasillo / scene.gbsres
{
  "_resourceType": "scene",
  "id": "98f27fed-763d-4705-9102-5f1a55d2fd94",
  "_index": 34,
  "type": "TOPDOWN",
  "name": "E06-01-Pasillo",
  "symbol": "scene_35",
  "x": 63,
  "y": 2171,
  "width": 57,
  "height": 18,
  "backgroundId": "52b78976-0356-48c0-a7cd-861ad6b14a2e",
  "tilesetId": "",
  "paletteIds": [
    "b7c969d0-d631-43e2-bb84-0eb6c988147f",
    "50259584-f7da-4a1c-9183-8c10cc77212d"
  ],
  "spritePaletteIds": [],
  "autoFadeSpeed": 1,
  "script": [
    {
      "id": "74ad9ffa-66b7-4f83-a387-59fc3676161f",
      "command": "EVENT_ACTOR_SET_SPRITE",
      "args": {
        "actorId": "$self$",
        "spriteSheetId": "2c36eda8-98bc-4e31-b36e-2ae836d8d5e7"
      }
    },
    {
      "id": "6bda5139-1bdc-4fe7-a9c1-91c6ed25a06a",
      "command": "EVENT_ACTOR_DEACTIVATE",
      "args": {
        "actorId": "e8bd5d3c-c346-40c5-be94-96ad558cd782"
      }
    },
    {
      "id": "2f90585c-1324-4ebe-b335-1134650bc472",
      "command": "EVENT_SET_TIMER_SCRIPT",
      "args": {
        "duration": 3,
        "__scriptTabs": "end",
        "timer": 1
      },
      "children": {
        "script": [
          {
            "id": "b1ce5b0e-e489-424b-8aaf-11c7798bc5d4",
            "command": "EVENT_VARIABLE_MATH",
            "args": {
              "vectorX": "L2",
              "operation": "set",
              "other": "rnd",
              "vectorY": "L0",
              "value": "1",
              "minValue": 1,
              "maxValue": 55,
              "clamp": false
            }
          },
          {
            "id": "7ce69e05-714a-4164-9ebe-74242ba72dcf",
            "command": "EVENT_ACTOR_SET_POSITION",
            "args": {
              "actorId": "e8bd5d3c-c346-40c5-be94-96ad558cd782",
              "x": {
                "type": "variable",
                "value": "L2"
              },
              "y": {
                "type": "number",
                "value": 0
              }
            }
          },
          {
            "id": "90893a3c-9960-4a4c-93fa-b397dbef2317",
            "command": "EVENT_ACTOR_ACTIVATE",
            "args": {
              "actorId": "e8bd5d3c-c346-40c5-be94-96ad558cd782"
            }
          },
          {
            "id": "c12ed091-0686-44e6-8b0e-2337a31ea7ef",
            "command": "EVENT_ACTOR_MOVE_RELATIVE",
            "args": {
              "actorId": "e8bd5d3c-c346-40c5-be94-96ad558cd782",
              "x": {
                "type": "number",
                "value": 0
              },
              "y": {
                "type": "number",
                "value": 13
              },
              "moveType": "vertical",
              "useCollisions": false
            }
          },
          {
            "id": "7085bc9d-301b-4316-bc85-aeb600284a71",
            "command": "EVENT_WAIT",
            "args": {
              "time": 0.2
            }
          },
          {
            "id": "c99dd4c1-9e08-43d1-b375-3f96498c8d0c",
            "command": "EVENT_ACTOR_DEACTIVATE",
            "args": {
              "actorId": "e8bd5d3c-c346-40c5-be94-96ad558cd782"
            }
          }
        ]
      }
    }
  ],
  "playerHit1Script": [
    {
      "id": "7250e65b-5d05-4506-8869-cfa44656061c",
      "command": "EVENT_CAMERA_SHAKE",
      "args": {
        "time": 0.5,
        "shakeDirection": "horizontal",
        "magnitude": {
          "type": "number",
          "value": 5
        }
      }
    },
    {
      "id": "470ca343-3d5a-459e-b93b-4f87c27e70a5",
      "command": "EVENT_SWITCH_SCENE",
      "args": {
        "sceneId": "98f27fed-763d-4705-9102-5f1a55d2fd94",
        "x": {
          "type": "number",
          "value": 55
        },
        "y": {
          "type": "number",
          "value": 12
        },
        "direction": "left",
        "fadeSpeed": "2"
      }
    }
  ],
  "playerHit2Script": [],
  "playerHit3Script": [],
  "collisions": "00273+0f39+0039+0f39+00e4+"
}