25 lines
964 B
Plaintext
25 lines
964 B
Plaintext
[gd_scene format=3 uid="uid://cevk7yax5tvej"]
|
|
|
|
[ext_resource type="Script" uid="uid://dm2gyxmgwbmg8" path="res://Attack.cs" id="1_63pi1"]
|
|
[ext_resource type="Texture2D" uid="uid://nwj4n7if8kqd" path="res://circle25r.png" id="2_hqc8w"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_7yfhp"]
|
|
radius = 25.0
|
|
|
|
[node name="Attack" type="RigidBody2D" unique_id=1225359241]
|
|
scale = Vector2(0.56, 0.56)
|
|
input_pickable = true
|
|
contact_monitor = true
|
|
max_contacts_reported = 100
|
|
script = ExtResource("1_63pi1")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1448070524]
|
|
shape = SubResource("CircleShape2D_7yfhp")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1583277900]
|
|
texture = ExtResource("2_hqc8w")
|
|
|
|
[connection signal="body_entered" from="." to="." method="TakeAction"]
|
|
[connection signal="mouse_entered" from="." to="." method="OnMouseEntered"]
|
|
[connection signal="mouse_exited" from="." to="." method="OnMouseExited"]
|