Add background

This commit is contained in:
2025-08-03 17:54:37 +04:00
parent a1f8536855
commit 2589f9f73f
5 changed files with 46 additions and 6 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 486 B

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c8y6tlvcgh2gn"
path="res://.godot/imported/beanstalk-dark.webp-c42752b76137a07f19260f250e70ea14.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/textures/beanstalk-dark.webp"
dest_files=["res://.godot/imported/beanstalk-dark.webp-c42752b76137a07f19260f250e70ea14.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

View File

@@ -3,3 +3,5 @@
commonUrl: https://clement-panchout.itch.io/yet-another-free-music-pack
- fileName: audio/817587__silverdubloons__tick06.wav
commonUrl: https://freesound.org/people/SilverDubloons/sounds/817587/
- fileName: resources/textures/beanstalk-dark.webp
commonUrl: https://www.toptal.com/designers/subtlepatterns/beanstalk-dark-pattern/

View File

@@ -1,6 +1,7 @@
[gd_scene load_steps=2 format=3 uid="uid://m8lf3eh3al5j"]
[gd_scene load_steps=3 format=3 uid="uid://m8lf3eh3al5j"]
[ext_resource type="Script" uid="uid://ctu58xq7btp1n" path="res://scripts/MainMenu.gd" id="1_b00nv"]
[ext_resource type="Texture2D" uid="uid://c8y6tlvcgh2gn" path="res://resources/textures/beanstalk-dark.webp" id="2_rn8js"]
[node name="MainMenu" type="Control"]
layout_mode = 3
@@ -11,14 +12,15 @@ grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_b00nv")
[node name="Background" type="ColorRect" parent="."]
[node name="Background" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.952411, 0.651681, 0.63048, 1)
texture = ExtResource("2_rn8js")
stretch_mode = 1
[node name="MenuContainer" type="VBoxContainer" parent="."]
layout_mode = 1

View File

@@ -1,6 +1,7 @@
[gd_scene load_steps=2 format=3 uid="uid://57obmcwyos2g"]
[gd_scene load_steps=3 format=3 uid="uid://57obmcwyos2g"]
[ext_resource type="Script" uid="uid://c8mlvlerv4y03" path="res://scripts/SettingsMenu.gd" id="1_oqkcn"]
[ext_resource type="Texture2D" uid="uid://c8y6tlvcgh2gn" path="res://resources/textures/beanstalk-dark.webp" id="2_7nnky"]
[node name="SettingsMenu" type="Control" groups=["localizable"]]
layout_mode = 3
@@ -11,14 +12,15 @@ grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_oqkcn")
[node name="Background" type="ColorRect" parent="."]
[node name="Background" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.209, 0.5159, 0.55, 1)
texture = ExtResource("2_7nnky")
stretch_mode = 1
[node name="SettingsContainer" type="VBoxContainer" parent="."]
layout_mode = 1