enemy.gbsres.bak 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. {
  2. "_resourceType": "actorPrefab",
  3. "id": "7986c989-257a-42ed-b7b2-c7fa98b2d341",
  4. "name": "Enemy",
  5. "frame": 0,
  6. "animate": false,
  7. "spriteSheetId": "6a3ea647-7795-4ffc-8ca4-e056183a118b",
  8. "moveSpeed": 1,
  9. "animSpeed": 63,
  10. "paletteId": "",
  11. "persistent": false,
  12. "collisionGroup": "1",
  13. "script": [
  14. {
  15. "command": "EVENT_CALL_CUSTOM_EVENT",
  16. "args": {
  17. "customEventId": "e6cd7f23-a889-4a99-b34c-c456ab3544f8",
  18. "__collapse": true
  19. },
  20. "id": "2bec348c-655f-4361-bb5e-0fb756c5cc6d"
  21. },
  22. {
  23. "command": "EVENT_ACTOR_SHOW",
  24. "args": {
  25. "actorId": "$self$"
  26. },
  27. "id": "ff75e578-c0a4-4655-8f51-a20a29d79ca3"
  28. },
  29. {
  30. "command": "EVENT_CALL_CUSTOM_EVENT",
  31. "args": {
  32. "customEventId": "c2777a9d-6cd0-4810-a953-3c4e1affe5b7",
  33. "__collapse": false
  34. },
  35. "id": "803eb88b-c817-400a-8031-5a04c9cb96ff"
  36. },
  37. {
  38. "command": "EVENT_TEXT",
  39. "args": {
  40. "text": [
  41. "Behold! A Monster!"
  42. ],
  43. "__section": "text",
  44. "avatarId": "",
  45. "minHeight": 4,
  46. "maxHeight": 7,
  47. "textX": 1,
  48. "textY": 1,
  49. "textHeight": 5,
  50. "position": "bottom",
  51. "clearPrevious": true,
  52. "showFrame": "true",
  53. "speedIn": -1,
  54. "speedOut": -1,
  55. "closeWhen": "key",
  56. "closeButton": "a",
  57. "closeDelayTime": 0.5,
  58. "closeDelayFrames": 30,
  59. "__collapse": true
  60. },
  61. "id": "0e38410b-58c8-46ac-bf17-775646396266"
  62. },
  63. {
  64. "command": "EVENT_LOOP_WHILE",
  65. "args": {
  66. "condition": {
  67. "type": "expression",
  68. "value": "$01$ > 0"
  69. },
  70. "__collapse": false
  71. },
  72. "children": {
  73. "true": [
  74. {
  75. "command": "EVENT_CALL_CUSTOM_EVENT",
  76. "args": {
  77. "customEventId": "c2777a9d-6cd0-4810-a953-3c4e1affe5b7",
  78. "__collapse": false
  79. },
  80. "id": "ec9f8ed9-b53e-4071-ab7e-4d45cdc2658d"
  81. },
  82. {
  83. "command": "EVENT_CALL_CUSTOM_EVENT",
  84. "args": {
  85. "customEventId": "5a060925-e335-4b93-8af5-2a63051e70e8",
  86. "$variable[V0]$": {
  87. "type": "variable",
  88. "value": "0"
  89. }
  90. },
  91. "id": "4bc160c7-ed9f-43d1-86b0-c3d3bc140793"
  92. },
  93. {
  94. "command": "EVENT_CALL_CUSTOM_EVENT",
  95. "args": {
  96. "customEventId": "4e18c992-1d59-4174-b94b-0db3d744aa3d"
  97. },
  98. "id": "e6742bcd-fe7d-415f-8433-c63568541dea"
  99. }
  100. ]
  101. },
  102. "id": "78d3300d-fb2e-4295-85c6-30c87dc38ab6"
  103. },
  104. {
  105. "command": "EVENT_ACTOR_DEACTIVATE",
  106. "args": {
  107. "actorId": "$self$",
  108. "__collapse": true
  109. },
  110. "id": "9fa45752-0a6b-4f73-9047-28692648e26f"
  111. },
  112. {
  113. "command": "EVENT_ACTOR_HIDE",
  114. "args": {
  115. "actorId": "$self$"
  116. },
  117. "id": "14ac7d7f-94fd-492f-80b0-2c40540b4e56"
  118. },
  119. {
  120. "command": "EVENT_CALL_CUSTOM_EVENT",
  121. "args": {},
  122. "id": "46017c28-846f-48d8-9dac-f18b8f2807c8"
  123. }
  124. ],
  125. "startScript": [],
  126. "updateScript": [],
  127. "hit1Script": [],
  128. "hit2Script": [],
  129. "hit3Script": []
  130. }