33 lines
884 B
Plaintext
33 lines
884 B
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://cq2qq7q4u7mx1"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/attack.gd" id="1_ag1vs"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_0cret"]
|
|
radius = 16.0
|
|
|
|
[node name="Attack" type="Node2D"]
|
|
script = ExtResource("1_ag1vs")
|
|
|
|
[node name="CPUParticles2D" type="CPUParticles2D" parent="."]
|
|
emitting = false
|
|
amount = 120
|
|
lifetime = 0.25
|
|
one_shot = true
|
|
explosiveness = 1.0
|
|
randomness = 0.05
|
|
emission_shape = 1
|
|
emission_sphere_radius = 4.0
|
|
spread = 180.0
|
|
gravity = Vector2(0, 0)
|
|
initial_velocity_min = 56.0
|
|
initial_velocity_max = 60.0
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
collision_layer = 0
|
|
collision_mask = 2
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
shape = SubResource("CircleShape2D_0cret")
|
|
|
|
[connection signal="finished" from="CPUParticles2D" to="." method="_on_cpu_particles_2d_finished"]
|