diff --git a/src/gui/menu/title.png b/assets/title.png similarity index 100% rename from src/gui/menu/title.png rename to assets/title.png diff --git a/src/gui/menu/title.png.import b/assets/title.png.import similarity index 73% rename from src/gui/menu/title.png.import rename to assets/title.png.import index e88ab5c..d0529c9 100644 --- a/src/gui/menu/title.png.import +++ b/assets/title.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://dy7it462po6a" -path="res://.godot/imported/title.png-41b82296c92a3f6fb8fe028fe7f38132.ctex" +path="res://.godot/imported/title.png-f520a0d529e74edf0d3ba77895c4527c.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://src/gui/menu/title.png" -dest_files=["res://.godot/imported/title.png-41b82296c92a3f6fb8fe028fe7f38132.ctex"] +source_file="res://assets/title.png" +dest_files=["res://.godot/imported/title.png-f520a0d529e74edf0d3ba77895c4527c.ctex"] [params] diff --git a/src/gui/menu/main.tscn b/src/gui/menu/main.tscn index 9b08713..00b78bc 100644 --- a/src/gui/menu/main.tscn +++ b/src/gui/menu/main.tscn @@ -1,7 +1,9 @@ -[gd_scene load_steps=8 format=3 uid="uid://bgtkxeh3lciik"] +[gd_scene load_steps=10 format=3 uid="uid://bgtkxeh3lciik"] [ext_resource type="Script" path="res://src/gui/menu/main.gd" id="1_p5r7q"] +[ext_resource type="Texture2D" uid="uid://dio3rrptd6w7c" path="res://assets/bg_90_bk.png" id="2_wi35g"] [ext_resource type="AudioStream" uid="uid://dh5jxxwim7ra8" path="res://assets/sounds/music/death_by_waveshaper.wav" id="2_yc480"] +[ext_resource type="Texture2D" uid="uid://dy7it462po6a" path="res://assets/title.png" id="3_emwtx"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_2u7je"] bg_color = Color(1, 1, 1, 1) @@ -70,6 +72,22 @@ level_select = NodePath("LevelSelect") first_selection = NodePath("Main/VBoxContainer/StartButton") level_first_selection = NodePath("LevelSelect/VBoxContainer/VBoxContainer2/Row1/1") +[node name="Background" type="TextureRect" parent="."] +self_modulate = Color(0.898039, 0.898039, 0.898039, 1) +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_left = -10790.0 +offset_top = -8248.0 +offset_right = 221818.0 +offset_bottom = 169074.0 +grow_horizontal = 2 +grow_vertical = 2 +scale = Vector2(0.5, 0.5) +texture = ExtResource("2_wi35g") +stretch_mode = 1 + [node name="Main" type="Panel" parent="."] layout_mode = 1 anchors_preset = 8 @@ -119,6 +137,19 @@ size_flags_horizontal = 4 focus_neighbor_bottom = NodePath("../StartButton") text = "QUIT" +[node name="TextureRect" type="TextureRect" parent="Main"] +layout_mode = 1 +anchors_preset = 4 +anchor_top = 0.5 +anchor_bottom = 0.5 +offset_left = 1.0 +offset_top = -130.0 +offset_right = 601.0 +offset_bottom = -30.0 +grow_vertical = 2 +scale = Vector2(0.4, 0.4) +texture = ExtResource("3_emwtx") + [node name="LevelSelect" type="Panel" parent="."] visible = false layout_mode = 1