ft: switch to click movement

This commit is contained in:
djaidjai committed 2026-03-07 14:35:07 +01:00
1 parent a59255d9d6
commit 01f1b52086
9 files changed
+50 -19

No files matched your search

@@ -59,6 +59,7 @@ maxHealth = 20
scale = Vector2(0.2, 0.2)
collision_layer = 2
collision_mask = 5
input_pickable = true
script = ExtResource("3_teu34")
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Collision" index="0" unique_id=1471691984]
@@ -109,6 +110,7 @@ script = ExtResource("12_ubfhk")
[node name="Timer" type="Timer" parent="StateMachine/Idle" index="0" unique_id=1050348256]
one_shot = true
[connection signal="input_event" from="Collision" to="." method="_on_collision_input_event"]
[connection signal="body_entered" from="Collision/Sight" to="." method="_on_sight_body_entered"]
[connection signal="timeout" from="StateMachine/RandomMovement/Timer" to="StateMachine/RandomMovement" method="_on_timer_timeout"]
[connection signal="timeout" from="StateMachine/Idle/Timer" to="StateMachine/Idle" method="_on_timer_timeout"]
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.