feat: add card node;
This commit is contained in:
23
card_node.tscn
Normal file
23
card_node.tscn
Normal file
@@ -0,0 +1,23 @@
|
||||
[gd_scene format=3 uid="uid://dx6ujq4qfxei"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://nnvyuxm410hh" path="res://icon.svg" id="1_uo7av"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_tejjf"]
|
||||
|
||||
[node name="CardNode" type="Node2D" unique_id=1544669836]
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1062767143]
|
||||
scale = Vector2(0.47, 0.7)
|
||||
texture = ExtResource("1_uo7av")
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="." unique_id=1277785163]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=1443156341]
|
||||
scale = Vector2(3, 4.5)
|
||||
shape = SubResource("RectangleShape2D_tejjf")
|
||||
|
||||
[node name="Label" type="Label" parent="." unique_id=975650331]
|
||||
offset_left = -20.0
|
||||
offset_top = -43.0
|
||||
offset_right = 20.0
|
||||
offset_bottom = -20.0
|
||||
Reference in New Issue
Block a user