main menu

This commit is contained in:
Rendo 2025-07-01 17:31:12 +05:00
commit 089ebc4797
35 changed files with 389 additions and 117 deletions

View file

@ -1,8 +1,20 @@
[gd_resource type="Resource" script_class="PlantResource" load_steps=4 format=3 uid="uid://bf7vjtufjc8kt"]
[gd_resource type="Resource" script_class="PlantResource" load_steps=9 format=3 uid="uid://bf7vjtufjc8kt"]
[ext_resource type="Texture2D" uid="uid://d4btl7vqi4v0q" path="res://assets/sprites/plants/aloe.tres" id="1_t4137"]
[ext_resource type="Script" uid="uid://cyenlko1knygw" path="res://scripts/resources/PlantResource.cs" id="1_vw2kg"]
[ext_resource type="PackedScene" uid="uid://bw1w8jp0yeypy" path="res://scenes/entities/plants/aloe.tscn" id="2_6a4ia"]
[ext_resource type="Texture2D" uid="uid://c35dr3hiy66k0" path="res://assets/sprites/gui/ChooseYourSeeds/PremiumFrameField.tres" id="3_2s3af"]
[ext_resource type="Texture2D" uid="uid://31jc2e7dijas" path="res://assets/sprites/gui/PremiumPlantCard.tres" id="3_vfv8g"]
[ext_resource type="Script" uid="uid://3m7xks3xq3hl" path="res://scripts/components/gui/seedpackets/CustomSeedpacketFrame.cs" id="4_d5nqg"]
[sub_resource type="LabelSettings" id="LabelSettings_2s3af"]
[sub_resource type="Resource" id="Resource_5me4i"]
script = ExtResource("4_d5nqg")
frame = ExtResource("3_vfv8g")
font = SubResource("LabelSettings_2s3af")
almanachField = ExtResource("3_2s3af")
metadata/_custom_type_script = "uid://3m7xks3xq3hl"
[resource]
script = ExtResource("1_vw2kg")
@ -18,3 +30,4 @@ ReloadTime = 15.0
ReloadProgress = 0.0
Preview = ExtResource("1_t4137")
Layer = 1
customFrame = SubResource("Resource_5me4i")

View file

@ -0,0 +1,44 @@
[gd_resource type="Theme" load_steps=8 format=3 uid="uid://btulhvgwclket"]
[ext_resource type="Texture2D" uid="uid://cmcwrgcm272gy" path="res://assets/sprites/gui/main_menu_buttons.png" id="1_jv7fv"]
[sub_resource type="AtlasTexture" id="AtlasTexture_132w1"]
atlas = ExtResource("1_jv7fv")
region = Rect2(96, 0, 48, 48)
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_45124"]
texture = SubResource("AtlasTexture_132w1")
texture_margin_left = 15.0
texture_margin_top = 15.0
texture_margin_right = 15.0
texture_margin_bottom = 15.0
[sub_resource type="AtlasTexture" id="AtlasTexture_n6pvk"]
atlas = ExtResource("1_jv7fv")
region = Rect2(0, 0, 48, 48)
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_2hb1n"]
texture = SubResource("AtlasTexture_n6pvk")
texture_margin_left = 15.0
texture_margin_top = 15.0
texture_margin_right = 15.0
texture_margin_bottom = 15.0
[sub_resource type="AtlasTexture" id="AtlasTexture_p1ypd"]
atlas = ExtResource("1_jv7fv")
region = Rect2(48, 0, 48, 48)
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_fg17j"]
texture = SubResource("AtlasTexture_p1ypd")
texture_margin_left = 15.0
texture_margin_top = 15.0
texture_margin_right = 15.0
texture_margin_bottom = 15.0
[resource]
Button/colors/font_color = Color(0.875, 0.875, 0.875, 1)
Button/colors/font_focus_color = Color(0.95, 0.95, 0.95, 1)
Button/colors/font_hover_color = Color(1, 1, 1, 1)
Button/styles/hover = SubResource("StyleBoxTexture_45124")
Button/styles/normal = SubResource("StyleBoxTexture_2hb1n")
Button/styles/pressed = SubResource("StyleBoxTexture_fg17j")