178 lines
4.5 KiB
Plaintext
178 lines
4.5 KiB
Plaintext
[gd_scene load_steps=7 format=3 uid="uid://bat14jn36bm8h"]
|
|
|
|
[ext_resource type="Script" path="res://src/MainMenu.cs" id="1_av5cs"]
|
|
[ext_resource type="Texture2D" uid="uid://douclisbiuxji" path="res://main_menu/sound_on.png" id="2_5sfx4"]
|
|
[ext_resource type="Texture2D" uid="uid://c8nr5inhnhliv" path="res://main_menu/sound_off.png" id="3_03fxv"]
|
|
[ext_resource type="Texture2D" uid="uid://dv2cueufmljpv" path="res://main_menu/music_on.png" id="4_7h5nd"]
|
|
[ext_resource type="Texture2D" uid="uid://srex1nvup3xx" path="res://main_menu/music_off.png" id="5_0dja4"]
|
|
[ext_resource type="Script" path="res://src/TextureToggleButton.cs" id="6_bmwx5"]
|
|
|
|
[node name="Control" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = 50.0
|
|
offset_top = 50.0
|
|
offset_right = -50.0
|
|
offset_bottom = -50.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_av5cs")
|
|
|
|
[node name="StartButton" type="Button" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = -1
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.4
|
|
offset_left = 50.0
|
|
offset_top = 50.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
focus_mode = 0
|
|
theme_override_font_sizes/font_size = 128
|
|
text = " Play Game "
|
|
flat = true
|
|
|
|
[node name="ExitButton" type="Button" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = -1
|
|
anchor_left = 0.8
|
|
anchor_top = 0.85
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 0
|
|
grow_vertical = 0
|
|
focus_mode = 0
|
|
theme_override_colors/font_color = Color(0.9, 0.09, 0.09, 1)
|
|
theme_override_font_sizes/font_size = 48
|
|
text = "Exit"
|
|
flat = true
|
|
|
|
[node name="Settings" type="HBoxContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 2
|
|
anchor_top = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_top = -40.0
|
|
offset_right = 40.0
|
|
grow_vertical = 0
|
|
|
|
[node name="SoundToggle" type="BaseButton" parent="Settings"]
|
|
_import_path = NodePath("")
|
|
unique_name_in_owner = false
|
|
process_mode = 0
|
|
process_priority = 0
|
|
process_physics_priority = 0
|
|
process_thread_group = 0
|
|
editor_description = ""
|
|
visible = true
|
|
modulate = Color(1, 1, 1, 1)
|
|
self_modulate = Color(0.875, 0.875, 0.875, 1)
|
|
show_behind_parent = false
|
|
top_level = false
|
|
clip_children = 0
|
|
light_mask = 1
|
|
visibility_layer = 1
|
|
z_index = 0
|
|
z_as_relative = true
|
|
y_sort_enabled = false
|
|
texture_filter = 0
|
|
texture_repeat = 0
|
|
material = null
|
|
use_parent_material = false
|
|
clip_contents = false
|
|
custom_minimum_size = Vector2(0, 0)
|
|
layout_direction = 0
|
|
layout_mode = 2
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 1
|
|
size_flags_stretch_ratio = 1.0
|
|
auto_translate = true
|
|
localize_numeral_system = true
|
|
tooltip_text = ""
|
|
focus_neighbor_left = NodePath("")
|
|
focus_neighbor_top = NodePath("")
|
|
focus_neighbor_right = NodePath("")
|
|
focus_neighbor_bottom = NodePath("")
|
|
focus_next = NodePath("")
|
|
focus_previous = NodePath("")
|
|
focus_mode = 2
|
|
mouse_filter = 0
|
|
mouse_force_pass_scroll_events = true
|
|
mouse_default_cursor_shape = 0
|
|
theme = null
|
|
theme_type_variation = &""
|
|
disabled = false
|
|
toggle_mode = false
|
|
button_pressed = false
|
|
action_mode = 1
|
|
button_mask = 1
|
|
keep_pressed_outside = false
|
|
button_group = null
|
|
shortcut = null
|
|
shortcut_feedback = true
|
|
shortcut_in_tooltip = true
|
|
script = ExtResource("6_bmwx5")
|
|
FalseTexture = ExtResource("2_5sfx4")
|
|
TrueTexture = ExtResource("3_03fxv")
|
|
|
|
[node name="MusicToggle" type="BaseButton" parent="Settings"]
|
|
_import_path = NodePath("")
|
|
unique_name_in_owner = false
|
|
process_mode = 0
|
|
process_priority = 0
|
|
process_physics_priority = 0
|
|
process_thread_group = 0
|
|
editor_description = ""
|
|
visible = true
|
|
modulate = Color(1, 1, 1, 1)
|
|
self_modulate = Color(0.875, 0.875, 0.875, 1)
|
|
show_behind_parent = false
|
|
top_level = false
|
|
clip_children = 0
|
|
light_mask = 1
|
|
visibility_layer = 1
|
|
z_index = 0
|
|
z_as_relative = true
|
|
y_sort_enabled = false
|
|
texture_filter = 0
|
|
texture_repeat = 0
|
|
material = null
|
|
use_parent_material = false
|
|
clip_contents = false
|
|
custom_minimum_size = Vector2(0, 0)
|
|
layout_direction = 0
|
|
layout_mode = 2
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 1
|
|
size_flags_stretch_ratio = 1.0
|
|
auto_translate = true
|
|
localize_numeral_system = true
|
|
tooltip_text = ""
|
|
focus_neighbor_left = NodePath("")
|
|
focus_neighbor_top = NodePath("")
|
|
focus_neighbor_right = NodePath("")
|
|
focus_neighbor_bottom = NodePath("")
|
|
focus_next = NodePath("")
|
|
focus_previous = NodePath("")
|
|
focus_mode = 2
|
|
mouse_filter = 0
|
|
mouse_force_pass_scroll_events = true
|
|
mouse_default_cursor_shape = 0
|
|
theme = null
|
|
theme_type_variation = &""
|
|
disabled = false
|
|
toggle_mode = false
|
|
button_pressed = false
|
|
action_mode = 1
|
|
button_mask = 1
|
|
keep_pressed_outside = false
|
|
button_group = null
|
|
shortcut = null
|
|
shortcut_feedback = true
|
|
shortcut_in_tooltip = true
|
|
script = ExtResource("6_bmwx5")
|
|
FalseTexture = ExtResource("4_7h5nd")
|
|
TrueTexture = ExtResource("5_0dja4")
|