Browse Source

:wrench: Allow the window to be resizable

Hello folks with high resolution display, I'm your eyes savior.
DricomDragon 2 years ago
parent
commit
910087e08e
2 changed files with 3 additions and 2 deletions
  1. 1 1
      godot/main.tscn
  2. 2 1
      godot/project.godot

+ 1 - 1
godot/main.tscn

@@ -60,8 +60,8 @@ title = "Balls"
 [connection signal="gain_new_bullet" from="Launcher" to="UI/BallCounter" method="increase_counter"]
 [connection signal="get_firing" from="Launcher" to="UI" method="_on_Launcher_get_firing"]
 [connection signal="is_full" from="Launcher" to="Grid" method="_on_Launcher_is_full"]
-[connection signal="has_moved" from="Grid" to="Launcher" method="_on_Grid_has_moved"]
 [connection signal="has_moved" from="Grid" to="DeadLine" method="_on_Grid_has_moved"]
+[connection signal="has_moved" from="Grid" to="Launcher" method="_on_Grid_has_moved"]
 [connection signal="kace_broken" from="Grid" to="Launcher" method="_on_Grid_kace_broken"]
 [connection signal="kace_damaged" from="Grid" to="UI/ScoreCounter" method="increase_counter"]
 [connection signal="game_lost" from="DeadLine" to="Launcher" method="_on_DeadLine_game_lost"]

+ 2 - 1
godot/project.godot

@@ -113,10 +113,11 @@ config/icon="res://icon.png"
 
 window/size/width=400
 window/size/height=400
-window/size/resizable=false
 window/size/test_width=400
 window/size/test_height=400
 window/handheld/orientation="portrait"
+window/stretch/mode="2d"
+window/stretch/aspect="keep"
 
 [layer_names]