space_empire/scenes/menu.tscn
2025-10-20 19:51:40 +02:00

128 lines
4.4 KiB
Plaintext

[gd_scene load_steps=9 format=3 uid="uid://sxae8i12io4y"]
[ext_resource type="Script" uid="uid://ol6efor868gk" path="res://scripts/menu.gd" id="1_vjb58"]
[ext_resource type="Texture2D" uid="uid://xuw4ki75j3fy" path="res://assets/background/menubg.png" id="1_yqeox"]
[ext_resource type="AudioStream" uid="uid://ditln0kq3u3dm" path="res://assets/sounds/music/menu_music.mp3" id="3_con2f"]
[ext_resource type="PackedScene" uid="uid://gvx2ukt1why" path="res://scenes/option_popup.tscn" id="3_mhnvy"]
[ext_resource type="Texture2D" uid="uid://c5qd42wn52jx7" path="res://assets/icons/buttons/button_blue.png" id="3_v86rl"]
[ext_resource type="Texture2D" uid="uid://djqo5u4rtnaaq" path="res://assets/icons/buttons/button_red.png" id="4_13sgg"]
[ext_resource type="Texture2D" uid="uid://dssoa5bxs2h4r" path="res://assets/icons/logo_game.png" id="5_4ytvr"]
[ext_resource type="FontFile" uid="uid://bwvx53j60bvtd" path="res://assets/fonts/font.ttf" id="5_13sgg"]
[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
script = ExtResource("1_vjb58")
[node name="TextureRect" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("1_yqeox")
expand_mode = 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 = -197.0
offset_top = -119.0
offset_right = 569.0
offset_bottom = 842.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(0.5, 0.5)
theme_override_constants/separation = 20
[node name="start" type="TextureButton" parent="VBoxContainer"]
layout_mode = 2
texture_normal = ExtResource("3_v86rl")
texture_hover = ExtResource("4_13sgg")
[node name="Label" type="Label" parent="VBoxContainer/start"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -345.0
offset_top = -121.5
offset_right = 345.0
offset_bottom = 122.5
grow_horizontal = 2
grow_vertical = 2
theme_override_colors/font_color = Color(0.056970224, 0.008738811, 0.00917984, 1)
theme_override_colors/font_shadow_color = Color(0.7570387, 0.75415635, 0.7885611, 0)
theme_override_colors/font_outline_color = Color(0.9581385, 0.7134137, 0.07074302, 1)
theme_override_constants/outline_size = 16
theme_override_fonts/font = ExtResource("5_13sgg")
theme_override_font_sizes/font_size = 110
text = "START"
horizontal_alignment = 1
vertical_alignment = 1
[node name="option" type="TextureButton" parent="VBoxContainer"]
layout_mode = 2
texture_normal = ExtResource("3_v86rl")
texture_hover = ExtResource("4_13sgg")
[node name="Label" type="Label" parent="VBoxContainer/option"]
layout_mode = 0
offset_left = 34.0
offset_top = 33.0
offset_right = 730.0
offset_bottom = 277.0
theme_override_colors/font_color = Color(0.056970224, 0.008738811, 0.00917984, 1)
theme_override_colors/font_shadow_color = Color(0.7570387, 0.75415635, 0.7885611, 0)
theme_override_colors/font_outline_color = Color(0.9581385, 0.7134137, 0.07074302, 1)
theme_override_constants/outline_size = 16
theme_override_fonts/font = ExtResource("5_13sgg")
theme_override_font_sizes/font_size = 110
text = "OPCJE"
horizontal_alignment = 1
vertical_alignment = 1
[node name="exit" type="TextureButton" parent="VBoxContainer"]
layout_mode = 2
texture_normal = ExtResource("3_v86rl")
texture_hover = ExtResource("4_13sgg")
[node name="Label" type="Label" parent="VBoxContainer/exit"]
layout_mode = 0
offset_left = 40.0
offset_top = 32.0
offset_right = 736.0
offset_bottom = 276.0
theme_override_colors/font_color = Color(0.056970224, 0.008738811, 0.00917984, 1)
theme_override_colors/font_shadow_color = Color(0.7570387, 0.75415635, 0.7885611, 0)
theme_override_colors/font_outline_color = Color(0.9581385, 0.7134137, 0.07074302, 1)
theme_override_constants/outline_size = 16
theme_override_fonts/font = ExtResource("5_13sgg")
theme_override_font_sizes/font_size = 110
text = "ZAMKNIJ"
horizontal_alignment = 1
vertical_alignment = 1
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("3_con2f")
volume_db = 7.068
autoplay = true
[node name="OptionPopup" parent="." instance=ExtResource("3_mhnvy")]
[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2(1277, 420.99997)
scale = Vector2(0.45898455, 0.43310553)
texture = ExtResource("5_4ytvr")