generated from krampus/template-godot4
69 lines
1.8 KiB
Plaintext
69 lines
1.8 KiB
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://cc8a55ly7ybhy"]
|
||
|
||
[ext_resource type="Script" path="res://src/ui/shot_hud/ball_selector/ball_icon.gd" id="1_p0p8j"]
|
||
[ext_resource type="FontFile" uid="uid://b6gxwgomstkgu" path="res://assets/fonts/Geo/Geo-Italic.ttf" id="2_bu42i"]
|
||
|
||
[node name="BallIcon" type="Control"]
|
||
custom_minimum_size = Vector2(0, 27)
|
||
layout_mode = 3
|
||
anchors_preset = 8
|
||
anchor_left = 0.5
|
||
anchor_top = 0.5
|
||
anchor_right = 0.5
|
||
anchor_bottom = 0.5
|
||
grow_horizontal = 2
|
||
grow_vertical = 2
|
||
size_flags_horizontal = 4
|
||
script = ExtResource("1_p0p8j")
|
||
quantity = -1
|
||
unlimited = true
|
||
|
||
[node name="BallLabel" type="Label" parent="."]
|
||
unique_name_in_owner = true
|
||
layout_mode = 1
|
||
anchors_preset = 8
|
||
anchor_left = 0.5
|
||
anchor_top = 0.5
|
||
anchor_right = 0.5
|
||
anchor_bottom = 0.5
|
||
offset_left = -46.5
|
||
offset_top = -13.5
|
||
offset_right = 46.5
|
||
offset_bottom = 13.5
|
||
grow_horizontal = 2
|
||
grow_vertical = 2
|
||
theme_override_constants/outline_size = 10
|
||
theme_override_fonts/font = ExtResource("2_bu42i")
|
||
theme_override_font_sizes/font_size = 25
|
||
horizontal_alignment = 2
|
||
|
||
[node name="QuantityContainer" type="HBoxContainer" parent="BallLabel"]
|
||
unique_name_in_owner = true
|
||
visible = false
|
||
layout_mode = 1
|
||
anchors_preset = -1
|
||
anchor_left = 1.0
|
||
anchor_top = 0.8
|
||
anchor_right = 1.0
|
||
anchor_bottom = 0.8
|
||
grow_horizontal = 2
|
||
grow_vertical = 2
|
||
theme_override_constants/separation = 0
|
||
|
||
[node name="Label" type="Label" parent="BallLabel/QuantityContainer"]
|
||
layout_mode = 2
|
||
size_flags_horizontal = 8
|
||
size_flags_vertical = 8
|
||
theme_type_variation = &"QuantityLabel"
|
||
theme_override_font_sizes/font_size = 22
|
||
text = "×"
|
||
|
||
[node name="QuantityLabel" type="Label" parent="BallLabel/QuantityContainer"]
|
||
unique_name_in_owner = true
|
||
layout_mode = 2
|
||
size_flags_horizontal = 8
|
||
size_flags_vertical = 8
|
||
theme_type_variation = &"QuantityLabel"
|
||
theme_override_font_sizes/font_size = 22
|
||
text = "-1"
|