TowerDefense/UI/hero_icon.tscn

36 lines
1.2 KiB
Text
Raw Normal View History

2025-06-18 12:19:43 +02:00
[gd_scene load_steps=5 format=3 uid="uid://2cuckqx3uiw7"]
[ext_resource type="Texture2D" uid="uid://dksohsrys0yy7" path="res://Assets/Icones/baby-face.svg" id="1_3epw4"]
[ext_resource type="Script" uid="uid://cxl20r1p7u1h4" path="res://UI/hero_icon.gd" id="2_45h83"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_6ujs1"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_wg577"]
bg_color = Color(0.96, 0.71808, 0.1536, 0.647059)
[node name="HeroIcon" type="TextureButton"]
custom_minimum_size = Vector2(50, 50)
size_flags_horizontal = 4
texture_normal = ExtResource("1_3epw4")
texture_pressed = ExtResource("1_3epw4")
texture_hover = ExtResource("1_3epw4")
texture_disabled = ExtResource("1_3epw4")
texture_focused = ExtResource("1_3epw4")
ignore_texture_size = true
stretch_mode = 0
script = ExtResource("2_45h83")
[node name="ProgressBar" type="ProgressBar" parent="."]
z_index = -1
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/background = SubResource("StyleBoxEmpty_6ujs1")
theme_override_styles/fill = SubResource("StyleBoxFlat_wg577")
value = 50.0
fill_mode = 3
show_percentage = false