mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:35:34 +00:00
Death and Rebirth
This commit is contained in:
parent
ba21b30a4d
commit
be52d0e081
11 changed files with 309 additions and 83 deletions
28
Scenes/Particles/DeathParticles.tscn
Normal file
28
Scenes/Particles/DeathParticles.tscn
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://biugfbp0yae2s"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cybpmpb0d8yva" path="res://Sprites/Projectile.png" id="1_7tn7y"]
|
||||
[ext_resource type="Script" path="res://Scripts/Components/AutodeleteParticle.cs" id="2_2y1ka"]
|
||||
[ext_resource type="AudioStream" uid="uid://euu22u5vf3gc" path="res://SFX/pldead00.wav" id="3_q7v7h"]
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_nmvck"]
|
||||
particle_flag_disable_z = true
|
||||
radial_velocity_min = -2.23517e-05
|
||||
radial_velocity_max = 360.0
|
||||
gravity = Vector3(0, 0, 0)
|
||||
scale_min = 4.0
|
||||
scale_max = 4.0
|
||||
|
||||
[node name="DeathParticles" type="GPUParticles2D"]
|
||||
emitting = false
|
||||
amount = 16
|
||||
process_material = SubResource("ParticleProcessMaterial_nmvck")
|
||||
texture = ExtResource("1_7tn7y")
|
||||
one_shot = true
|
||||
script = ExtResource("2_2y1ka")
|
||||
LifeTime = 3.0
|
||||
AutoStart = true
|
||||
|
||||
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
|
||||
stream = ExtResource("3_q7v7h")
|
||||
volume_db = -15.078
|
||||
autoplay = true
|
||||
Loading…
Add table
Add a link
Reference in a new issue