cave-of-dreams/scenes/ui/item_button.tscn

35 lines
1.1 KiB
Text
Raw Permalink Normal View History

[gd_scene format=3 uid="uid://de2iv6o4kw2ce"]
[ext_resource type="Texture2D" uid="uid://da6u1yfpby21d" path="res://textures/ui/charging.png" id="1_f7n08"]
[ext_resource type="Script" uid="uid://cc1ow7x0nug4a" path="res://scripts/ui/hotbar_item_button.gd" id="1_srjjs"]
[ext_resource type="Texture2D" uid="uid://d1abd236mlb6" path="res://textures/weapons/inhands/basic_hammer.png" id="2_xhibd"]
[node name="ItemButton" type="Button" unique_id=1888094213]
custom_minimum_size = Vector2(64, 64)
script = ExtResource("1_srjjs")
[node name="Sprite" type="TextureRect" parent="." unique_id=511065380]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("2_xhibd")
stretch_mode = 5
[node name="Cooldown" type="TextureProgressBar" parent="." unique_id=258783393]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
step = 0.01
value = 100.0
fill_mode = 4
nine_patch_stretch = true
texture_progress = ExtResource("1_f7n08")
tint_progress = Color(1, 1, 1, 0.4627451)