scene.gbsres 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. {
  2. "_resourceType": "scene",
  3. "id": "90c3b550-199c-43eb-b6ea-db3607856f81",
  4. "_index": 2,
  5. "name": "maps/house",
  6. "backgroundId": "79a616fc-f350-4798-aa71-268e704bfdc9",
  7. "tilesetId": "",
  8. "width": 125,
  9. "height": 128,
  10. "type": "PLATFORM",
  11. "paletteIds": [],
  12. "spritePaletteIds": [],
  13. "collisions": "0031bf+0f2+001b+0f2+005e+0f2+001b+0f2+005e+0f2+001b+0f2+005e+0f2+001b+0f2+005e+0f2+001b+0f2+005e+0f2+001b+0f2+005e+0f2+001b+0f2+005e+0f2+001b+0f2+005e+0f2+001b+0f2+005e+0f2+001b+0f2+005e+0f2+001b+0f2+005e+0f2+001b+0f2+005e+0f2+001b+0f2+005e+0f2+001b+0f2+005e+0f2+001b+0f2+005e+0f2+001b+0f2+005e+0f2+001b+0f2+005e+0f2+001b+0f2+005e+0f2+001b+0f1a+005+20!0f2b+004+0f13+001b+0f1a+004+20!00!0f2b+004+0f13+0038+20!007+20!003a+0f2+0037+20!007+20!003b+0f2+0036+20!007+20!003c+0f2+0035+20!007+20!003d+0f2+00d+0f70+00d+0f70+00d+",
  14. "autoFadeSpeed": 1,
  15. "symbol": "scene_3",
  16. "x": 456,
  17. "y": 392,
  18. "script": [
  19. {
  20. "command": "EVENT_SET_INPUT_SCRIPT",
  21. "args": {
  22. "input": [
  23. "a"
  24. ],
  25. "override": true,
  26. "__scriptTabs": "press",
  27. "__collapse": false
  28. },
  29. "children": {
  30. "true": [
  31. {
  32. "command": "EVENT_SET_VALUE",
  33. "args": {
  34. "variable": "0",
  35. "value": {
  36. "type": "true"
  37. }
  38. },
  39. "id": "ac27d2a1-ba02-4d6b-bb28-c6f0f13d618b"
  40. },
  41. {
  42. "command": "EVENT_PLAYER_SET_SPRITE",
  43. "args": {
  44. "spriteSheetId": "835fee3e-5a1d-47ed-be2d-5f060686178a"
  45. },
  46. "id": "20c8bd49-73f4-4572-88db-6e0992d4d1de"
  47. },
  48. {
  49. "command": "EVENT_WAIT",
  50. "args": {
  51. "time": 1.5,
  52. "frames": 30
  53. },
  54. "id": "37f6fbe5-dd73-4343-9a87-5949b0c02b5a"
  55. },
  56. {
  57. "command": "EVENT_SET_VALUE",
  58. "args": {
  59. "variable": "0",
  60. "value": {
  61. "type": "false"
  62. }
  63. },
  64. "id": "04184e85-a2e1-4204-8417-2fb6906c295c"
  65. },
  66. {
  67. "command": "EVENT_PLAYER_SET_SPRITE",
  68. "args": {
  69. "spriteSheetId": "6ae2f141-7f1a-4ec8-af30-445db4e3ebac"
  70. },
  71. "id": "b10fccf3-698c-44da-afca-0f59362627a2"
  72. }
  73. ]
  74. },
  75. "id": "7d2baba9-8adf-42de-9556-37efb9c720df"
  76. },
  77. {
  78. "command": "EVENT_ACTOR_SET_SPRITE",
  79. "args": {
  80. "actorId": "$self$",
  81. "spriteSheetId": "6ae2f141-7f1a-4ec8-af30-445db4e3ebac",
  82. "__comment": true
  83. },
  84. "id": "2dfeae67-36e6-4477-9274-bdfd64592420"
  85. },
  86. {
  87. "command": "EVENT_SET_INPUT_SCRIPT",
  88. "args": {
  89. "input": [
  90. "b"
  91. ],
  92. "override": true,
  93. "__scriptTabs": "press",
  94. "__collapse": true
  95. },
  96. "children": {
  97. "true": [
  98. {
  99. "command": "EVENT_PLAYER_BOUNCE",
  100. "args": {
  101. "height": "medium"
  102. },
  103. "id": "76d00a6b-e2f3-41bc-b940-51c7e4641792"
  104. }
  105. ]
  106. },
  107. "id": "9d1f4edb-d174-486e-b524-f7f8b37fa57f"
  108. },
  109. {
  110. "command": "EVENT_GBVM_SCRIPT",
  111. "args": {
  112. "script": "VM_OVERLAY_SHOW 0,15,.UI_COLOR_BLACK, .UI_DRAW_FRAME;\nVM_LOAD_TEXT 1\n.dw VAR_BISINVISIBLE\n.asciz \"Invisibility : %d\"\nVM_DISPLAY_TEXT;",
  113. "references": [
  114. {
  115. "type": "variable",
  116. "id": "0"
  117. }
  118. ],
  119. "__comment": true
  120. },
  121. "id": "96d33c6f-5598-451d-bf91-ff38bcdeb3b2"
  122. }
  123. ],
  124. "playerHit1Script": [],
  125. "playerHit2Script": [],
  126. "playerHit3Script": [],
  127. "playerSpriteSheetId": "6ae2f141-7f1a-4ec8-af30-445db4e3ebac"
  128. }