space_empire/scenes/menu.tscn
Tomasz Boruc 74b0b412bd 001-00009
Skalowanie
Czcionka w galaxy
Dodanie pliku z Settings
Losowanie gwiazd nie ma kolizji
2025-10-22 22:00:13 +02:00

124 lines
4.3 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://da6hb1mill5yn" path="res://assets/icons/buttons/button_blue.png" id="3_v86rl"]
[ext_resource type="Texture2D" uid="uid://t2pwtja7yfa4" 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
offset_bottom = -1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("1_yqeox")
expand_mode = 1
[node name="Sprite2D" type="Sprite2D" parent="TextureRect"]
position = Vector2(554.375, 371.65625)
scale = Vector2(0.2, 0.2)
texture = ExtResource("5_4ytvr")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 14.0
offset_top = -186.0
offset_right = 464.0
offset_bottom = 420.66687
grow_vertical = 0
scale = Vector2(0.3, 0.3)
[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 = -219.0
offset_top = -69.0
offset_right = 185.0
offset_bottom = 74.0
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 = 65
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 = 19.0
offset_top = 17.0
offset_right = 427.0
offset_bottom = 157.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 = 65
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 = 18.0
offset_top = 18.0
offset_right = 428.0
offset_bottom = 156.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 = 65
text = "ZAMKNIJ"
horizontal_alignment = 1
vertical_alignment = 1
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer" parent="."]
stream = ExtResource("3_con2f")
autoplay = true
[node name="OptionPopup" parent="." instance=ExtResource("3_mhnvy")]