Newer
Older
System38 / project / scenes / e02-01-trip / scene.gbsres
{
  "_resourceType": "scene",
  "id": "aa68b99e-ece5-4f6c-a6f8-fef879a80f42",
  "_index": 8,
  "type": "SHMUP",
  "name": "E02-01-Trip",
  "symbol": "scene_e02_01_trip",
  "x": 60,
  "y": 706.3333435058594,
  "width": 255,
  "height": 18,
  "backgroundId": "6a864a63-3689-4aee-a85a-bce6c6d8d81d",
  "tilesetId": "",
  "paletteIds": [
    "6ad9e9c5-ba71-4edd-ba94-841f4159291c",
    "1e144b4e-ef12-4bad-8361-53c45a10a72a",
    "f38e6458-c5f8-40a4-9418-47edaafbe3cc",
    "d49f8f98-cf66-4250-9c4c-2ad2878bd873",
    "196a50ed-4706-4f17-a676-e76d3bc5e459"
  ],
  "spritePaletteIds": [],
  "autoFadeSpeed": 1,
  "script": [
    {
      "id": "e1cb3b8e-fa49-46c1-a37b-e52d95b2f2a7",
      "command": "EVENT_CALL_CUSTOM_EVENT",
      "args": {
        "customEventId": "a02c8ee7-1478-4317-80d7-1c3fc9704e8d",
        "__name": "Init Weapon Claxon"
      },
      "children": {
        "script": [
          {
            "id": "72f90b54-19db-4794-9cdd-e89647b95af0",
            "command": "EVENT_SET_INPUT_SCRIPT",
            "args": {
              "input": [
                "a"
              ]
            },
            "children": {
              "true": [
                {
                  "id": "01db6e87-2f1d-4ba2-9970-5ccba3c03d5a",
                  "command": "EVENT_SOUND_PLAY_EFFECT",
                  "args": {
                    "type": "tone",
                    "pitch": 6,
                    "frequency": 500,
                    "duration": 0.3,
                    "wait": false
                  }
                },
                {
                  "id": "b5d82058-ed83-492e-ad43-a011d637d9e2",
                  "command": "EVENT_LAUNCH_PROJECTILE",
                  "args": {
                    "spriteSheetId": "1f61030e-42ac-4d0d-ad04-c83ab848a02e",
                    "actorId": "player",
                    "direction": "right",
                    "speed": 3,
                    "collisionGroup": "1",
                    "collisionMask": [
                      "1"
                    ],
                    "__collapse": false,
                    "animSpeed": 7,
                    "lifeTime": 1,
                    "directionType": "direction",
                    "angleVariable": "0",
                    "angle": 0,
                    "otherActorId": "$self$",
                    "loopAnim": true,
                    "destroyOnHit": true
                  }
                }
              ]
            },
            "__type": "event"
          }
        ]
      }
    },
    {
      "id": "86e36452-9794-4da9-a2cc-739e30be980e",
      "command": "EVENT_ACTOR_SET_SPRITE",
      "args": {
        "actorId": "$self$",
        "spriteSheetId": "2c36eda8-98bc-4e31-b36e-2ae836d8d5e7"
      }
    },
    {
      "id": "b4e898c1-d00f-42b9-97cb-47bbd0158edc",
      "command": "EVENT_MUSIC_PLAY",
      "args": {
        "musicId": "d0926148-4ba9-41ad-b642-31fb279dc5a8",
        "loop": true
      }
    },
    {
      "id": "5dec37e5-375d-42d8-b2d8-54067655ea80",
      "command": "EVENT_ACTOR_SET_MOVEMENT_SPEED",
      "args": {
        "actorId": "$self$",
        "speed": 0.5
      }
    },
    {
      "id": "9d7c8a88-f440-454e-9647-9696df653bfb",
      "command": "EVENT_SET_VALUE",
      "args": {
        "variable": "0",
        "value": {
          "type": "number",
          "value": 0
        }
      }
    },
    {
      "id": "f58453ea-634b-4fcc-9d86-819aa2c3e0f9",
      "command": "EVENT_SET_VALUE",
      "args": {
        "variable": "L0",
        "value": {
          "type": "false"
        }
      }
    },
    {
      "id": "09f0a730-764c-42f2-a0fd-ac16d94e3fe5",
      "command": "EVENT_SET_INPUT_SCRIPT",
      "args": {
        "input": [
          "right"
        ],
        "persist": false,
        "__scriptTabs": "press"
      },
      "children": {
        "true": [
          {
            "id": "f1683806-4b4c-41f3-8b6b-c1a15f511c1a",
            "command": "EVENT_ACTOR_SET_MOVEMENT_SPEED",
            "args": {
              "actorId": "$self$",
              "speed": 1
            }
          },
          {
            "id": "f9c275b4-2af7-4358-a38b-5126ebf2a295",
            "command": "EVENT_WAIT",
            "args": {
              "time": 0.5
            }
          },
          {
            "id": "f9ffb3cb-813d-4be5-a961-efa548f37c72",
            "command": "EVENT_ACTOR_SET_MOVEMENT_SPEED",
            "args": {
              "actorId": "$self$",
              "speed": 0.5
            }
          },
          {
            "id": "0cd3f7c5-823f-4efc-ac48-ae847bf1db1b",
            "command": "EVENT_WAIT",
            "args": {
              "time": 2
            }
          }
        ]
      }
    }
  ],
  "playerHit1Script": [],
  "playerHit2Script": [],
  "playerHit3Script": [],
  "collisions": "0061e+0f45+002e+0f4f+002b+0f5f+0020+0f5c+0013+0f23+0045+0f2e+004f+0f8+0012+0f11+005f+0f20+0026d+0ff+00ff+0f10+00ff+0f22+00a7+0f5+0053+0f8+0097+0f8+0060+0f97+0011d+"
}