scene.gbsres 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339
  1. {
  2. "_resourceType": "scene",
  3. "id": "72c1e8e4-0697-4feb-b262-0ece9c3af457",
  4. "_index": 0,
  5. "name": "House",
  6. "backgroundId": "776a09f5-58db-40de-b722-ea559cbb354e",
  7. "tilesetId": "",
  8. "width": 96,
  9. "height": 56,
  10. "type": "PLATFORM",
  11. "paletteIds": [],
  12. "spritePaletteIds": [],
  13. "collisions": "00310+0f46+001a+0f46+001a+0f2+0014+0f2+002c+0f2+001a+0f2+0014+0f2+002c+0f2+001a+0f2+00a+012+0fa+002c+0f2+001a+0f2+00c+0fa+002c+0f2+001a+0f2+0014+0f2+002c+0f2+001a+0f2+0014+0f2+002c+0f2+001a+0f2+006+012+0012+012+004+012+0012+016+008+0f2+001a+0f2+0042+0f2+001a+0f2+001c+012+00c+014+0014+0f2+001a+0f2+0042+0f2+001a+0f28+001c+0f2+001a+0f28+001c+0f2+001a+0f2+001c+0f2+0020+012+002+0f2+001a+0f2+001c+0f2+0024+0f2+001a+0f2+001c+0f2+0024+0f2+001a+0f2+001c+0f2+0024+0f2+001a+0f2+0036+014+008+0f2+001a+0f2+0042+0f2+001a+0f2+0042+0f2+001a+0f2+0042+0f2+001a+0fc+006+0f16+009+20!0f14+001a+0fc+006+0f16+008+20!00!0f14+001a+0f2+002d+20!0f2+004+0f2+00c+0f2+001a+0f2+002c+20!00!0f2+004+0f2+00c+0f2+001a+0f2+00c+012+001d+20!0f2+0014+0f2+001a+0f2+002a+22!02!0f2+0014+0f2+001a+0f2+0042+0f2+001a+0f2+0042+0f2+001a+0f2+0033+20!0f6+006+0f4+001a+0f2+0032+20!00!0f6+006+0f4+001a+0f6+006+0f14+008+0f10+00c+0f2+001a+0f6+006+0f14+008+0f10+00c+0f2+001a+0f2+00e+0f2+0024+0f2+008+012+002+0f2+001a+0f2+00e+0f2+0024+0f2+00c+0f2+001a+0f2+012+002+014+0018+012+0012+0f2+00c+0f2+001a+0f2+0034+0f2+00c+0f2+001a+0f2+0034+0f2+00c+0f2+001a+0f2+0034+0f2+00c+0f2+001a+0f12+007+20!0f14+014+0f6+002+012+008+0f2+001a+0f12+006+20!00!0f14+004+0f6+00c+0f2+0031+20!0f2+005c+20!00!0f2+005b+20!0f2+005c+20!00!0f2+0038+0fc0+",
  14. "autoFadeSpeed": 1,
  15. "symbol": "scene_0",
  16. "x": 520,
  17. "y": 320,
  18. "script": [
  19. {
  20. "command": "EVENT_GROUP",
  21. "args": {},
  22. "children": {
  23. "true": [
  24. {
  25. "command": "EVENT_SET_INPUT_SCRIPT",
  26. "args": {
  27. "input": [
  28. "a"
  29. ],
  30. "override": true,
  31. "__scriptTabs": "press",
  32. "__collapse": true
  33. },
  34. "children": {
  35. "true": [
  36. {
  37. "command": "EVENT_SET_VALUE",
  38. "args": {
  39. "variable": "0",
  40. "value": {
  41. "type": "true"
  42. },
  43. "__collapse": false
  44. },
  45. "id": "37a3f833-60ae-41ce-aa9c-84acecb5b824"
  46. },
  47. {
  48. "command": "EVENT_PLAYER_SET_SPRITE",
  49. "args": {
  50. "spriteSheetId": "835fee3e-5a1d-47ed-be2d-5f060686178a",
  51. "__collapse": false
  52. },
  53. "id": "c4409e6e-1086-4511-9dff-558a3261cbff"
  54. },
  55. {
  56. "command": "EVENT_ACTOR_EFFECTS",
  57. "args": {
  58. "effect": "flicker",
  59. "actorId": "$self$",
  60. "distance": 20,
  61. "speed": 2,
  62. "time": 1.5,
  63. "frames": 30,
  64. "__collapse": false
  65. },
  66. "id": "63fdf906-8dc4-4748-9be2-88355aa01d4e"
  67. },
  68. {
  69. "command": "EVENT_SET_VALUE",
  70. "args": {
  71. "variable": "0",
  72. "value": {
  73. "type": "false"
  74. },
  75. "__collapse": false
  76. },
  77. "id": "479e53db-fd93-48ee-8ab6-2127bbe61cec"
  78. },
  79. {
  80. "command": "EVENT_PLAYER_SET_SPRITE",
  81. "args": {
  82. "spriteSheetId": "6ae2f141-7f1a-4ec8-af30-445db4e3ebac",
  83. "__collapse": false
  84. },
  85. "id": "0e4e1c99-fd90-484a-b733-5ad9df60b3c8"
  86. }
  87. ]
  88. },
  89. "id": "1d70c2b6-4595-434e-b444-856b9077d164"
  90. },
  91. {
  92. "command": "EVENT_SET_VALUE",
  93. "args": {
  94. "variable": "1",
  95. "value": {
  96. "type": "number",
  97. "value": 4
  98. },
  99. "__collapse": true
  100. },
  101. "id": "39eca761-e4c5-4bc0-8633-1bc6baadbe3f"
  102. },
  103. {
  104. "command": "EVENT_CALL_CUSTOM_EVENT",
  105. "args": {
  106. "customEventId": "7a4a0afd-9a83-4ae5-aadd-c77ade95ae42",
  107. "$actor[1]$": "54ee1eeb-48b4-4c17-8133-23abb014cff7",
  108. "__collapse": true
  109. },
  110. "id": "061a6a1b-602e-4dfe-b091-13057e7a11fd"
  111. },
  112. {
  113. "command": "EVENT_ACTOR_COLLISIONS_ENABLE",
  114. "args": {
  115. "actorId": "$self$",
  116. "__collapse": true
  117. },
  118. "id": "b0501c34-3807-42b3-a16c-e2de0a532826"
  119. },
  120. {
  121. "command": "EVENT_SET_INPUT_SCRIPT",
  122. "args": {
  123. "input": [
  124. "select"
  125. ],
  126. "override": true,
  127. "__scriptTabs": "press",
  128. "__collapse": true
  129. },
  130. "children": {
  131. "true": [
  132. {
  133. "command": "EVENT_GROUP",
  134. "args": {},
  135. "children": {
  136. "true": [
  137. {
  138. "command": "EVENT_SCENE_PUSH_STATE",
  139. "args": {},
  140. "id": "31d8bf06-046a-4447-aa98-a0e1a1cd6ad9"
  141. },
  142. {
  143. "command": "EVENT_SWITCH_SCENE",
  144. "args": {
  145. "sceneId": "92abe915-473b-4eca-9b66-87874bd76db6",
  146. "x": {
  147. "type": "number",
  148. "value": 0
  149. },
  150. "y": {
  151. "type": "number",
  152. "value": 0
  153. },
  154. "direction": "right",
  155. "fadeSpeed": "2"
  156. },
  157. "id": "8e0696c9-e048-4aff-a0d7-837c86797f54"
  158. }
  159. ]
  160. },
  161. "id": "75da32df-d7f4-4a16-a781-402d35979ec3"
  162. }
  163. ]
  164. },
  165. "id": "9f9fc2d6-58f8-4023-b45c-306c8bd68f87"
  166. },
  167. {
  168. "command": "EVENT_SET_INPUT_SCRIPT",
  169. "args": {
  170. "input": [
  171. "start"
  172. ],
  173. "override": true,
  174. "__scriptTabs": "press",
  175. "__collapse": true
  176. },
  177. "children": {
  178. "true": [
  179. {
  180. "command": "EVENT_MENU",
  181. "args": {
  182. "variable": "L0",
  183. "items": 3,
  184. "option1": "Collectibles",
  185. "option2": "Back to game",
  186. "option3": "Quit game",
  187. "option4": "",
  188. "option5": "",
  189. "option6": "",
  190. "option7": "",
  191. "option8": "",
  192. "cancelOnB": false,
  193. "layout": "dialogue",
  194. "cancelOnLastOption": false
  195. },
  196. "id": "c54294a5-1d24-4121-88eb-c628563bbbcf"
  197. },
  198. {
  199. "command": "EVENT_SWITCH",
  200. "args": {
  201. "variable": "L0",
  202. "choices": 3,
  203. "__collapseCase0": true,
  204. "value0": 1,
  205. "__collapseCase1": true,
  206. "value1": 2,
  207. "__collapseCase2": false,
  208. "value2": 3,
  209. "__collapseCase3": false,
  210. "value3": 4,
  211. "__collapseCase4": false,
  212. "value4": 5,
  213. "__collapseCase5": false,
  214. "value5": 6,
  215. "__collapseCase6": false,
  216. "value6": 7,
  217. "__collapseCase7": false,
  218. "value7": 8,
  219. "__collapseCase8": false,
  220. "value8": 9,
  221. "__collapseCase9": false,
  222. "value9": 10,
  223. "__collapseCase10": false,
  224. "value10": 11,
  225. "__collapseCase11": false,
  226. "value11": 12,
  227. "__collapseCase12": false,
  228. "value12": 13,
  229. "__collapseCase13": false,
  230. "value13": 14,
  231. "__collapseCase14": false,
  232. "value14": 15,
  233. "__collapseCase15": false,
  234. "value15": 16,
  235. "__collapseElse": false
  236. },
  237. "children": {
  238. "true0": [
  239. {
  240. "command": "EVENT_GROUP",
  241. "args": {},
  242. "children": {
  243. "true": [
  244. {
  245. "command": "EVENT_SCENE_PUSH_STATE",
  246. "args": {},
  247. "id": "df0cd3f2-a9e0-4c71-9992-39d4c0492c25"
  248. },
  249. {
  250. "command": "EVENT_SWITCH_SCENE",
  251. "args": {
  252. "sceneId": "109b536c-3d08-4a9e-9487-50cfcb47dace",
  253. "x": {
  254. "type": "number",
  255. "value": 14
  256. },
  257. "y": {
  258. "type": "number",
  259. "value": 0
  260. },
  261. "direction": "right",
  262. "fadeSpeed": "2"
  263. },
  264. "id": "e8c46338-2570-4390-b266-8646515fa0e4"
  265. }
  266. ]
  267. },
  268. "id": "b4babe14-06b5-4e7f-a763-eac680cc767a"
  269. }
  270. ],
  271. "true1": [
  272. {
  273. "command": "EVENT_STOP",
  274. "args": {},
  275. "id": "8cf162f2-f5bb-483d-a40c-5ab6f6bb2881"
  276. }
  277. ],
  278. "true2": [
  279. {
  280. "command": "EVENT_SWITCH_SCENE",
  281. "args": {
  282. "sceneId": "e5f48ef9-e079-4884-adb8-e9fd93eac453",
  283. "x": {
  284. "type": "number",
  285. "value": 0
  286. },
  287. "y": {
  288. "type": "number",
  289. "value": 0
  290. },
  291. "direction": "right",
  292. "fadeSpeed": "2"
  293. },
  294. "id": "d36629de-f18e-4089-8673-7194bead2905"
  295. }
  296. ],
  297. "true3": [],
  298. "true4": [],
  299. "true5": [],
  300. "true6": [],
  301. "true7": [],
  302. "true8": [],
  303. "true9": [],
  304. "true10": [],
  305. "true11": [],
  306. "true12": [],
  307. "true13": [],
  308. "true14": [],
  309. "true15": [],
  310. "false": []
  311. },
  312. "id": "0cbd8787-5c77-4c8c-b92f-04026568ee1b"
  313. }
  314. ]
  315. },
  316. "id": "d1cef18c-1642-482a-9faa-9dbac542ef30"
  317. },
  318. {
  319. "command": "EVENT_SET_VALUE",
  320. "args": {
  321. "variable": "12",
  322. "value": {
  323. "type": "number",
  324. "value": 0
  325. }
  326. },
  327. "id": "114382fa-6895-4255-938a-cb716c75b3bf"
  328. }
  329. ]
  330. },
  331. "id": "f8421e60-4bf2-49a8-b955-306bfff0ee60"
  332. }
  333. ],
  334. "playerHit1Script": [],
  335. "playerHit2Script": [],
  336. "playerHit3Script": [],
  337. "playerSpriteSheetId": "6ae2f141-7f1a-4ec8-af30-445db4e3ebac",
  338. "autoFadeEventCollapse": false
  339. }