feat: more realistic time intervals for dragon spawn
This commit is contained in:
parent
787344e5e4
commit
31e9b4770b
2 changed files with 4 additions and 3 deletions
|
@ -10,7 +10,8 @@ size = Vector2(108, 108)
|
||||||
script = ExtResource("1_jccds")
|
script = ExtResource("1_jccds")
|
||||||
dragon = NodePath("CollisionShape2D/Dragon")
|
dragon = NodePath("CollisionShape2D/Dragon")
|
||||||
animation_duration = 7.0
|
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="."]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||||
position = Vector2(-2, -4)
|
position = Vector2(-2, -4)
|
||||||
|
|
|
@ -24,8 +24,8 @@ NodePath("DragonSpot1"): NodePath("DragonSpot1/StartSpot"),
|
||||||
NodePath("DragonSpot2"): NodePath("DragonSpot2/StartSpot"),
|
NodePath("DragonSpot2"): NodePath("DragonSpot2/StartSpot"),
|
||||||
NodePath("DragonSpot3"): NodePath("DragonSpot3/StartSpot")
|
NodePath("DragonSpot3"): NodePath("DragonSpot3/StartSpot")
|
||||||
}
|
}
|
||||||
min_dragon_instantiation_time = 2.0
|
min_dragon_instantiation_time = 60.0
|
||||||
max_dragon_instantiation_time = 10.0
|
max_dragon_instantiation_time = 600.0
|
||||||
|
|
||||||
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue