Blud_Mage/Scenes/start_menu.tscn

125 lines
3.5 KiB
Plaintext
Raw Permalink Normal View History

2023-10-11 11:45:08 -04:00
[gd_scene load_steps=8 format=3 uid="uid://bkt0gdgv7bsx2"]
2023-10-10 09:08:31 -04:00
[ext_resource type="Script" path="res://Scripts/start_menu.gd" id="1_dgae7"]
2023-10-11 10:08:20 -04:00
[ext_resource type="PackedScene" uid="uid://b8s2seg2lf7wo" path="res://Scenes/Tilemaps/tileset_1.tscn" id="2_0sfou"]
[ext_resource type="Theme" uid="uid://dr1h7to56a2pv" path="res://Themes/base_theme.tres" id="3_puxi3"]
[ext_resource type="Texture2D" uid="uid://cxk21atb8fblp" path="res://Assets/Witch/noBKG_WitchThrow_strip.png" id="4_qq6xh"]
2023-10-11 11:45:08 -04:00
[ext_resource type="AudioStream" uid="uid://bdkt27mbfvuxs" path="res://Assets/Audio/cave_ambience.mp3" id="5_c04sa"]
2023-10-10 09:08:31 -04:00
2023-10-11 10:28:58 -04:00
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_1owyk"]
bg_color = Color(0.6, 0.6, 0.6, 0)
border_width_left = 50
border_width_top = 50
border_width_right = 50
border_width_bottom = 50
border_color = Color(0.254902, 0, 0, 1)
border_blend = true
shadow_color = Color(0.223529, 0.0117647, 0.0745098, 0.6)
shadow_size = 20
anti_aliasing_size = 2.606
2023-10-11 10:08:20 -04:00
[sub_resource type="AtlasTexture" id="AtlasTexture_je3v2"]
atlas = ExtResource("4_qq6xh")
region = Rect2(1024, 0, 64, 64)
2023-10-10 09:08:31 -04:00
[node name="StartMenu" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_dgae7")
2023-10-11 10:08:20 -04:00
[node name="TileSet1" parent="." instance=ExtResource("2_0sfou")]
2023-10-11 10:28:58 -04:00
[node name="border" type="PanelContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -24.0
offset_top = -16.0
offset_right = 16.0
offset_bottom = 20.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_1owyk")
2023-10-11 10:08:20 -04:00
[node name="ColorRect" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.6, 0.117647, 0.407843, 0.215686)
2023-10-10 09:08:31 -04:00
[node name="StartButton" type="Button" parent="."]
2023-10-11 10:08:20 -04:00
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 304.0
offset_top = -92.0
offset_right = 442.0
offset_bottom = -45.0
grow_vertical = 0
2023-10-11 10:28:58 -04:00
theme = ExtResource("3_puxi3")
2023-10-10 09:08:31 -04:00
text = "Start"
[node name="QuitButton" type="Button" parent="."]
2023-10-11 10:08:20 -04:00
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -440.0
offset_top = -92.0
offset_right = -305.0
offset_bottom = -45.0
grow_horizontal = 0
grow_vertical = 0
2023-10-11 10:28:58 -04:00
theme = ExtResource("3_puxi3")
2023-10-10 09:08:31 -04:00
text = "Quit
"
2023-10-11 10:08:20 -04:00
[node name="Title" type="Label" parent="."]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -41.0
offset_top = 120.0
offset_right = 41.0
offset_bottom = 146.0
grow_horizontal = 2
theme = ExtResource("3_puxi3")
theme_override_colors/font_color = Color(0.635294, 0.0352941, 0.121569, 1)
theme_override_colors/font_shadow_color = Color(0.278431, 0, 0.0235294, 1)
theme_override_colors/font_outline_color = Color(0.6, 0, 0, 0.631373)
theme_override_font_sizes/font_size = 72
text = "Blud Mage"
[node name="Image" type="TextureRect" parent="Title"]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -120.0
offset_top = 56.0
offset_right = 136.0
offset_bottom = 312.0
grow_horizontal = 2
texture = SubResource("AtlasTexture_je3v2")
expand_mode = 2
stretch_mode = 5
2023-10-11 11:45:08 -04:00
[node name="backgroundAmbiance" type="AudioStreamPlayer" parent="."]
stream = ExtResource("5_c04sa")
volume_db = 2.0
2023-10-10 09:08:31 -04:00
[connection signal="pressed" from="StartButton" to="." method="_on_start_button_pressed"]
[connection signal="pressed" from="QuitButton" to="." method="_on_quit_button_pressed"]