Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / bullet / explode / Explode0001.tscn
  1. [gd_scene load_steps=26 format=3 uid="uid://cw3c600m8rv6t"]
  2.  
  3. [ext_resource type="Texture2D" uid="uid://h7hkgbwj1li" path="res://resource/sprite/common/Smoke.png" id="1_ctx3v"]
  4. [ext_resource type="Script" path="res://src/game/activity/bullet/explode/Explode.cs" id="1_qn5pu"]
  5. [ext_resource type="Texture2D" uid="uid://ccdflg560oub6" path="res://resource/sprite/explode/Explode_circle0001.png" id="2_bpdnr"]
  6. [ext_resource type="Texture2D" uid="uid://rk73piti0qot" path="res://resource/sprite/common/Smoke2.png" id="3_xt36q"]
  7. [ext_resource type="Texture2D" uid="uid://cquv6nomd3tpf" path="res://resource/sprite/explode/Explode_line0001.png" id="4_i3ry2"]
  8.  
  9. [sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_sk5lv"]
  10. particles_animation = true
  11. particles_anim_h_frames = 3
  12. particles_anim_v_frames = 1
  13. particles_anim_loop = false
  14.  
  15. [sub_resource type="Gradient" id="Gradient_r2jo0"]
  16. offsets = PackedFloat32Array(0.196911, 0.787645)
  17. colors = PackedColorArray(0.862745, 0.862745, 0.862745, 0.741176, 0.34902, 0.34902, 0.34902, 0.933333)
  18.  
  19. [sub_resource type="GradientTexture1D" id="GradientTexture1D_1neuh"]
  20. gradient = SubResource("Gradient_r2jo0")
  21.  
  22. [sub_resource type="Curve" id="Curve_2xqp4"]
  23. _data = [Vector2(0, 0.516483), 0.0, 2.31551, 0, 0, Vector2(0.602787, 1), 0.0, 0.0, 0, 0, Vector2(1, 0.274725), 0.0, 0.0, 0, 0]
  24. point_count = 3
  25.  
  26. [sub_resource type="CurveTexture" id="CurveTexture_lbho4"]
  27. curve = SubResource("Curve_2xqp4")
  28.  
  29. [sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_8sxfm"]
  30. particle_flag_disable_z = true
  31. emission_shape = 3
  32. emission_box_extents = Vector3(5, 5, 5)
  33. spread = 180.0
  34. initial_velocity_max = 30.0
  35. gravity = Vector3(0, 0, 0)
  36. damping_max = 3.0
  37. scale_min = 0.5
  38. scale_curve = SubResource("CurveTexture_lbho4")
  39. color_ramp = SubResource("GradientTexture1D_1neuh")
  40. anim_offset_max = 1.0
  41.  
  42. [sub_resource type="Gradient" id="Gradient_36yod"]
  43. offsets = PackedFloat32Array(0.196911, 0.791506)
  44. colors = PackedColorArray(0.215686, 0.215686, 0.215686, 0.709804, 0.0196078, 0.0196078, 0.0196078, 0.537255)
  45.  
  46. [sub_resource type="GradientTexture1D" id="GradientTexture1D_d3vr4"]
  47. gradient = SubResource("Gradient_36yod")
  48.  
  49. [sub_resource type="Curve" id="Curve_dvd5q"]
  50. _data = [Vector2(0, 0.516483), 0.0, 2.31551, 0, 0, Vector2(0.602787, 1), 0.0, 0.0, 0, 0, Vector2(1, 0.274725), 0.0, 0.0, 0, 0]
  51. point_count = 3
  52.  
  53. [sub_resource type="CurveTexture" id="CurveTexture_anl6y"]
  54. curve = SubResource("Curve_dvd5q")
  55.  
  56. [sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_h3c43"]
  57. particle_flag_disable_z = true
  58. emission_shape = 3
  59. emission_box_extents = Vector3(4, 4, 4)
  60. spread = 180.0
  61. initial_velocity_max = 25.0
  62. gravity = Vector3(0, 0, 0)
  63. damping_max = 3.0
  64. scale_min = 1.3
  65. scale_max = 2.5
  66. scale_curve = SubResource("CurveTexture_anl6y")
  67. color_ramp = SubResource("GradientTexture1D_d3vr4")
  68. anim_offset_max = 1.0
  69.  
  70. [sub_resource type="Gradient" id="Gradient_wcvi2"]
  71. offsets = PackedFloat32Array(0, 0.135135, 0.498069, 0.72973, 0.888031)
  72. colors = PackedColorArray(1, 1, 1, 1, 0.976471, 0.862745, 0.34902, 0.843137, 1, 0.501961, 0.101961, 0.839216, 1, 0, 0, 0.690196, 0, 0, 0, 0.490196)
  73.  
  74. [sub_resource type="GradientTexture1D" id="GradientTexture1D_ftewy"]
  75. gradient = SubResource("Gradient_wcvi2")
  76.  
  77. [sub_resource type="Curve" id="Curve_d4xab"]
  78. _data = [Vector2(0, 0.318681), 0.0, 0.0, 0, 0, Vector2(0.146341, 1), 0.0, 0.0, 0, 0, Vector2(1, 0.120879), 0.0, 0.0, 0, 0]
  79. point_count = 3
  80.  
  81. [sub_resource type="CurveTexture" id="CurveTexture_pdvs3"]
  82. curve = SubResource("Curve_d4xab")
  83.  
  84. [sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_j41d3"]
  85. lifetime_randomness = 0.5
  86. particle_flag_disable_z = true
  87. spread = 180.0
  88. initial_velocity_max = 30.0
  89. gravity = Vector3(0, 0, 0)
  90. damping_min = 0.5
  91. damping_max = 3.0
  92. scale_max = 2.0
  93. scale_curve = SubResource("CurveTexture_pdvs3")
  94. color_ramp = SubResource("GradientTexture1D_ftewy")
  95. anim_offset_max = 1.0
  96.  
  97. [sub_resource type="CircleShape2D" id="CircleShape2D_isein"]
  98. resource_local_to_scene = true
  99.  
  100. [sub_resource type="Animation" id="Animation_20asn"]
  101. length = 0.001
  102. tracks/0/type = "value"
  103. tracks/0/imported = false
  104. tracks/0/enabled = true
  105. tracks/0/path = NodePath("Circle:visible")
  106. tracks/0/interp = 1
  107. tracks/0/loop_wrap = true
  108. tracks/0/keys = {
  109. "times": PackedFloat32Array(0),
  110. "transitions": PackedFloat32Array(1),
  111. "update": 1,
  112. "values": [true]
  113. }
  114. tracks/1/type = "value"
  115. tracks/1/imported = false
  116. tracks/1/enabled = true
  117. tracks/1/path = NodePath("Circle:frame")
  118. tracks/1/interp = 1
  119. tracks/1/loop_wrap = true
  120. tracks/1/keys = {
  121. "times": PackedFloat32Array(0),
  122. "transitions": PackedFloat32Array(1),
  123. "update": 1,
  124. "values": [0]
  125. }
  126. tracks/2/type = "value"
  127. tracks/2/imported = false
  128. tracks/2/enabled = true
  129. tracks/2/path = NodePath("Line:visible")
  130. tracks/2/interp = 1
  131. tracks/2/loop_wrap = true
  132. tracks/2/keys = {
  133. "times": PackedFloat32Array(0),
  134. "transitions": PackedFloat32Array(1),
  135. "update": 1,
  136. "values": [true]
  137. }
  138. tracks/3/type = "value"
  139. tracks/3/imported = false
  140. tracks/3/enabled = true
  141. tracks/3/path = NodePath("Line:frame")
  142. tracks/3/interp = 1
  143. tracks/3/loop_wrap = true
  144. tracks/3/keys = {
  145. "times": PackedFloat32Array(0),
  146. "transitions": PackedFloat32Array(1),
  147. "update": 1,
  148. "values": [0]
  149. }
  150. tracks/4/type = "value"
  151. tracks/4/imported = false
  152. tracks/4/enabled = true
  153. tracks/4/path = NodePath("ParticlesSmoke2:emitting")
  154. tracks/4/interp = 1
  155. tracks/4/loop_wrap = true
  156. tracks/4/keys = {
  157. "times": PackedFloat32Array(0),
  158. "transitions": PackedFloat32Array(1),
  159. "update": 1,
  160. "values": [false]
  161. }
  162. tracks/5/type = "value"
  163. tracks/5/imported = false
  164. tracks/5/enabled = true
  165. tracks/5/path = NodePath("ParticlesFire:emitting")
  166. tracks/5/interp = 1
  167. tracks/5/loop_wrap = true
  168. tracks/5/keys = {
  169. "times": PackedFloat32Array(0),
  170. "transitions": PackedFloat32Array(1),
  171. "update": 1,
  172. "values": [false]
  173. }
  174. tracks/6/type = "value"
  175. tracks/6/imported = false
  176. tracks/6/enabled = true
  177. tracks/6/path = NodePath("ParticlesSmoke:emitting")
  178. tracks/6/interp = 1
  179. tracks/6/loop_wrap = true
  180. tracks/6/keys = {
  181. "times": PackedFloat32Array(0),
  182. "transitions": PackedFloat32Array(1),
  183. "update": 1,
  184. "values": [false]
  185. }
  186. tracks/7/type = "value"
  187. tracks/7/imported = false
  188. tracks/7/enabled = true
  189. tracks/7/path = NodePath("CollisionShape2D:disabled")
  190. tracks/7/interp = 1
  191. tracks/7/loop_wrap = true
  192. tracks/7/keys = {
  193. "times": PackedFloat32Array(0),
  194. "transitions": PackedFloat32Array(1),
  195. "update": 1,
  196. "values": [false]
  197. }
  198.  
  199. [sub_resource type="Animation" id="Animation_j6a2s"]
  200. resource_name = "play"
  201. length = 4.0
  202. step = 0.05
  203. tracks/0/type = "value"
  204. tracks/0/imported = false
  205. tracks/0/enabled = true
  206. tracks/0/path = NodePath("Circle:visible")
  207. tracks/0/interp = 1
  208. tracks/0/loop_wrap = true
  209. tracks/0/keys = {
  210. "times": PackedFloat32Array(0, 0.55),
  211. "transitions": PackedFloat32Array(1, 1),
  212. "update": 1,
  213. "values": [true, false]
  214. }
  215. tracks/1/type = "value"
  216. tracks/1/imported = false
  217. tracks/1/enabled = true
  218. tracks/1/path = NodePath("Circle:frame")
  219. tracks/1/interp = 1
  220. tracks/1/loop_wrap = true
  221. tracks/1/keys = {
  222. "times": PackedFloat32Array(0, 0.5),
  223. "transitions": PackedFloat32Array(1, 1),
  224. "update": 0,
  225. "values": [0, 6]
  226. }
  227. tracks/2/type = "value"
  228. tracks/2/imported = false
  229. tracks/2/enabled = true
  230. tracks/2/path = NodePath("Line:visible")
  231. tracks/2/interp = 1
  232. tracks/2/loop_wrap = true
  233. tracks/2/keys = {
  234. "times": PackedFloat32Array(0.15, 0.45),
  235. "transitions": PackedFloat32Array(1, 1),
  236. "update": 1,
  237. "values": [true, false]
  238. }
  239. tracks/3/type = "value"
  240. tracks/3/imported = false
  241. tracks/3/enabled = true
  242. tracks/3/path = NodePath("Line:frame")
  243. tracks/3/interp = 1
  244. tracks/3/loop_wrap = true
  245. tracks/3/keys = {
  246. "times": PackedFloat32Array(0.15, 0.4),
  247. "transitions": PackedFloat32Array(1, 1),
  248. "update": 0,
  249. "values": [0, 5]
  250. }
  251. tracks/4/type = "value"
  252. tracks/4/imported = false
  253. tracks/4/enabled = true
  254. tracks/4/path = NodePath("ParticlesSmoke2:emitting")
  255. tracks/4/interp = 1
  256. tracks/4/loop_wrap = true
  257. tracks/4/keys = {
  258. "times": PackedFloat32Array(0.15),
  259. "transitions": PackedFloat32Array(1),
  260. "update": 1,
  261. "values": [true]
  262. }
  263. tracks/5/type = "value"
  264. tracks/5/imported = false
  265. tracks/5/enabled = true
  266. tracks/5/path = NodePath("ParticlesFire:emitting")
  267. tracks/5/interp = 1
  268. tracks/5/loop_wrap = true
  269. tracks/5/keys = {
  270. "times": PackedFloat32Array(0),
  271. "transitions": PackedFloat32Array(1),
  272. "update": 1,
  273. "values": [true]
  274. }
  275. tracks/6/type = "value"
  276. tracks/6/imported = false
  277. tracks/6/enabled = true
  278. tracks/6/path = NodePath("ParticlesSmoke:emitting")
  279. tracks/6/interp = 1
  280. tracks/6/loop_wrap = true
  281. tracks/6/keys = {
  282. "times": PackedFloat32Array(0.15),
  283. "transitions": PackedFloat32Array(1),
  284. "update": 1,
  285. "values": [true]
  286. }
  287. tracks/7/type = "value"
  288. tracks/7/imported = false
  289. tracks/7/enabled = true
  290. tracks/7/path = NodePath("CollisionShape2D:disabled")
  291. tracks/7/interp = 1
  292. tracks/7/loop_wrap = true
  293. tracks/7/keys = {
  294. "times": PackedFloat32Array(0, 0.2),
  295. "transitions": PackedFloat32Array(1, 1),
  296. "update": 1,
  297. "values": [false, true]
  298. }
  299.  
  300. [sub_resource type="AnimationLibrary" id="AnimationLibrary_p6l6x"]
  301. _data = {
  302. "RESET": SubResource("Animation_20asn"),
  303. "play": SubResource("Animation_j6a2s")
  304. }
  305.  
  306. [node name="Explode0001" type="Area2D"]
  307. modulate = Color(1.3, 1.3, 1.3, 1)
  308. z_index = 1
  309. collision_layer = 0
  310. collision_mask = 0
  311. monitorable = false
  312. script = ExtResource("1_qn5pu")
  313.  
  314. [node name="ParticlesSmoke" type="GPUParticles2D" parent="."]
  315. material = SubResource("CanvasItemMaterial_sk5lv")
  316. emitting = false
  317. process_material = SubResource("ParticleProcessMaterial_8sxfm")
  318. texture = ExtResource("3_xt36q")
  319. one_shot = true
  320. explosiveness = 0.6
  321. randomness = 1.0
  322.  
  323. [node name="ParticlesSmoke2" type="GPUParticles2D" parent="."]
  324. material = SubResource("CanvasItemMaterial_sk5lv")
  325. emitting = false
  326. amount = 10
  327. process_material = SubResource("ParticleProcessMaterial_h3c43")
  328. texture = ExtResource("1_ctx3v")
  329. one_shot = true
  330. explosiveness = 0.6
  331. randomness = 1.0
  332.  
  333. [node name="ParticlesFire" type="GPUParticles2D" parent="."]
  334. material = SubResource("CanvasItemMaterial_sk5lv")
  335. emitting = false
  336. amount = 25
  337. process_material = SubResource("ParticleProcessMaterial_j41d3")
  338. texture = ExtResource("1_ctx3v")
  339. one_shot = true
  340. explosiveness = 0.7
  341. randomness = 1.0
  342.  
  343. [node name="Circle" type="Sprite2D" parent="."]
  344. texture = ExtResource("2_bpdnr")
  345. hframes = 7
  346.  
  347. [node name="Line" type="Sprite2D" parent="."]
  348. texture = ExtResource("4_i3ry2")
  349. hframes = 6
  350.  
  351. [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
  352. shape = SubResource("CircleShape2D_isein")
  353.  
  354. [node name="AnimationPlayer" type="AnimationPlayer" parent="."]
  355. libraries = {
  356. "": SubResource("AnimationLibrary_p6l6x")
  357. }