Pārlūkot izejas kodu

:robot: Godot lines shuffle

Nothing changed but the Godot internal.
DricomDragon 1 gadu atpakaļ
vecāks
revīzija
4234263e25
2 mainītis faili ar 6 papildinājumiem un 5 dzēšanām
  1. 4 3
      godot/main.tscn
  2. 2 2
      godot/project.godot

+ 4 - 3
godot/main.tscn

@@ -80,19 +80,20 @@ script = ExtResource( 10 )
 
 [node name="PauseMessage" parent="UI/PausePopup" instance=ExtResource( 1 )]
 message = "PAUSE"
-[connection signal="start_new_game" from="." to="Grid" method="_on_Game_start_new_game"]
+
 [connection signal="start_new_game" from="." to="Launcher" method="_on_Game_start_new_game"]
+[connection signal="start_new_game" from="." to="Grid" method="_on_Game_start_new_game"]
 [connection signal="start_new_game" from="." to="UI/GameOverPanel" method="hide"]
 [connection signal="start_new_game" from="." to="UI/ScoreCounter" method="reset_counter"]
 [connection signal="start_new_game" from="." to="UI/BallCounter" method="reset_counter"]
 [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="DeadLine" method="_on_Grid_has_moved"]
 [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="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"]
 [connection signal="game_lost" from="DeadLine" to="." method="_on_game_lost"]
+[connection signal="game_lost" from="DeadLine" to="Launcher" method="_on_DeadLine_game_lost"]
 [connection signal="game_lost" from="DeadLine" to="UI" method="_on_DeadLine_game_lost"]
 [connection signal="popup_hide" from="UI/PausePopup" to="UI/PausePopup" method="_on_self_popup_hide"]

+ 2 - 2
godot/project.godot

@@ -129,8 +129,8 @@ window/stretch/aspect="keep"
 
 ui_home={
 "deadzone": 0.5,
-"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":80,"unicode":0,"echo":false,"script":null)
-, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777229,"unicode":0,"echo":false,"script":null)
+"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":80,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
+, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777229,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
  ]
 }