167 lines
6.1 KiB
Text
167 lines
6.1 KiB
Text
[gd_scene load_steps=10 format=3 uid="uid://ckh2ov6h4uotl"]
|
|
|
|
[ext_resource type="FontFile" uid="uid://bsnrkucx738te" path="res://assets/fonts/PixelOperator8-Bold.ttf" id="1_iv486"]
|
|
[ext_resource type="Script" path="res://scripts/main_menu.gd" id="1_s33a7"]
|
|
[ext_resource type="Texture2D" uid="uid://dsl4n8xh7u2s3" path="res://assets/background/Background.png" id="2_ejcuj"]
|
|
[ext_resource type="PackedScene" uid="uid://ba41h5bxomx8c" path="res://scenes/settings.tscn" id="3_hnkc8"]
|
|
|
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_1i6wl"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_608mi"]
|
|
bg_color = Color(0.497474, 0.497474, 0.497474, 1)
|
|
corner_radius_top_left = 16
|
|
corner_radius_top_right = 16
|
|
corner_radius_bottom_right = 16
|
|
corner_radius_bottom_left = 16
|
|
shadow_color = Color(0, 0, 0, 0.368627)
|
|
shadow_size = 5
|
|
shadow_offset = Vector2(0, 3.41)
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_o8wg7"]
|
|
bg_color = Color(0.737193, 0.737193, 0.737193, 1)
|
|
corner_radius_top_left = 16
|
|
corner_radius_top_right = 16
|
|
corner_radius_bottom_right = 16
|
|
corner_radius_bottom_left = 16
|
|
shadow_color = Color(0, 0, 0, 0.368627)
|
|
shadow_size = 5
|
|
shadow_offset = Vector2(0, 3.41)
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_7su0m"]
|
|
bg_color = Color(0.497474, 0.497474, 0.497474, 1)
|
|
corner_radius_top_left = 16
|
|
corner_radius_top_right = 16
|
|
corner_radius_bottom_right = 16
|
|
corner_radius_bottom_left = 16
|
|
shadow_color = Color(0, 0, 0, 0.368627)
|
|
shadow_size = 5
|
|
shadow_offset = Vector2(0, 3.41)
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_q67y6"]
|
|
bg_color = Color(1, 1, 1, 1)
|
|
corner_radius_top_left = 16
|
|
corner_radius_top_right = 16
|
|
corner_radius_bottom_right = 16
|
|
corner_radius_bottom_left = 16
|
|
shadow_color = Color(0, 0, 0, 0.368627)
|
|
shadow_size = 5
|
|
shadow_offset = Vector2(0, 3.41)
|
|
|
|
[node name="MainMenu" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
focus_neighbor_top = NodePath("VBoxContainer/Exit")
|
|
script = ExtResource("1_s33a7")
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = -1
|
|
anchor_left = -0.102
|
|
anchor_top = -0.002
|
|
offset_left = -466.496
|
|
offset_top = -229.704
|
|
offset_right = 1171.0
|
|
offset_bottom = 745.0
|
|
texture = ExtResource("2_ejcuj")
|
|
expand_mode = 1
|
|
|
|
[node name="Label" type="Label" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 5
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
offset_left = -405.0
|
|
offset_top = 82.0
|
|
offset_right = 405.0
|
|
offset_bottom = 122.0
|
|
grow_horizontal = 2
|
|
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
|
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
|
theme_override_constants/shadow_offset_x = 3
|
|
theme_override_constants/shadow_offset_y = 3
|
|
theme_override_fonts/font = ExtResource("1_iv486")
|
|
theme_override_font_sizes/font_size = 40
|
|
text = "Solok night Adventures"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -219.0
|
|
offset_top = -116.0
|
|
offset_right = 219.0
|
|
offset_bottom = 164.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/separation = 20
|
|
|
|
[node name="StartGame" type="Button" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
focus_neighbor_top = NodePath("../Exit")
|
|
focus_neighbor_bottom = NodePath("../Options")
|
|
theme_override_colors/font_hover_color = Color(0, 0, 0, 1)
|
|
theme_override_colors/font_pressed_color = Color(0, 0, 0, 1)
|
|
theme_override_colors/font_focus_color = Color(0.513726, 0.513726, 0, 1)
|
|
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
|
theme_override_fonts/font = ExtResource("1_iv486")
|
|
theme_override_font_sizes/font_size = 24
|
|
theme_override_styles/focus = SubResource("StyleBoxEmpty_1i6wl")
|
|
theme_override_styles/hover_pressed = SubResource("StyleBoxFlat_608mi")
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_o8wg7")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_7su0m")
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_q67y6")
|
|
text = "Start Game"
|
|
|
|
[node name="Options" type="Button" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
focus_neighbor_top = NodePath("../StartGame")
|
|
focus_neighbor_bottom = NodePath("../Exit")
|
|
theme_override_colors/font_hover_color = Color(0, 0, 0, 1)
|
|
theme_override_colors/font_pressed_color = Color(0, 0, 0, 1)
|
|
theme_override_colors/font_focus_color = Color(0.513726, 0.513726, 0, 1)
|
|
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
|
theme_override_fonts/font = ExtResource("1_iv486")
|
|
theme_override_font_sizes/font_size = 24
|
|
theme_override_styles/focus = SubResource("StyleBoxEmpty_1i6wl")
|
|
theme_override_styles/hover_pressed = SubResource("StyleBoxFlat_608mi")
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_o8wg7")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_7su0m")
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_q67y6")
|
|
text = "Options"
|
|
|
|
[node name="Exit" type="Button" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
focus_neighbor_top = NodePath("../Options")
|
|
focus_neighbor_bottom = NodePath("../StartGame")
|
|
theme_override_colors/font_hover_color = Color(0, 0, 0, 1)
|
|
theme_override_colors/font_pressed_color = Color(0, 0, 0, 1)
|
|
theme_override_colors/font_focus_color = Color(0.513726, 0.513726, 0, 1)
|
|
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
|
theme_override_fonts/font = ExtResource("1_iv486")
|
|
theme_override_font_sizes/font_size = 24
|
|
theme_override_styles/focus = SubResource("StyleBoxEmpty_1i6wl")
|
|
theme_override_styles/hover_pressed = SubResource("StyleBoxFlat_608mi")
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_o8wg7")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_7su0m")
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_q67y6")
|
|
text = "Exit"
|
|
|
|
[node name="Settings" parent="." instance=ExtResource("3_hnkc8")]
|
|
visible = false
|
|
layout_mode = 1
|
|
|
|
[connection signal="pressed" from="VBoxContainer/StartGame" to="." method="_on_start_game_pressed"]
|
|
[connection signal="pressed" from="VBoxContainer/Options" to="." method="_on_options_pressed"]
|
|
[connection signal="pressed" from="VBoxContainer/Exit" to="." method="_on_exit_pressed"]
|