added green attack, enemy
This commit is contained in:
parent
f852b0a30e
commit
2bf9db610e
43 changed files with 673 additions and 246 deletions
30
scenes/green_explosion.tscn
Normal file
30
scenes/green_explosion.tscn
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
[gd_scene format=3 uid="uid://dqu37r80dlxao"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://d1ybbm5tk1tbd" path="res://assets/vfx/particle_star.png" id="1_rocpj"]
|
||||
|
||||
[sub_resource type="Curve" id="Curve_mb78c"]
|
||||
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0]
|
||||
point_count = 2
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_68us8"]
|
||||
offsets = PackedFloat32Array(0, 0.61440676, 1)
|
||||
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0)
|
||||
|
||||
[node name="GreenExplosion" type="CPUParticles2D" unique_id=490180742]
|
||||
emitting = false
|
||||
amount = 120
|
||||
texture = ExtResource("1_rocpj")
|
||||
one_shot = true
|
||||
explosiveness = 1.0
|
||||
spread = 180.0
|
||||
gravity = Vector2(0, -100)
|
||||
initial_velocity_max = 86.95
|
||||
damping_min = 100.0
|
||||
damping_max = 100.0
|
||||
damping_curve = SubResource("Curve_mb78c")
|
||||
angle_min = -386.1
|
||||
angle_max = 427.8
|
||||
scale_amount_min = 2.0
|
||||
scale_amount_max = 4.0
|
||||
color = Color(0.6155507, 1, 0.45411357, 1)
|
||||
color_ramp = SubResource("Gradient_68us8")
|
||||
Loading…
Add table
Add a link
Reference in a new issue