Tuesday, 16 September 2025 12:26:13
This commit is contained in:
@@ -4,12 +4,16 @@
|
||||
[ext_resource type="Texture2D" uid="uid://dmispjd3fmmks" path="res://art/worker_test.png" id="2_m3kx1"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_4poc8"]
|
||||
radius = 25.0799
|
||||
radius = 16.0
|
||||
|
||||
[node name="Worker" type="CharacterBody2D"]
|
||||
input_pickable = true
|
||||
[node name="Worker" type="Area2D"]
|
||||
script = ExtResource("1_e314i")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture_filter = 1
|
||||
scale = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("2_m3kx1")
|
||||
|
||||
[node name="HealthBar" type="ProgressBar" parent="."]
|
||||
visible = false
|
||||
top_level = true
|
||||
@@ -20,14 +24,10 @@ step = 1.0
|
||||
[node name="Bounds" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("CircleShape2D_4poc8")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture_filter = 1
|
||||
scale = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("2_m3kx1")
|
||||
|
||||
[node name="Actions" type="Node" parent="."]
|
||||
|
||||
[node name="Conditions" type="Node" parent="."]
|
||||
|
||||
[connection signal="area_entered" from="." to="." method="OnAreaEntered"]
|
||||
[connection signal="mouse_entered" from="." to="." method="OnMouseEntered"]
|
||||
[connection signal="mouse_exited" from="." to="." method="OnMouseExited"]
|
||||
|
||||
Reference in New Issue
Block a user