main menu bg and log

This commit is contained in:
Metzkermeister 2023-10-02 23:42:43 +02:00
parent 1642aab0b5
commit 62b6f4ae51
3 changed files with 35 additions and 4 deletions

View file

@ -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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

View file

@ -1,34 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dy7it462po6a"
path="res://.godot/imported/title.png-41b82296c92a3f6fb8fe028fe7f38132.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://src/gui/menu/title.png"
dest_files=["res://.godot/imported/title.png-41b82296c92a3f6fb8fe028fe7f38132.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