-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcard_base.tscn
39 lines (31 loc) · 1.29 KB
/
card_base.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[gd_scene load_steps=4 format=3 uid="uid://cjwaphxp5o220"]
[ext_resource type="Script" path="res://script/hand_card_base.gd" id="1_2v4lj"]
[ext_resource type="Texture2D" uid="uid://dmc64wh2hu5s6" path="res://Art/CardBg.png" id="2_tjfqx"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ll786"]
size = Vector2(203.5, 273.5)
[node name="HandCardBase" type="Node2D"]
script = ExtResource("1_2v4lj")
[node name="MarginContainer" type="MarginContainer" parent="."]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -104.0
offset_top = -137.5
offset_right = 104.0
offset_bottom = 137.5
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 4
size_flags_vertical = 4
[node name="TextureRect" type="TextureRect" parent="MarginContainer"]
layout_mode = 2
texture = ExtResource("2_tjfqx")
expand_mode = 1
[node name="Area2D" type="Area2D" parent="MarginContainer"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="MarginContainer/Area2D"]
position = Vector2(105.25, 137.75)
shape = SubResource("RectangleShape2D_ll786")
[connection signal="mouse_entered" from="MarginContainer/Area2D" to="." method="_on_area_2d_mouse_entered"]
[connection signal="mouse_exited" from="MarginContainer/Area2D" to="." method="_on_area_2d_mouse_exited"]