feat: make dragon exit after some time

This commit is contained in:
Gerard Gascón 2025-04-09 20:45:14 +02:00
parent 4f5ad345ad
commit 1378252483
3 changed files with 30 additions and 1 deletions

View file

@ -10,6 +10,8 @@ size = Vector2(128, 128)
script = ExtResource("1_jccds")
dragon = NodePath("CollisionShape2D/Dragon")
animation_duration = 10.0
min_exit_time = 60.0
max_exit_time = 600.0
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0, 1)