Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added assets/Swarmed_Main_menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions assets/Swarmed_Main_menu.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://egbvhdbscae8"
path="res://.godot/imported/Swarmed_Main_menu.png-ec06b77a13f84c86c6ab5cb721b025f9.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://assets/Swarmed_Main_menu.png"
dest_files=["res://.godot/imported/Swarmed_Main_menu.png-ec06b77a13f84c86c6ab5cb721b025f9.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
28 changes: 26 additions & 2 deletions scenes/utility/title.tscn
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[gd_scene load_steps=5 format=3 uid="uid://308rtes7svwa"]
[gd_scene load_steps=6 format=3 uid="uid://308rtes7svwa"]

[ext_resource type="Script" uid="uid://clnos8pxbfevk" path="res://scenes/utility/title.gd" id="1_4ignj"]
[ext_resource type="Texture2D" uid="uid://egbvhdbscae8" path="res://assets/Swarmed_Main_menu.png" id="2_afp2o"]
[ext_resource type="Script" uid="uid://bitrr7u3puege" path="res://scenes/utility/parallax_background.gd" id="2_pyl7j"]
[ext_resource type="Theme" uid="uid://c8kkdp01b836k" path="res://resources/swarmed_theme.tres" id="2_wosw1"]
[ext_resource type="Texture2D" uid="uid://btldtrm2irmyd" path="res://assets/title-screen-stars-bg.png" id="3_b3w7a"]
Expand All @@ -14,7 +15,18 @@ grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_4ignj")

[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("2_afp2o")
expand_mode = 5

[node name="ParallaxBackground" type="ParallaxBackground" parent="."]
visible = false
script = ExtResource("2_pyl7j")

[node name="NearStars" type="ParallaxLayer" parent="ParallaxBackground"]
Expand Down Expand Up @@ -76,14 +88,21 @@ alignment = 1
[node name="Spacer2" type="Control" parent="VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
size_flags_stretch_ratio = 0.5

[node name="Spacer4" type="Control" parent="VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3

[node name="CenterContainer" type="CenterContainer" parent="VBoxContainer"]
layout_mode = 2
use_top_left = true

[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/CenterContainer"]
layout_mode = 2

[node name="TitleLabel" type="Label" parent="VBoxContainer/CenterContainer/VBoxContainer"]
visible = false
layout_mode = 2
theme = ExtResource("2_wosw1")
theme_override_font_sizes/font_size = 48
Expand All @@ -92,7 +111,7 @@ horizontal_alignment = 1

[node name="SubtitleLabel" type="Label" parent="VBoxContainer/CenterContainer/VBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 24
theme_override_font_sizes/font_size = 48
text = "\"Space is Messy\""
horizontal_alignment = 1

Expand All @@ -103,21 +122,25 @@ alignment = 1
[node name="PlayButton" type="Button" parent="VBoxContainer/CenterContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
theme = ExtResource("2_wosw1")
theme_override_font_sizes/font_size = 32
text = "Play"

[node name="SettingsButton" type="Button" parent="VBoxContainer/CenterContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
theme = ExtResource("2_wosw1")
theme_override_font_sizes/font_size = 32
text = "Settings"

[node name="ExitButton" type="Button" parent="VBoxContainer/CenterContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
theme = ExtResource("2_wosw1")
theme_override_font_sizes/font_size = 32
text = "Exit"

[node name="Spacer3" type="Control" parent="VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
size_flags_stretch_ratio = 1.5

[node name="CreditsLabel" type="Label" parent="VBoxContainer"]
layout_mode = 2
Expand All @@ -134,6 +157,7 @@ horizontal_alignment = 1
[node name="Spacer" type="Control" parent="VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
size_flags_stretch_ratio = 0.5

[node name="GodotLabel" type="Label" parent="VBoxContainer"]
layout_mode = 2
Expand Down