Commit 31e9b477 authored by Gerard Gascón's avatar Gerard Gascón
Browse files

feat: more realistic time intervals for dragon spawn

parent 787344e5
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -10,7 +10,8 @@ size = Vector2(108, 108)
script = ExtResource("1_jccds")
dragon = NodePath("CollisionShape2D/Dragon")
animation_duration = 7.0
max_exit_time = 10.0
min_exit_time = 60.0
max_exit_time = 600.0

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(-2, -4)
+2 −2
Original line number Diff line number Diff line
@@ -24,8 +24,8 @@ NodePath("DragonSpot1"): NodePath("DragonSpot1/StartSpot"),
NodePath("DragonSpot2"): NodePath("DragonSpot2/StartSpot"),
NodePath("DragonSpot3"): NodePath("DragonSpot3/StartSpot")
}
min_dragon_instantiation_time = 2.0
max_dragon_instantiation_time = 10.0
min_dragon_instantiation_time = 60.0
max_dragon_instantiation_time = 600.0

[node name="CanvasLayer" type="CanvasLayer" parent="."]