File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -31,12 +31,13 @@ func on_board_match_multi(match_cnt:int):
3131 if match_cnt >= 2 :
3232 animation_player .play ("show_msg_amazing" )
3333
34- func _on_newgame_button_pressed ():
34+ func _on_btn_newgame_pressed ():
3535 game_board .new_game ()
3636
37- func _on_btn_clear_debug_labels_pressed ():
37+ func _on_btn_quit_game ():
38+ # TODO: 20240515: convert to `signal()` for Main.tscn to hide all boards, etc.
3839 visible = false
3940
40- func _on_btn_make_vert_pressed ():
41+ func _on_btn_checkerboard ():
4142 game_board .debug_make_gem_grid ()
4243 # game_board.debug_make_match_col()
Original file line number Diff line number Diff line change @@ -417,15 +417,15 @@ text = "Quit"
417417horizontal_alignment = 1
418418vertical_alignment = 1
419419
420- [node name ="BtnMatchCol " type ="TextureButton" parent ="." ]
420+ [node name ="BtnCheckerboard " type ="TextureButton" parent ="." ]
421421offset_left = 1656.0
422422offset_top = 519.0
423423offset_right = 2815.0
424424offset_bottom = 877.0
425425scale = Vector2 (0.25 , 0.25 )
426426texture_normal = ExtResource ("17_oxovp" )
427427
428- [node name ="Label" type ="Label" parent ="BtnMatchCol " ]
428+ [node name ="Label" type ="Label" parent ="BtnCheckerboard " ]
429429layout_mode = 1
430430anchors_preset = 15
431431anchor_right = 1.0
@@ -512,6 +512,6 @@ scroll_active = false
512512autowrap_mode = 0
513513shortcut_keys_enabled = false
514514
515- [connection signal ="pressed" from ="BtnNewGame" to ="." method ="_on_newgame_button_pressed " ]
516- [connection signal ="pressed" from ="BtnQuitGame" to ="." method ="_on_btn_clear_debug_labels_pressed " ]
517- [connection signal ="pressed" from ="BtnMatchCol " to ="." method ="_on_btn_make_vert_pressed " ]
515+ [connection signal ="pressed" from ="BtnNewGame" to ="." method ="_on_btn_newgame_pressed " ]
516+ [connection signal ="pressed" from ="BtnQuitGame" to ="." method ="_on_btn_quit_game " ]
517+ [connection signal ="pressed" from ="BtnCheckerboard " to ="." method ="_on_btn_checkerboard " ]
You can’t perform that action at this time.
0 commit comments