500 lines
15 KiB
Plaintext
500 lines
15 KiB
Plaintext
[gd_scene load_steps=28 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://c2bmun1bugix" path="res://assets/background/menubg2.jpg" id="2_70i5f"]
|
|
[ext_resource type="AudioStream" uid="uid://dc3bsqg4ltuet" 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://chk8jrn2ighpx" path="res://assets/fonts/main_font.ttf" id="6_i6lef"]
|
|
[ext_resource type="Texture2D" uid="uid://cm376wgq8l0n4" path="res://assets/stars/small_star.png" id="7_i6lef"]
|
|
[ext_resource type="Texture2D" uid="uid://bnltmrot4rttt" path="res://assets/planets/moon.png" id="8_70i5f"]
|
|
[ext_resource type="Texture2D" uid="uid://bgoyvfis21f64" path="res://assets/ships/ship.png" id="9_mj5lg"]
|
|
[ext_resource type="Texture2D" uid="uid://dey802py7bdmi" path="res://assets/ships/ship2.png" id="10_ufwb2"]
|
|
|
|
[sub_resource type="Animation" id="Animation_mj5lg"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:modulate")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Color(1, 1, 1, 0.5058824)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_70i5f"]
|
|
resource_name = "blink"
|
|
loop_mode = 2
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:modulate")
|
|
tracks/0/interp = 2
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.46, 1),
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
"update": 0,
|
|
"values": [Color(1, 1, 1, 0.5058824), Color(1, 1, 1, 1), Color(1, 1, 1, 0.5058824)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_ufwb2"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_mj5lg"),
|
|
&"blink": SubResource("Animation_70i5f")
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_i6lef"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:modulate")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Color(1, 1, 1, 0)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_13sgg"]
|
|
resource_name = "anim_logo"
|
|
length = 5.0
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:modulate")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 5),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_70i5f"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_i6lef"),
|
|
&"anim_logo": SubResource("Animation_13sgg")
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_6cdou"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:position")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector2(711, 356)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_ufwb2"]
|
|
resource_name = "move_moon"
|
|
length = 360.0
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:position")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 360),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Vector2(711, 356), Vector2(1204, 356)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_i42df"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_6cdou"),
|
|
&"move_moon": SubResource("Animation_ufwb2")
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_7jp70"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:position")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector2(211, 274)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_i42df"]
|
|
resource_name = "ship_move"
|
|
length = 400.0
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:position")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 400),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Vector2(334, 276), Vector2(627.99994, 274)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_mxgkd"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_7jp70"),
|
|
&"ship_move": SubResource("Animation_i42df")
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_g6gyw"]
|
|
length = 200.0
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:position")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 200),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Vector2(197.00002, 124.999985), Vector2(687.99994, 194.00002)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_mxgkd"]
|
|
resource_name = "ship_move"
|
|
length = 250.0
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:position")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 250),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Vector2(119.5, 295.5), Vector2(629.50006, 295.49997)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_3dmrc"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_g6gyw"),
|
|
&"ship_move": SubResource("Animation_mxgkd")
|
|
}
|
|
|
|
[node name="MainMenu" type="Control"]
|
|
process_mode = 3
|
|
top_level = true
|
|
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("2_70i5f")
|
|
expand_mode = 1
|
|
|
|
[node name="star" type="Sprite2D" parent="TextureRect"]
|
|
modulate = Color(1, 1, 1, 0.5058824)
|
|
position = Vector2(453.20316, 332.95313)
|
|
scale = Vector2(0.5312264, 0.69791925)
|
|
texture = ExtResource("7_i6lef")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="TextureRect/star"]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_ufwb2")
|
|
}
|
|
autoplay = "blink"
|
|
|
|
[node name="exit" type="TextureButton" parent="TextureRect"]
|
|
layout_mode = 0
|
|
offset_left = 7.0
|
|
offset_top = 580.0
|
|
offset_right = 1257.0
|
|
offset_bottom = 810.0
|
|
scale = Vector2(0.15, 0.15)
|
|
texture_normal = ExtResource("3_v86rl")
|
|
texture_hover = ExtResource("4_13sgg")
|
|
stretch_mode = 0
|
|
|
|
[node name="Label" type="Label" parent="TextureRect/exit"]
|
|
layout_mode = 0
|
|
offset_left = 6.6666603
|
|
offset_top = 6.6665955
|
|
offset_right = 1246.6665
|
|
offset_bottom = 219.99985
|
|
theme_override_colors/font_color = Color(3.008172e-09, 0.06855638, 0.14010939, 1)
|
|
theme_override_colors/font_shadow_color = Color(0.7570387, 0.75415635, 0.7885611, 0)
|
|
theme_override_colors/font_outline_color = Color(0.9954526, 0.93959796, 0.9103491, 1)
|
|
theme_override_constants/outline_size = 23
|
|
theme_override_fonts/font = ExtResource("6_i6lef")
|
|
theme_override_font_sizes/font_size = 120
|
|
text = "menu_exit"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="option" type="TextureButton" parent="TextureRect"]
|
|
layout_mode = 0
|
|
offset_left = 7.0
|
|
offset_top = 537.0
|
|
offset_right = 1257.0
|
|
offset_bottom = 767.0
|
|
scale = Vector2(0.15, 0.15)
|
|
texture_normal = ExtResource("3_v86rl")
|
|
texture_hover = ExtResource("4_13sgg")
|
|
stretch_mode = 0
|
|
|
|
[node name="Label" type="Label" parent="TextureRect/option"]
|
|
layout_mode = 0
|
|
offset_left = 6.6666718
|
|
offset_top = 6.6664734
|
|
offset_right = 1246.6665
|
|
offset_bottom = 226.66647
|
|
theme_override_colors/font_color = Color(3.008172e-09, 0.06855638, 0.14010939, 1)
|
|
theme_override_colors/font_shadow_color = Color(0.7570387, 0.75415635, 0.7885611, 0)
|
|
theme_override_colors/font_outline_color = Color(0.9954526, 0.93959796, 0.9103491, 1)
|
|
theme_override_constants/outline_size = 23
|
|
theme_override_fonts/font = ExtResource("6_i6lef")
|
|
theme_override_font_sizes/font_size = 120
|
|
text = "menu_options"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="start" type="TextureButton" parent="TextureRect"]
|
|
layout_mode = 0
|
|
offset_left = 7.0
|
|
offset_top = 449.0
|
|
offset_right = 1257.0
|
|
offset_bottom = 679.0
|
|
scale = Vector2(0.15, 0.15)
|
|
texture_normal = ExtResource("3_v86rl")
|
|
texture_hover = ExtResource("4_13sgg")
|
|
stretch_mode = 0
|
|
|
|
[node name="Label" type="Label" parent="TextureRect/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 = -618.3333
|
|
offset_top = -108.33362
|
|
offset_right = 621.6665
|
|
offset_bottom = 111.66638
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_colors/font_color = Color(3.008172e-09, 0.06855638, 0.14010939, 1)
|
|
theme_override_colors/font_shadow_color = Color(0.7570387, 0.75415635, 0.7885611, 0)
|
|
theme_override_colors/font_outline_color = Color(0.9954526, 0.93959796, 0.9103491, 1)
|
|
theme_override_constants/outline_size = 23
|
|
theme_override_fonts/font = ExtResource("6_i6lef")
|
|
theme_override_font_sizes/font_size = 120
|
|
text = "menu_start"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="back" type="TextureButton" parent="TextureRect"]
|
|
layout_mode = 0
|
|
offset_left = 7.0
|
|
offset_top = 332.0
|
|
offset_right = 1257.0
|
|
offset_bottom = 562.0
|
|
scale = Vector2(0.15, 0.15)
|
|
texture_normal = ExtResource("3_v86rl")
|
|
texture_hover = ExtResource("4_13sgg")
|
|
stretch_mode = 0
|
|
|
|
[node name="Label" type="Label" parent="TextureRect/back"]
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -618.3333
|
|
offset_top = -115.00012
|
|
offset_right = 621.6665
|
|
offset_bottom = 104.99988
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_colors/font_color = Color(3.008172e-09, 0.06855638, 0.14010939, 1)
|
|
theme_override_colors/font_shadow_color = Color(0.7570387, 0.75415635, 0.7885611, 0)
|
|
theme_override_colors/font_outline_color = Color(0.9954526, 0.93959796, 0.9103491, 1)
|
|
theme_override_constants/outline_size = 23
|
|
theme_override_fonts/font = ExtResource("6_i6lef")
|
|
theme_override_font_sizes/font_size = 120
|
|
text = "menu_back"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="save" type="TextureButton" parent="TextureRect"]
|
|
layout_mode = 0
|
|
offset_left = 7.0
|
|
offset_top = 376.0
|
|
offset_right = 1257.0
|
|
offset_bottom = 606.0
|
|
scale = Vector2(0.15, 0.15)
|
|
texture_normal = ExtResource("3_v86rl")
|
|
texture_hover = ExtResource("4_13sgg")
|
|
stretch_mode = 0
|
|
|
|
[node name="Label" type="Label" parent="TextureRect/save"]
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -618.3333
|
|
offset_top = -115.00012
|
|
offset_right = 621.6665
|
|
offset_bottom = 104.99988
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_colors/font_color = Color(3.008172e-09, 0.06855638, 0.14010939, 1)
|
|
theme_override_colors/font_shadow_color = Color(0.7570387, 0.75415635, 0.7885611, 0)
|
|
theme_override_colors/font_outline_color = Color(0.9954526, 0.93959796, 0.9103491, 1)
|
|
theme_override_constants/outline_size = 23
|
|
theme_override_fonts/font = ExtResource("6_i6lef")
|
|
theme_override_font_sizes/font_size = 120
|
|
text = "menu_save"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="load" type="TextureButton" parent="TextureRect"]
|
|
layout_mode = 0
|
|
offset_left = 7.050003
|
|
offset_top = 494.10004
|
|
offset_right = 1257.05
|
|
offset_bottom = 724.1
|
|
scale = Vector2(0.15, 0.15)
|
|
texture_normal = ExtResource("3_v86rl")
|
|
texture_hover = ExtResource("4_13sgg")
|
|
stretch_mode = 0
|
|
|
|
[node name="Label" type="Label" parent="TextureRect/load"]
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -618.6667
|
|
offset_top = -115.66679
|
|
offset_right = 621.3331
|
|
offset_bottom = 104.333206
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_colors/font_color = Color(3.008172e-09, 0.06855638, 0.14010939, 1)
|
|
theme_override_colors/font_shadow_color = Color(0.7570387, 0.75415635, 0.7885611, 0)
|
|
theme_override_colors/font_outline_color = Color(0.9954526, 0.93959796, 0.9103491, 1)
|
|
theme_override_constants/outline_size = 23
|
|
theme_override_fonts/font = ExtResource("6_i6lef")
|
|
theme_override_font_sizes/font_size = 120
|
|
text = "menu_load"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="TextureRect"]
|
|
modulate = Color(1, 1, 1, 0)
|
|
position = Vector2(563.00006, 477)
|
|
scale = Vector2(0.27148017, 0.2616161)
|
|
texture = ExtResource("5_4ytvr")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="TextureRect/Sprite2D"]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_70i5f")
|
|
}
|
|
autoplay = "anim_logo"
|
|
|
|
[node name="moon" type="Sprite2D" parent="TextureRect"]
|
|
position = Vector2(711, 356)
|
|
scale = Vector2(0.1, 0.1)
|
|
texture = ExtResource("8_70i5f")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="TextureRect/moon"]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_i42df")
|
|
}
|
|
autoplay = "move_moon"
|
|
|
|
[node name="ship" type="Sprite2D" parent="TextureRect"]
|
|
position = Vector2(211, 274)
|
|
scale = Vector2(0.1123348, 0.10526316)
|
|
texture = ExtResource("9_mj5lg")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="TextureRect/ship"]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_mxgkd")
|
|
}
|
|
autoplay = "ship_move"
|
|
|
|
[node name="Sprite2D2" type="Sprite2D" parent="TextureRect"]
|
|
position = Vector2(197.00002, 124.999985)
|
|
scale = Vector2(0.16519824, 0.20175439)
|
|
texture = ExtResource("9_mj5lg")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="TextureRect/Sprite2D2"]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_3dmrc")
|
|
}
|
|
autoplay = "ship_move"
|
|
|
|
[node name="Sprite2D3" type="Sprite2D" parent="TextureRect"]
|
|
position = Vector2(197.00002, 124.999985)
|
|
scale = Vector2(0.3381723, 0.35923466)
|
|
texture = ExtResource("10_ufwb2")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="TextureRect/Sprite2D3"]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_3dmrc")
|
|
}
|
|
autoplay = "RESET"
|
|
|
|
[node name="VBoxContainer" type="GridContainer" parent="."]
|
|
visible = false
|
|
layout_mode = 1
|
|
anchors_preset = 2
|
|
anchor_top = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = 345.0
|
|
offset_top = -488.0
|
|
offset_right = 1365.0
|
|
offset_bottom = 862.0
|
|
grow_vertical = 0
|
|
scale = Vector2(0.3, 0.3)
|
|
|
|
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource("3_con2f")
|
|
autoplay = true
|
|
|
|
[node name="OptionPopup" parent="." instance=ExtResource("3_mhnvy")]
|
|
visible = false
|