summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/menu/ingame_menu.gd3
-rw-r--r--client/menu/ingame_menu.tscn6
-rw-r--r--data/map.yaml40
3 files changed, 36 insertions, 13 deletions
diff --git a/client/menu/ingame_menu.gd b/client/menu/ingame_menu.gd
index 7a6d8e1a..21bfa8ac 100644
--- a/client/menu/ingame_menu.gd
+++ b/client/menu/ingame_menu.gd
@@ -7,3 +7,6 @@ func _on_main_menu_pressed():
func _on_quit_pressed():
get_parent().quit()
+
+func _on_reconnect_pressed():
+ get_parent().transition_to("res://game.tscn")
diff --git a/client/menu/ingame_menu.tscn b/client/menu/ingame_menu.tscn
index f9b0157c..cf35a7e7 100644
--- a/client/menu/ingame_menu.tscn
+++ b/client/menu/ingame_menu.tscn
@@ -97,6 +97,11 @@ text = "Undercooked"
custom_minimum_size = Vector2(0, 10)
layout_mode = 2
+[node name="reconnect" type="Button" parent="side/margin/options"]
+layout_mode = 2
+text = "Reconnect"
+alignment = 0
+
[node name="main_menu" type="Button" parent="side/margin/options"]
layout_mode = 2
text = "Main Menu"
@@ -107,5 +112,6 @@ layout_mode = 2
text = "Quit"
alignment = 0
+[connection signal="pressed" from="side/margin/options/reconnect" to="." method="_on_reconnect_pressed"]
[connection signal="pressed" from="side/margin/options/main_menu" to="." method="_on_main_menu_pressed"]
[connection signal="pressed" from="side/margin/options/quit" to="." method="_on_quit_pressed"]
diff --git a/data/map.yaml b/data/map.yaml
index 346b3049..5ebf7a8b 100644
--- a/data/map.yaml
+++ b/data/map.yaml
@@ -14,19 +14,33 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
map:
- - "+--------------------+"
- - "|ctc.ctc.ctc.ctc.ctc.|"
- - "|.....c..............|"
- - "|c...c...+--www---dd-+"
- - "|tc.ctc..|ss...CC#..H|"
- - "|c...c...w........~.R|"
- - "|c.......w..######..T|"
- - "|tc......w..........F|"
- - "|c.....ct|#foo##SSS#X|"
- - "+---dd---+-----------+"
- - "......................"
- - ".........!............"
- - "......................"
+ - "+-------------------+------|"
+ - "|ctc.ctc.ctc.ctc.ctc|#....s|"
+ - "|.....c.............|#....s|"
+ - "|c...c...+---www--dd+#.#.##|"
+ - "|tc.ctc..|#.C...ff..d..#..H|"
+ - "|c...c...|#.C.....~.d..#..R|"
+ - "|c.......w..########|#.#..T|"
+ - "|tc......w..........d..#..F|"
+ - "|c.....ct|#S#S#S##oo|###..X|"
+ - "+---dd---+----------+------|"
+ - "............................"
+ - ".........!.................."
+ - "............................"
+# map:
+# - "+--------------------+"
+# - "|ctc.ctc.ctc.ctc.ctc.|"
+# - "|.....c..............|"
+# - "|c...c...+--www---dd-+"
+# - "|tc.ctc..|ss...CC#..H|"
+# - "|c...c...w........~.R|"
+# - "|c.......w..######..T|"
+# - "|tc......w..........F|"
+# - "|c.....ct|#foo##SSS#X|"
+# - "+---dd---+-----------+"
+# - "......................"
+# - ".........!............"
+# - "......................"
tiles:
"#": counter