A Minecraft style clone in Godot
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

36 lines
1.2 KiB

[gd_scene load_steps=3 format=3 uid="uid://c40k8ey6e54v1"]
[ext_resource type="Script" uid="uid://cq3yb4beq5f4s" path="res://scenes/ui/quickslots/quickslots_slot.gd" id="1_l6jhe"]
[sub_resource type="LabelSettings" id="LabelSettings_7oxdy"]
outline_size = 3
outline_color = Color(0, 0, 0, 1)
[node name="Slot" type="Panel" node_paths=PackedStringArray("amount_label", "slot_texture")]
custom_minimum_size = Vector2(64, 64)
script = ExtResource("1_l6jhe")
amount_label = NodePath("MarginContainer/AmountLabel")
slot_texture = NodePath("MarginContainer/TextureRect")
[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_left = 4
theme_override_constants/margin_top = 4
theme_override_constants/margin_right = 4
theme_override_constants/margin_bottom = 4
[node name="TextureRect" type="TextureRect" parent="MarginContainer"]
texture_filter = 1
layout_mode = 2
expand_mode = 2
[node name="AmountLabel" type="Label" parent="MarginContainer"]
layout_mode = 2
size_flags_horizontal = 8
size_flags_vertical = 8
label_settings = SubResource("LabelSettings_7oxdy")