working on aiming
This commit is contained in:
@@ -3,6 +3,9 @@
|
||||
[ext_resource type="Script" uid="uid://dm2gyxmgwbmg8" path="res://Attack.cs" id="1_63pi1"]
|
||||
[ext_resource type="Texture2D" uid="uid://nwj4n7if8kqd" path="res://Art/circle25r.png" id="2_hqc8w"]
|
||||
|
||||
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_63pi1"]
|
||||
bounce = 0.25
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_7yfhp"]
|
||||
radius = 8.0
|
||||
|
||||
@@ -10,6 +13,7 @@ radius = 8.0
|
||||
|
||||
[node name="Attack" type="RigidBody2D" unique_id=1225359241]
|
||||
input_pickable = true
|
||||
physics_material_override = SubResource("PhysicsMaterial_63pi1")
|
||||
contact_monitor = true
|
||||
max_contacts_reported = 100
|
||||
script = ExtResource("1_63pi1")
|
||||
@@ -23,6 +27,7 @@ texture = ExtResource("2_hqc8w")
|
||||
|
||||
[node name="PredictedPath" type="Path2D" parent="." unique_id=1505290715]
|
||||
modulate = Color(1, 0, 1, 1)
|
||||
top_level = true
|
||||
curve = SubResource("Curve2D_63pi1")
|
||||
|
||||
[connection signal="body_entered" from="." to="." method="TakeAction"]
|
||||
|
||||
Reference in New Issue
Block a user