diff --git a/src/Menus/TitleScreen/TitleScreen.tscn b/src/Menus/TitleScreen/TitleScreen.tscn index 0a5e402..f9889f0 100644 --- a/src/Menus/TitleScreen/TitleScreen.tscn +++ b/src/Menus/TitleScreen/TitleScreen.tscn @@ -187,6 +187,8 @@ __meta__ = { } [node name="NewGameButton" parent="VBoxContainer" instance=ExtResource( 1 )] +anchor_left = 1.25 +anchor_right = 1.25 margin_right = 117.0 scene_to_load = "res://World.tscn" @@ -194,6 +196,8 @@ scene_to_load = "res://World.tscn" text = "New Game" [node name="CreditsButton" parent="VBoxContainer" instance=ExtResource( 1 )] +anchor_left = 1.25 +anchor_right = 1.25 margin_top = 24.0 margin_right = 117.0 margin_bottom = 44.0 @@ -203,6 +207,8 @@ scene_to_load = "res://Menus/Credits/Credits.tscn" text = "Credits" [node name="QuitButton" parent="VBoxContainer" instance=ExtResource( 1 )] +anchor_left = 1.25 +anchor_right = 1.25 margin_top = 48.0 margin_right = 117.0 margin_bottom = 68.0 @@ -210,6 +216,7 @@ quit = true [node name="Label" parent="VBoxContainer/QuitButton" index="0"] text = "Quit" +[connection signal="animation_finished" from="AnimationPlayer" to="." method="_on_AnimationPlayer_animation_finished"] [editable path="VBoxContainer/NewGameButton"] diff --git a/src/World.gd b/src/World.gd index 7a8ab0b..3d27c6f 100644 --- a/src/World.gd +++ b/src/World.gd @@ -3,7 +3,7 @@ extends Node2D export(int) var WinRounds= 10 export(PackedScene) var HeroTemplate export(Vector2) var InitialSpawnPoint=Vector2(344,125) -export(Rect2) var SpawnBoxRange=Rect2(40,40,450,180) +export(Rect2) var SpawnBoxRange=Rect2(40,40,450,140) export(float) var MinDistanceToBoss=100.0