modifiers.particlefx 4.2 KB

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