particles.tscn 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609
  1. [gd_scene load_steps=38 format=2]
  2. [ext_resource path="res://fire_particle.png" type="Texture" id=1]
  3. [ext_resource path="res://smoke_particle.png" type="Texture" id=2]
  4. [ext_resource path="res://spark_particle2.png" type="Texture" id=3]
  5. [ext_resource path="res://point_texture_emit.tres" type="Texture" id=4]
  6. [ext_resource path="res://point_texture_image_outline.tres" type="Image" id=5]
  7. [ext_resource path="res://point_normal_texture_image_outline.tres" type="Image" id=6]
  8. [sub_resource type="CanvasItemMaterial" id=1]
  9. render_priority = 0
  10. blend_mode = 1
  11. light_mode = 0
  12. [sub_resource type="Curve" id=2]
  13. min_value = -360.0
  14. max_value = 360.0
  15. bake_resolution = 100
  16. _data = [ Vector2( 0, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 85.0781 ), 0.0, 0.0, 0, 0 ]
  17. [sub_resource type="CurveTexture" id=3]
  18. width = 2048
  19. curve = SubResource( 2 )
  20. [sub_resource type="Curve" id=4]
  21. min_value = 0.0
  22. max_value = 1.0
  23. bake_resolution = 100
  24. _data = [ Vector2( 0, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 0.295898 ), 0.0, 0.0, 0, 0 ]
  25. [sub_resource type="CurveTexture" id=5]
  26. width = 2048
  27. curve = SubResource( 4 )
  28. [sub_resource type="ParticlesMaterial" id=6]
  29. render_priority = 0
  30. trail_divisor = 1
  31. emission_shape = 1
  32. emission_sphere_radius = 8.0
  33. flag_align_y = false
  34. flag_rotate_y = false
  35. flag_disable_z = true
  36. spread = 45.0
  37. flatness = 0.0
  38. gravity = Vector3( 0, -26, 0 )
  39. initial_velocity = 0.0
  40. initial_velocity_random = 0.0
  41. angular_velocity = 0.0
  42. angular_velocity_random = 0.0
  43. angular_velocity_curve = SubResource( 3 )
  44. orbit_velocity = 0.0
  45. orbit_velocity_random = 0.0
  46. linear_accel = 50.0
  47. linear_accel_random = 1.0
  48. radial_accel = 0.0
  49. radial_accel_random = 0.0
  50. tangential_accel = 0.0
  51. tangential_accel_random = 0.0
  52. damping = 2.0
  53. damping_random = 0.0
  54. angle = 0.0
  55. angle_random = 0.0
  56. scale = 0.8
  57. scale_random = 0.3
  58. scale_curve = SubResource( 5 )
  59. color = Color( 0.859375, 0.180278, 0.0469971, 1 )
  60. hue_variation = 0.0
  61. hue_variation_random = 0.0
  62. anim_speed = 0.0
  63. anim_speed_random = 0.0
  64. anim_offset = 0.0
  65. anim_offset_random = 0.0
  66. anim_loop = false
  67. _sections_unfolded = [ "Color" ]
  68. [sub_resource type="Gradient" id=7]
  69. offsets = PoolRealArray( 0, 1 )
  70. colors = PoolColorArray( 1, 1, 1, 0.806627, 1, 1, 1, 0 )
  71. [sub_resource type="GradientTexture" id=8]
  72. gradient = SubResource( 7 )
  73. width = 2048
  74. [sub_resource type="ParticlesMaterial" id=9]
  75. render_priority = 0
  76. trail_divisor = 1
  77. emission_shape = 1
  78. emission_sphere_radius = 30.0
  79. flag_align_y = false
  80. flag_rotate_y = false
  81. flag_disable_z = true
  82. spread = 45.0
  83. flatness = 0.0
  84. gravity = Vector3( 0, 0, 0 )
  85. initial_velocity = 1.0
  86. initial_velocity_random = 0.0
  87. angular_velocity = 20.0
  88. angular_velocity_random = 1.0
  89. orbit_velocity = 0.0
  90. orbit_velocity_random = 0.0
  91. linear_accel = 0.0
  92. linear_accel_random = 0.0
  93. radial_accel = 50.0
  94. radial_accel_random = 0.0
  95. tangential_accel = 0.0
  96. tangential_accel_random = 0.0
  97. damping = 20.0
  98. damping_random = 0.2
  99. angle = 360.0
  100. angle_random = 1.0
  101. scale = 1.0
  102. scale_random = 0.0
  103. color_ramp = SubResource( 8 )
  104. hue_variation = 0.0
  105. hue_variation_random = 0.0
  106. anim_speed = 0.0
  107. anim_speed_random = 0.0
  108. anim_offset = 0.0
  109. anim_offset_random = 0.0
  110. anim_loop = false
  111. [sub_resource type="CanvasItemMaterial" id=10]
  112. render_priority = 0
  113. blend_mode = 1
  114. light_mode = 0
  115. [sub_resource type="Gradient" id=11]
  116. offsets = PoolRealArray( 0, 0.0769231, 0.16568, 0.266272, 0.378698, 0.491124, 0.609467, 0.704142, 0.804734, 0.911243, 1 )
  117. colors = PoolColorArray( 1, 1, 1, 1, 1, 0.152961, 0, 1, 1, 0.726562, 0, 1, 0.78125, 1, 0, 1, 0.289062, 1, 0, 1, 0, 1, 0.472656, 1, 0, 1, 0.835938, 1, 0, 0.71875, 1, 1, 0.21875, 0, 1, 1, 1, 0, 0.773438, 1, 1, 1, 1, 1 )
  118. [sub_resource type="GradientTexture" id=12]
  119. gradient = SubResource( 11 )
  120. width = 2048
  121. [sub_resource type="Curve" id=13]
  122. min_value = 0.0
  123. max_value = 1.0
  124. bake_resolution = 100
  125. _data = [ Vector2( 0, 0.510742 ), 0.0, 0.0, 0, 0, Vector2( 1, 1 ), 0.0, 0.0, 0, 0 ]
  126. [sub_resource type="CurveTexture" id=14]
  127. width = 2048
  128. curve = SubResource( 13 )
  129. [sub_resource type="Curve" id=15]
  130. min_value = 0.0
  131. max_value = 1.0
  132. bake_resolution = 100
  133. _data = [ Vector2( 0, 0.961914 ), 0.0, 0.0, 0, 0, Vector2( 1, 0 ), 0.0, 0.0, 0, 0 ]
  134. [sub_resource type="CurveTexture" id=16]
  135. width = 2048
  136. curve = SubResource( 15 )
  137. [sub_resource type="ParticlesMaterial" id=17]
  138. render_priority = 0
  139. trail_divisor = 32
  140. trail_size_modifier = SubResource( 16 )
  141. emission_shape = 1
  142. emission_sphere_radius = 4.0
  143. flag_align_y = false
  144. flag_rotate_y = false
  145. flag_disable_z = true
  146. spread = 45.0
  147. flatness = 0.0
  148. gravity = Vector3( 0, 0, 0 )
  149. initial_velocity = 1.0
  150. initial_velocity_random = 0.0
  151. angular_velocity = 100.0
  152. angular_velocity_random = 0.0
  153. orbit_velocity = 0.0
  154. orbit_velocity_random = 0.0
  155. linear_accel = 0.0
  156. linear_accel_random = 0.0
  157. radial_accel = 0.0
  158. radial_accel_random = 0.0
  159. tangential_accel = 100.0
  160. tangential_accel_random = 0.0
  161. damping = 0.0
  162. damping_random = 0.0
  163. angle = 360.0
  164. angle_random = 1.0
  165. scale = 3.0
  166. scale_random = 0.0
  167. scale_curve = SubResource( 14 )
  168. color_ramp = SubResource( 12 )
  169. hue_variation = 1.0
  170. hue_variation_random = 1.0
  171. anim_speed = 0.0
  172. anim_speed_random = 0.0
  173. anim_offset = 0.0
  174. anim_offset_random = 0.0
  175. anim_loop = false
  176. [sub_resource type="CanvasItemMaterial" id=18]
  177. render_priority = 0
  178. blend_mode = 1
  179. light_mode = 0
  180. [sub_resource type="Gradient" id=19]
  181. offsets = PoolRealArray( 0, 0.171598, 0.301775, 0.390533, 1 )
  182. colors = PoolColorArray( 1, 0.63501, 0.28125, 1, 1, 0.398438, 0, 1, 0.679688, 0.277451, 0.169922, 0.232039, 0.515625, 0.362454, 0.199402, 0.0784314, 1, 1, 1, 0.0839033 )
  183. [sub_resource type="GradientTexture" id=20]
  184. gradient = SubResource( 19 )
  185. width = 2048
  186. [sub_resource type="Curve" id=21]
  187. min_value = 0.0
  188. max_value = 50.0
  189. bake_resolution = 100
  190. _data = [ Vector2( 0, 0 ), 0.0, 0.0, 0, 0, Vector2( 0.0180711, 0 ), 74.6314, 74.6314, 0, 0, Vector2( 0.0392147, 40.9884 ), 0.0, 0.0, 0, 0, Vector2( 1, 50 ), 0.0, 0.0, 0, 0 ]
  191. [sub_resource type="CurveTexture" id=22]
  192. width = 2048
  193. curve = SubResource( 21 )
  194. [sub_resource type="Curve" id=23]
  195. min_value = 0.0
  196. max_value = 2.0
  197. bake_resolution = 100
  198. _data = [ Vector2( 0, 0 ), 0.0, 1.78215, 0, 0, Vector2( 0.282731, 1.17848 ), -1.56917, 21.2492, 0, 0, Vector2( 0.311895, 2 ), 1.46231, 0.0, 0, 0, Vector2( 1, 2 ), 0.0, 0.0, 0, 0 ]
  199. [sub_resource type="CurveTexture" id=24]
  200. width = 2048
  201. curve = SubResource( 23 )
  202. [sub_resource type="ParticlesMaterial" id=25]
  203. render_priority = 0
  204. trail_divisor = 1
  205. emission_shape = 2
  206. emission_box_extents = Vector3( 10, 10, 40 )
  207. flag_align_y = false
  208. flag_rotate_y = true
  209. flag_disable_z = true
  210. spread = 45.0
  211. flatness = 0.0
  212. gravity = Vector3( 0, 0, 0 )
  213. initial_velocity = 1.0
  214. initial_velocity_random = 0.0
  215. angular_velocity = 26.0
  216. angular_velocity_random = 0.0
  217. orbit_velocity = 0.0
  218. orbit_velocity_random = 0.0
  219. linear_accel = 0.0
  220. linear_accel_random = 0.0
  221. radial_accel = 1.0
  222. radial_accel_random = 0.3
  223. radial_accel_curve = SubResource( 22 )
  224. tangential_accel = 0.0
  225. tangential_accel_random = 0.0
  226. damping = 10.0
  227. damping_random = 0.0
  228. angle = 0.0
  229. angle_random = 0.0
  230. scale = 1.0
  231. scale_random = 0.0
  232. scale_curve = SubResource( 24 )
  233. color_ramp = SubResource( 20 )
  234. hue_variation = 0.0
  235. hue_variation_random = 0.0
  236. anim_speed = 0.0
  237. anim_speed_random = 0.0
  238. anim_offset = 0.0
  239. anim_offset_random = 0.0
  240. anim_loop = false
  241. [sub_resource type="ParticlesMaterial" id=28]
  242. render_priority = 0
  243. trail_divisor = 1
  244. emission_shape = 3
  245. emission_point_texture = ExtResource( 4 )
  246. emission_point_count = 10554
  247. flag_align_y = false
  248. flag_rotate_y = false
  249. flag_disable_z = true
  250. spread = 45.0
  251. flatness = 0.0
  252. gravity = Vector3( 0, 0, 0 )
  253. initial_velocity = 1.0
  254. initial_velocity_random = 0.0
  255. angular_velocity = 1.47136e-43
  256. angular_velocity_random = 0.0
  257. orbit_velocity = 0.0
  258. orbit_velocity_random = 0.0
  259. linear_accel = 0.0
  260. linear_accel_random = 0.0
  261. radial_accel = 0.0
  262. radial_accel_random = 0.0
  263. tangential_accel = 0.0
  264. tangential_accel_random = 0.0
  265. damping = 0.0
  266. damping_random = 0.0
  267. angle = 0.0
  268. angle_random = 0.0
  269. scale = 0.5
  270. scale_random = 1.0
  271. color = Color( 1, 0.550781, 0.550781, 1 )
  272. hue_variation = 0.0
  273. hue_variation_random = 0.0
  274. anim_speed = 0.0
  275. anim_speed_random = 0.0
  276. anim_offset = 0.0
  277. anim_offset_random = 0.0
  278. anim_loop = false
  279. _sections_unfolded = [ "Emission Shape" ]
  280. [sub_resource type="ImageTexture" id=52]
  281. flags = 0
  282. image = ExtResource( 5 )
  283. size = Vector2( 2048, 1 )
  284. storage = 0
  285. lossy_quality = 0.7
  286. [sub_resource type="ParticlesMaterial" id=31]
  287. render_priority = 0
  288. trail_divisor = 1
  289. emission_shape = 3
  290. emission_point_texture = SubResource( 52 )
  291. emission_point_count = 1288
  292. flag_align_y = false
  293. flag_rotate_y = false
  294. flag_disable_z = true
  295. spread = 45.0
  296. flatness = 0.0
  297. gravity = Vector3( 0, 0, 0 )
  298. initial_velocity = 1.0
  299. initial_velocity_random = 0.0
  300. angular_velocity = 1.47136e-43
  301. angular_velocity_random = 0.0
  302. orbit_velocity = 0.0
  303. orbit_velocity_random = 0.0
  304. linear_accel = 0.0
  305. linear_accel_random = 0.0
  306. radial_accel = 0.0
  307. radial_accel_random = 0.0
  308. tangential_accel = 0.0
  309. tangential_accel_random = 0.0
  310. damping = 0.0
  311. damping_random = 0.0
  312. angle = 0.0
  313. angle_random = 0.0
  314. scale = 0.5
  315. scale_random = 1.0
  316. color = Color( 0.375, 0.692383, 1, 1 )
  317. hue_variation = 0.0
  318. hue_variation_random = 0.0
  319. anim_speed = 0.0
  320. anim_speed_random = 0.0
  321. anim_offset = 0.0
  322. anim_offset_random = 0.0
  323. anim_loop = false
  324. _sections_unfolded = [ "Emission Shape" ]
  325. [sub_resource type="ImageTexture" id=54]
  326. flags = 0
  327. image = ExtResource( 6 )
  328. size = Vector2( 2048, 1 )
  329. storage = 0
  330. lossy_quality = 0.7
  331. [sub_resource type="ImageTexture" id=56]
  332. flags = 0
  333. image = ExtResource( 5 )
  334. size = Vector2( 2048, 1 )
  335. storage = 0
  336. lossy_quality = 0.7
  337. [sub_resource type="ParticlesMaterial" id=36]
  338. render_priority = 0
  339. trail_divisor = 1
  340. emission_shape = 4
  341. emission_point_texture = SubResource( 56 )
  342. emission_normal_texture = SubResource( 54 )
  343. emission_point_count = 1288
  344. flag_align_y = false
  345. flag_rotate_y = false
  346. flag_disable_z = true
  347. spread = 45.0
  348. flatness = 0.0
  349. gravity = Vector3( 0, 0, 0 )
  350. initial_velocity = 20.0
  351. initial_velocity_random = 0.0
  352. angular_velocity = 1.47136e-43
  353. angular_velocity_random = 0.0
  354. orbit_velocity = 0.0
  355. orbit_velocity_random = 0.0
  356. linear_accel = 0.0
  357. linear_accel_random = 0.0
  358. radial_accel = 0.0
  359. radial_accel_random = 0.0
  360. tangential_accel = 0.0
  361. tangential_accel_random = 0.0
  362. damping = 0.0
  363. damping_random = 0.0
  364. angle = 0.0
  365. angle_random = 0.0
  366. scale = 0.5
  367. scale_random = 1.0
  368. color = Color( 0.214844, 1, 0.392731, 1 )
  369. hue_variation = 0.0
  370. hue_variation_random = 0.0
  371. anim_speed = 0.0
  372. anim_speed_random = 0.0
  373. anim_offset = 0.0
  374. anim_offset_random = 0.0
  375. anim_loop = false
  376. _sections_unfolded = [ "Emission Shape" ]
  377. [node name="Node" type="Node" index="0"]
  378. [node name="Fire" type="Particles2D" parent="." index="0"]
  379. material = SubResource( 1 )
  380. position = Vector2( 122, 502 )
  381. emitting = true
  382. amount = 32
  383. lifetime = 1.0
  384. one_shot = false
  385. preprocess = 0.1
  386. speed_scale = 1.0
  387. explosiveness = 0.0
  388. randomness = 0.0
  389. fixed_fps = 0
  390. fract_delta = true
  391. visibility_rect = Rect2( -100, -100, 200, 200 )
  392. local_coords = true
  393. draw_order = 0
  394. process_material = SubResource( 6 )
  395. texture = ExtResource( 1 )
  396. normal_map = null
  397. h_frames = 1
  398. v_frames = 1
  399. _sections_unfolded = [ "Material", "Process Material" ]
  400. [node name="Smoke" type="Particles2D" parent="." index="1"]
  401. position = Vector2( 362, 502 )
  402. emitting = true
  403. amount = 32
  404. lifetime = 2.0
  405. one_shot = false
  406. preprocess = 0.1
  407. speed_scale = 1.0
  408. explosiveness = 0.0
  409. randomness = 0.0
  410. fixed_fps = 0
  411. fract_delta = true
  412. visibility_rect = Rect2( -100, -100, 200, 200 )
  413. local_coords = true
  414. draw_order = 0
  415. process_material = SubResource( 9 )
  416. texture = ExtResource( 2 )
  417. normal_map = null
  418. h_frames = 1
  419. v_frames = 1
  420. _sections_unfolded = [ "Material" ]
  421. [node name="Magic" type="Particles2D" parent="." index="2"]
  422. material = SubResource( 10 )
  423. position = Vector2( 620, 440 )
  424. emitting = true
  425. amount = 64
  426. lifetime = 2.0
  427. one_shot = false
  428. preprocess = 0.1
  429. speed_scale = 1.0
  430. explosiveness = 0.0
  431. randomness = 1.0
  432. fixed_fps = 0
  433. fract_delta = true
  434. visibility_rect = Rect2( -100, -100, 200, 200 )
  435. local_coords = true
  436. draw_order = 0
  437. process_material = SubResource( 17 )
  438. texture = ExtResource( 3 )
  439. normal_map = null
  440. h_frames = 1
  441. v_frames = 1
  442. _sections_unfolded = [ "Textures" ]
  443. [node name="Explosion" type="Particles2D" parent="." index="3"]
  444. material = SubResource( 18 )
  445. position = Vector2( 613.467, 182.62 )
  446. rotation = 3.13794
  447. emitting = true
  448. amount = 16
  449. lifetime = 2.0
  450. one_shot = false
  451. preprocess = 0.0
  452. speed_scale = 1.0
  453. explosiveness = 1.0
  454. randomness = 0.0
  455. fixed_fps = 0
  456. fract_delta = true
  457. visibility_rect = Rect2( -100, -100, 200, 200 )
  458. local_coords = true
  459. draw_order = 0
  460. process_material = SubResource( 25 )
  461. texture = ExtResource( 2 )
  462. normal_map = null
  463. h_frames = 1
  464. v_frames = 1
  465. _sections_unfolded = [ "Textures" ]
  466. [node name="Emit_Mask" type="Particles2D" parent="." index="4"]
  467. position = Vector2( 42, -68 )
  468. emitting = true
  469. amount = 180
  470. lifetime = 0.2
  471. one_shot = false
  472. preprocess = 0.0
  473. speed_scale = 1.0
  474. explosiveness = 0.0
  475. randomness = 0.0
  476. fixed_fps = 0
  477. fract_delta = true
  478. visibility_rect = Rect2( 26.0055, 90.0015, 199.176, 95.0445 )
  479. local_coords = true
  480. draw_order = 0
  481. process_material = SubResource( 28 )
  482. texture = ExtResource( 3 )
  483. normal_map = null
  484. h_frames = 1
  485. v_frames = 1
  486. _sections_unfolded = [ "Process Material", "Textures" ]
  487. [node name="Outline_Mask" type="Particles2D" parent="." index="5"]
  488. position = Vector2( 42, 52 )
  489. emitting = true
  490. amount = 180
  491. lifetime = 0.2
  492. one_shot = false
  493. preprocess = 0.0
  494. speed_scale = 1.0
  495. explosiveness = 0.0
  496. randomness = 0.0
  497. fixed_fps = 0
  498. fract_delta = true
  499. visibility_rect = Rect2( 26.0055, 90.0015, 199.176, 95.0445 )
  500. local_coords = true
  501. draw_order = 0
  502. process_material = SubResource( 31 )
  503. texture = ExtResource( 3 )
  504. normal_map = null
  505. h_frames = 1
  506. v_frames = 1
  507. _sections_unfolded = [ "Process Material", "Textures" ]
  508. [node name="Direction_Mask" type="Particles2D" parent="." index="6"]
  509. position = Vector2( 40, 180 )
  510. emitting = true
  511. amount = 180
  512. lifetime = 0.2
  513. one_shot = false
  514. preprocess = 0.0
  515. speed_scale = 1.0
  516. explosiveness = 0.0
  517. randomness = 0.0
  518. fixed_fps = 0
  519. fract_delta = true
  520. visibility_rect = Rect2( 26.0055, 90.0015, 199.176, 95.0445 )
  521. local_coords = true
  522. draw_order = 0
  523. process_material = SubResource( 36 )
  524. texture = ExtResource( 3 )
  525. normal_map = null
  526. h_frames = 1
  527. v_frames = 1
  528. _sections_unfolded = [ "Process Material", "Textures" ]