Card drag

This commit is contained in:
rendo 2026-02-19 11:03:29 +05:00
commit 0418606bd8
11 changed files with 92 additions and 0 deletions

View file

@ -6,6 +6,11 @@
[ext_resource type="Texture2D" uid="uid://c3p3hl0epd5rg" path="res://cards/templates/cost-bubble.png" id="3_4k7q8"]
[ext_resource type="Texture2D" uid="uid://b5vvxpoic7glj" path="res://cards/templates/experimental.png" id="4_f61jr"]
[sub_resource type="LabelSettings" id="LabelSettings_jsqqk"]
line_spacing = 1.0
font_size = 12
font_color = Color(0, 0, 0, 1)
[node name="Card" type="TextureRect" unique_id=267582807]
anchors_preset = -1
anchor_right = 0.098000005
@ -66,3 +71,22 @@ offset_bottom = 33.0
grow_horizontal = 0
mouse_filter = 2
texture = ExtResource("4_f61jr")
[node name="Name" type="Label" parent="." unique_id=1153228998]
layout_mode = 0
offset_left = 12.0
offset_top = 82.0
offset_right = 104.0
offset_bottom = 105.0
label_settings = SubResource("LabelSettings_jsqqk")
horizontal_alignment = 1
[node name="Description" type="Label" parent="." unique_id=364325297]
layout_mode = 0
offset_left = 12.0
offset_top = 99.0
offset_right = 104.0
offset_bottom = 163.0
label_settings = SubResource("LabelSettings_jsqqk")
autowrap_mode = 2
text_overrun_behavior = 4