exitkey.gbsres 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {
  2. "_resourceType": "actorPrefab",
  3. "id": "8a2e806f-9089-4c04-a5f0-e3ab970ec3a1",
  4. "name": "ExitKey",
  5. "frame": 0,
  6. "animate": false,
  7. "spriteSheetId": "d3a1b4a0-2865-45a0-bea2-49a66ab7cbfa",
  8. "moveSpeed": 1,
  9. "animSpeed": 255,
  10. "paletteId": "",
  11. "persistent": false,
  12. "collisionGroup": "1",
  13. "script": [
  14. {
  15. "command": "EVENT_SOUND_PLAY_EFFECT",
  16. "args": {
  17. "type": "beep",
  18. "priority": "medium",
  19. "pitch": 4,
  20. "frequency": 200,
  21. "duration": 0.5,
  22. "wait": true,
  23. "effect": 0
  24. },
  25. "id": "846b0045-2e2d-4ae7-b10d-48f2a56dd970"
  26. },
  27. {
  28. "command": "EVENT_SET_VALUE",
  29. "args": {
  30. "variable": "0",
  31. "value": {
  32. "type": "true"
  33. }
  34. },
  35. "id": "bc3770fd-0ae0-4b9d-a296-a20255a9f035"
  36. },
  37. {
  38. "command": "EVENT_TEXT",
  39. "args": {
  40. "text": "",
  41. "__section": "text",
  42. "avatarId": "",
  43. "minHeight": 4,
  44. "maxHeight": 7,
  45. "textX": 1,
  46. "textY": 1,
  47. "textHeight": 5,
  48. "position": "bottom",
  49. "clearPrevious": true,
  50. "showFrame": "true",
  51. "speedIn": -1,
  52. "speedOut": -1,
  53. "closeWhen": "key",
  54. "closeButton": "a",
  55. "closeDelayTime": 0.5,
  56. "closeDelayFrames": 30
  57. },
  58. "id": "3d7ad9ab-929e-49df-9cbf-b531dab34c2a"
  59. },
  60. {
  61. "command": "EVENT_ACTOR_DEACTIVATE",
  62. "args": {
  63. "actorId": "$self$"
  64. },
  65. "id": "4ea0d5c5-90b3-4a32-b6e9-02b96f2fb676"
  66. }
  67. ],
  68. "startScript": [],
  69. "updateScript": [],
  70. "hit1Script": [],
  71. "hit2Script": [],
  72. "hit3Script": []
  73. }