diff options
author | perivesta <> | 2023-07-08 15:53:37 +0200 |
---|---|---|
committer | perivesta <> | 2023-07-08 15:53:37 +0200 |
commit | 9573d3ae4170f43f7f65224a16db7ad161a11e28 (patch) | |
tree | aca31f8254e6e2876ade6472febf8ad003bfea18 /Nodes/main_menu.tscn | |
parent | bf17c8a97b77cdb783a2751e7ee4a90843a00f06 (diff) | |
download | 2023-9573d3ae4170f43f7f65224a16db7ad161a11e28.tar.gz 2023-9573d3ae4170f43f7f65224a16db7ad161a11e28.tar.bz2 2023-9573d3ae4170f43f7f65224a16db7ad161a11e28.zip |
add main menu, pause menu, basic level
Diffstat (limited to 'Nodes/main_menu.tscn')
-rw-r--r-- | Nodes/main_menu.tscn | 197 |
1 files changed, 197 insertions, 0 deletions
diff --git a/Nodes/main_menu.tscn b/Nodes/main_menu.tscn new file mode 100644 index 0000000..96928fb --- /dev/null +++ b/Nodes/main_menu.tscn @@ -0,0 +1,197 @@ +[gd_scene load_steps=16 format=3 uid="uid://cqskj7j8bqmd5"] + +[ext_resource type="Script" path="res://Scripts/main_menu.gd" id="2"] +[ext_resource type="FontFile" uid="uid://b2n2cbthkca0k" path="res://Assets/fonts/format.otf" id="7"] + +[sub_resource type="FontFile" id="1"] +fallbacks = Array[Font]([ExtResource("7")]) +face_index = null +embolden = null +transform = null +cache/0/16/0/ascent = 0.0 +cache/0/16/0/descent = 0.0 +cache/0/16/0/underline_position = 0.0 +cache/0/16/0/underline_thickness = 0.0 +cache/0/16/0/scale = 1.0 +cache/0/16/0/kerning_overrides/16/0 = Vector2(0, 0) + +[sub_resource type="StyleBoxFlat" id="2"] +content_margin_top = 10.0 +content_margin_bottom = 10.0 +bg_color = Color(0.4, 0.337255, 0.313726, 0.32549) + +[sub_resource type="StyleBoxFlat" id="3"] +content_margin_top = 10.0 +content_margin_bottom = 10.0 +bg_color = Color(0.176471, 0.14902, 0.141176, 1) + +[sub_resource type="StyleBoxFlat" id="4"] +content_margin_top = 10.0 +content_margin_bottom = 10.0 +bg_color = Color(0.4, 0.337255, 0.313726, 1) + +[sub_resource type="StyleBoxFlat" id="5"] +content_margin_top = 20.0 +content_margin_bottom = 20.0 +bg_color = Color(0.290196, 0.247059, 0.231373, 1) + +[sub_resource type="StyleBoxFlat" id="6"] +content_margin_top = 10.0 +content_margin_bottom = 10.0 +bg_color = Color(0.176471, 0.14902, 0.141176, 1) + +[sub_resource type="FontFile" id="11"] +fallbacks = Array[Font]([ExtResource("7")]) +face_index = null +embolden = null +transform = null +cache/0/16/0/ascent = 0.0 +cache/0/16/0/descent = 0.0 +cache/0/16/0/underline_position = 0.0 +cache/0/16/0/underline_thickness = 0.0 +cache/0/16/0/scale = 1.0 +cache/0/16/0/kerning_overrides/16/0 = Vector2(0, 0) + +[sub_resource type="StyleBoxFlat" id="7"] +bg_color = Color(0.160784, 0.133333, 0.133333, 1) + +[sub_resource type="Theme" id="12"] +Button/fonts/font = SubResource("1") +Button/styles/disabled = SubResource("2") +Button/styles/focus = SubResource("3") +Button/styles/hover = SubResource("4") +Button/styles/normal = SubResource("5") +Button/styles/pressed = SubResource("6") +Label/fonts/font = SubResource("11") +Panel/styles/panel = SubResource("7") + +[sub_resource type="LabelSettings" id="LabelSettings_ygt8r"] +font = ExtResource("7") +font_size = 40 + +[sub_resource type="FontFile" id="8"] +subpixel_positioning = 0 +msdf_pixel_range = 14 +msdf_size = 128 +face_index = null +embolden = null +transform = null +cache/0/16/0/ascent = 0.0 +cache/0/16/0/descent = 0.0 +cache/0/16/0/underline_position = 0.0 +cache/0/16/0/underline_thickness = 0.0 +cache/0/16/0/scale = 1.0 +cache/0/16/0/kerning_overrides/16/0 = Vector2(0, 0) + +[sub_resource type="FontFile" id="9"] +fallbacks = Array[Font]([SubResource("8")]) +face_index = null +embolden = null +transform = null +cache/0/16/0/ascent = 0.0 +cache/0/16/0/descent = 0.0 +cache/0/16/0/underline_position = 0.0 +cache/0/16/0/underline_thickness = 0.0 +cache/0/16/0/scale = 1.0 +cache/0/16/0/glyphs/0/advance = Vector2(0, 0) +cache/0/16/0/glyphs/0/offset = Vector2(0, 0) +cache/0/16/0/glyphs/0/size = Vector2(0, 0) +cache/0/16/0/glyphs/0/uv_rect = Rect2(0, 0, 0, 0) +cache/0/16/0/glyphs/0/texture_idx = -1 +cache/0/16/0/kerning_overrides/16/0 = Vector2(0, 0) + +[sub_resource type="Theme" id="10"] +Button/fonts/font = SubResource("1") +Button/styles/disabled = SubResource("2") +Button/styles/focus = SubResource("3") +Button/styles/hover = SubResource("4") +Button/styles/normal = SubResource("5") +Button/styles/pressed = SubResource("6") +Label/fonts/font = SubResource("9") +Panel/styles/panel = SubResource("7") + +[node name="Menu" type="Control"] +layout_mode = 3 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +script = ExtResource("2") + +[node name="VBoxContainer" type="VBoxContainer" parent="."] +layout_mode = 0 +anchor_right = 0.25 +anchor_bottom = 1.0 +alignment = 2 + +[node name="StartButton" type="Button" parent="VBoxContainer"] +layout_mode = 2 +text = "Start" + +[node name="LevelButton" type="Button" parent="VBoxContainer"] +visible = false +layout_mode = 2 +text = "Levels" + +[node name="QuitButton" type="Button" parent="VBoxContainer"] +layout_mode = 2 +text = "Quit" + +[node name="Label Title" type="Label" parent="."] +layout_mode = 0 +theme = SubResource("12") +text = "Racing Game but Worse" +label_settings = SubResource("LabelSettings_ygt8r") + +[node name="Credits" type="VBoxContainer" parent="."] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.862 +anchor_top = 0.784 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_left = -0.0240479 +offset_top = -0.0320129 +offset_right = -4.0 +offset_bottom = -4.0 + +[node name="Label" type="Label" parent="Credits"] +layout_mode = 2 +text = "CREDITS" + +[node name="Label2" type="Label" parent="Credits"] +layout_mode = 2 +theme = SubResource("10") +text = "[Celeste] +[IceLRemius] +[Perivesta] +" + +[node name="Label Instructions" type="Label" parent="."] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.05 +anchor_top = 0.2 +anchor_right = 0.3 +anchor_bottom = 0.2 +offset_left = -9.6 +offset_top = -50.6 +offset_right = -9.60001 +offset_bottom = -24.6 +text = "HOW TO PLAY" + +[node name="VBoxContainer3" type="VBoxContainer" parent="."] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.05 +anchor_top = 0.25 +anchor_right = 0.3 +anchor_bottom = 0.7 +offset_left = 264.4 +offset_top = 121.0 +offset_right = 264.4 +offset_bottom = 121.0 + +[connection signal="pressed" from="VBoxContainer/StartButton" to="." method="_on_StartButton_pressed"] +[connection signal="pressed" from="VBoxContainer/QuitButton" to="." method="_on_QuitButton_pressed"] |