diff options
author | cel <cel@blos.sm> | 2022-07-16 22:49:16 +0100 |
---|---|---|
committer | cel <cel@blos.sm> | 2022-07-16 22:49:16 +0100 |
commit | c5bacb265a477f1f80be6a9fbdabc072fc074a59 (patch) | |
tree | 96274e9b60682415f31b266bc57ccf0d5bc34bfe /godot/scenes/Menu.tscn | |
parent | 373b0d66678a349d39146262d5b288b39c5cb1e1 (diff) | |
parent | fdbba87b346c6020d7349d0c2cb3793fcdab25f3 (diff) | |
download | 2022-c5bacb265a477f1f80be6a9fbdabc072fc074a59.tar.gz 2022-c5bacb265a477f1f80be6a9fbdabc072fc074a59.tar.bz2 2022-c5bacb265a477f1f80be6a9fbdabc072fc074a59.zip |
merged menu branch
Diffstat (limited to 'godot/scenes/Menu.tscn')
-rw-r--r-- | godot/scenes/Menu.tscn | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/godot/scenes/Menu.tscn b/godot/scenes/Menu.tscn new file mode 100644 index 0000000..5529448 --- /dev/null +++ b/godot/scenes/Menu.tscn @@ -0,0 +1,42 @@ +[gd_scene load_steps=3 format=2] + +[ext_resource path="res://assets/theme.tres" type="Theme" id=1] +[ext_resource path="res://scenes/Menu.gd" type="Script" id=2] + +[node name="Menu" type="Control"] +anchor_right = 1.0 +anchor_bottom = 1.0 +script = ExtResource( 2 ) + +[node name="VBoxContainer" type="VBoxContainer" parent="."] +anchor_right = 0.25 +anchor_bottom = 1.0 +margin_left = 40.0 +margin_top = 789.0 +margin_bottom = -40.0 +theme = ExtResource( 1 ) +alignment = 2 + +[node name="StartButton" type="Button" parent="VBoxContainer"] +margin_top = 85.0 +margin_right = 440.0 +margin_bottom = 166.0 +focus_neighbour_top = NodePath("../QuitButton") +text = "Start" + +[node name="LevelButton" type="Button" parent="VBoxContainer"] +visible = false +margin_top = 85.0 +margin_right = 440.0 +margin_bottom = 166.0 +text = "Levels" + +[node name="QuitButton" type="Button" parent="VBoxContainer"] +margin_top = 170.0 +margin_right = 440.0 +margin_bottom = 251.0 +focus_neighbour_bottom = NodePath("../StartButton") +text = "Quit" + +[connection signal="pressed" from="VBoxContainer/StartButton" to="." method="_on_StartButton_pressed"] +[connection signal="pressed" from="VBoxContainer/QuitButton" to="." method="_on_QuitButton_pressed"] |