boom.particlefx 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  1. emitters {
  2. id: "light"
  3. mode: PLAY_MODE_ONCE
  4. duration: 1.0
  5. space: EMISSION_SPACE_WORLD
  6. tile_source: "/assets/sprites.atlas"
  7. animation: "star2"
  8. material: "/builtins/materials/particlefx.material"
  9. blend_mode: BLEND_MODE_ADD
  10. max_particle_count: 1
  11. type: EMITTER_TYPE_CIRCLE
  12. properties {
  13. key: EMITTER_KEY_SPAWN_RATE
  14. points {
  15. y: 10.0
  16. }
  17. }
  18. properties {
  19. key: EMITTER_KEY_SIZE_X
  20. points {
  21. y: 8.0
  22. }
  23. }
  24. properties {
  25. key: EMITTER_KEY_SIZE_Y
  26. points {
  27. y: 12.0
  28. }
  29. }
  30. properties {
  31. key: EMITTER_KEY_PARTICLE_LIFE_TIME
  32. points {
  33. y: 1.0
  34. }
  35. }
  36. properties {
  37. key: EMITTER_KEY_PARTICLE_SIZE
  38. points {
  39. y: 20.0
  40. }
  41. }
  42. properties {
  43. key: EMITTER_KEY_PARTICLE_RED
  44. points {
  45. y: 1.0
  46. }
  47. }
  48. properties {
  49. key: EMITTER_KEY_PARTICLE_GREEN
  50. points {
  51. y: 1.0
  52. }
  53. }
  54. properties {
  55. key: EMITTER_KEY_PARTICLE_BLUE
  56. points {
  57. y: 1.0
  58. }
  59. }
  60. properties {
  61. key: EMITTER_KEY_PARTICLE_ALPHA
  62. points {
  63. y: 1.0
  64. }
  65. }
  66. particle_properties {
  67. key: PARTICLE_KEY_SCALE
  68. points {
  69. y: 1.0
  70. t_x: 0.25919977
  71. t_y: 0.9658237
  72. }
  73. points {
  74. x: 1.0
  75. y: 0.023632
  76. t_x: 0.9998886
  77. t_y: 0.014926955
  78. }
  79. }
  80. particle_properties {
  81. key: PARTICLE_KEY_RED
  82. points {
  83. y: 1.0
  84. }
  85. }
  86. particle_properties {
  87. key: PARTICLE_KEY_GREEN
  88. points {
  89. y: 1.0
  90. }
  91. }
  92. particle_properties {
  93. key: PARTICLE_KEY_BLUE
  94. points {
  95. y: 1.0
  96. }
  97. }
  98. particle_properties {
  99. key: PARTICLE_KEY_ALPHA
  100. points {
  101. y: 0.0
  102. t_x: 0.07194582
  103. t_y: 0.99740857
  104. }
  105. points {
  106. x: 0.11320755
  107. y: 0.99277455
  108. t_x: 0.99418455
  109. t_y: 0.10768964
  110. }
  111. points {
  112. x: 0.7112546
  113. y: 0.555656
  114. t_x: 0.5694311
  115. t_y: -0.82203907
  116. }
  117. points {
  118. x: 1.0
  119. y: 0.0072254334
  120. t_x: 0.4737472
  121. t_y: -0.8806609
  122. }
  123. }
  124. particle_properties {
  125. key: PARTICLE_KEY_ANGULAR_VELOCITY
  126. points {
  127. y: 1.0
  128. }
  129. }
  130. }
  131. emitters {
  132. id: "debris"
  133. mode: PLAY_MODE_ONCE
  134. duration: 1.0
  135. space: EMISSION_SPACE_WORLD
  136. tile_source: "/assets/sprites.atlas"
  137. animation: "meteorGrey_tiny1"
  138. material: "/builtins/materials/particlefx.material"
  139. max_particle_count: 4
  140. type: EMITTER_TYPE_CIRCLE
  141. properties {
  142. key: EMITTER_KEY_SPAWN_RATE
  143. points {
  144. y: 10.0
  145. }
  146. }
  147. properties {
  148. key: EMITTER_KEY_SIZE_X
  149. points {
  150. y: 8.0
  151. }
  152. }
  153. properties {
  154. key: EMITTER_KEY_SIZE_Y
  155. points {
  156. y: 12.0
  157. }
  158. }
  159. properties {
  160. key: EMITTER_KEY_PARTICLE_LIFE_TIME
  161. points {
  162. y: 1.0
  163. }
  164. }
  165. properties {
  166. key: EMITTER_KEY_PARTICLE_SPEED
  167. points {
  168. y: 50.0
  169. }
  170. spread: 20.0
  171. }
  172. properties {
  173. key: EMITTER_KEY_PARTICLE_SIZE
  174. points {
  175. y: 10.0
  176. }
  177. spread: 5.0
  178. }
  179. properties {
  180. key: EMITTER_KEY_PARTICLE_RED
  181. points {
  182. y: 1.0
  183. }
  184. }
  185. properties {
  186. key: EMITTER_KEY_PARTICLE_GREEN
  187. points {
  188. y: 1.0
  189. }
  190. }
  191. properties {
  192. key: EMITTER_KEY_PARTICLE_BLUE
  193. points {
  194. y: 1.0
  195. }
  196. }
  197. properties {
  198. key: EMITTER_KEY_PARTICLE_ALPHA
  199. points {
  200. y: 1.0
  201. }
  202. }
  203. particle_properties {
  204. key: PARTICLE_KEY_SCALE
  205. points {
  206. y: 1.0
  207. t_x: 0.25919977
  208. t_y: 0.9658237
  209. }
  210. points {
  211. x: 1.0
  212. y: 0.00553
  213. }
  214. }
  215. particle_properties {
  216. key: PARTICLE_KEY_RED
  217. points {
  218. y: 1.0
  219. }
  220. }
  221. particle_properties {
  222. key: PARTICLE_KEY_GREEN
  223. points {
  224. y: 1.0
  225. }
  226. }
  227. particle_properties {
  228. key: PARTICLE_KEY_BLUE
  229. points {
  230. y: 1.0
  231. }
  232. }
  233. particle_properties {
  234. key: PARTICLE_KEY_ALPHA
  235. points {
  236. y: 0.0
  237. t_x: 0.07194582
  238. t_y: 0.99740857
  239. }
  240. points {
  241. x: 0.11320755
  242. y: 0.99277455
  243. t_x: 0.99418455
  244. t_y: 0.10768964
  245. }
  246. points {
  247. x: 0.7112546
  248. y: 0.555656
  249. t_x: 0.5694311
  250. t_y: -0.82203907
  251. }
  252. points {
  253. x: 1.0
  254. y: 0.0072254334
  255. t_x: 0.4737472
  256. t_y: -0.8806609
  257. }
  258. }
  259. particle_properties {
  260. key: PARTICLE_KEY_ANGULAR_VELOCITY
  261. points {
  262. y: 1.0
  263. }
  264. }
  265. }