Skip to content

Commit 1d04b1f

Browse files
committed
Add game-06 slot
1 parent cca64a3 commit 1d04b1f

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

game-06/main.tscn

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[gd_scene format=3 uid="uid://ci147qf6s6jhg"]
2+
3+
[node name="Main" type="Node2D"]

main-menu/main.gd

+4
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,7 @@ func _on_demo_04_button_pressed() -> void:
1919

2020
func _on_demo_05_button_pressed() -> void:
2121
Global.change_scene("res://game-05/main.tscn")
22+
23+
24+
func _on_demo_06_button_pressed() -> void:
25+
Global.change_scene("res://game-06/main.tscn")

main-menu/main.tscn

+5
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ text = "Pachinko (Physics)"
7070
layout_mode = 2
7171
text = "Space ship"
7272

73+
[node name="Demo06Button" type="Button" parent="VBoxContainer/CenterContainer/VBoxContainer"]
74+
layout_mode = 2
75+
text = "Bu ~ Bu ~"
76+
7377
[node name="PanelContainer2" type="PanelContainer" parent="VBoxContainer"]
7478
layout_mode = 2
7579

@@ -84,3 +88,4 @@ fit_content = true
8488
[connection signal="pressed" from="VBoxContainer/CenterContainer/VBoxContainer/Demo03Button" to="." method="_on_demo_03_button_pressed"]
8589
[connection signal="pressed" from="VBoxContainer/CenterContainer/VBoxContainer/Demo04Button" to="." method="_on_demo_04_button_pressed"]
8690
[connection signal="pressed" from="VBoxContainer/CenterContainer/VBoxContainer/Demo05Button" to="." method="_on_demo_05_button_pressed"]
91+
[connection signal="pressed" from="VBoxContainer/CenterContainer/VBoxContainer/Demo06Button" to="." method="_on_demo_06_button_pressed"]

0 commit comments

Comments
 (0)