main screen

This commit is contained in:
Kirill
2026-03-05 20:13:45 +03:00
parent 9f94114aa2
commit 59705b2143
168 changed files with 4690 additions and 106 deletions
+25
View File
@@ -0,0 +1,25 @@
extends VBoxContainer
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
@export var Texture_button: TextureButton
@export var Description: Label
@export var Properties: Dictionary
#Shortcut|Name|Area|AreaName|Screen|ScreenName|Row|Col|ImagePath|LinkedScreen|ShowBound
func init_button(initial_dict: Dictionary):
Properties = initial_dict
func _on_button_up() -> void:
print("hello button")
#Texture_button.texture_normal = load("res://UI/1-Items/Helium.png")
+1
View File
@@ -0,0 +1 @@
uid://bxxllddlgurus
+18
View File
@@ -0,0 +1,18 @@
[gd_scene format=3 uid="uid://d3xjfxwe3w16v"]
[ext_resource type="Script" uid="uid://bxxllddlgurus" path="res://UI/Buttons/item_button.gd" id="1_e6ro1"]
[node name="Button" type="VBoxContainer" unique_id=1538731567 node_paths=PackedStringArray("Texture_button", "Description")]
script = ExtResource("1_e6ro1")
Texture_button = NodePath("TextureButton")
Description = NodePath("Description")
[node name="TextureButton" type="TextureButton" parent="." unique_id=1377839155]
custom_minimum_size = Vector2(216, 216)
layout_mode = 2
[node name="Description" type="Label" parent="." unique_id=1488477178]
custom_minimum_size = Vector2(216, 40)
layout_mode = 2
[connection signal="button_up" from="TextureButton" to="." method="_on_button_up"]