-
Notifications
You must be signed in to change notification settings - Fork 0
/
playerCard.tscn
53 lines (47 loc) · 1.56 KB
/
playerCard.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[gd_scene load_steps=5 format=3 uid="uid://cttcw5gtidtkc"]
[ext_resource type="Script" path="res://playerCard.gd" id="1_4wr74"]
[ext_resource type="Texture2D" uid="uid://qgkg3dg7v3c8" path="res://assets/cards/blank.png" id="2_lnrme"]
[ext_resource type="Texture2D" uid="uid://c0ecm1wp3tffi" path="res://assets/cards/cardHover.png" id="3_8l5ta"]
[ext_resource type="Texture2D" uid="uid://b44nyx5lirqcm" path="res://assets/cards/trollPopup.png" id="4_fbcch"]
[node name="Control" type="Control"]
custom_minimum_size = Vector2(120, 130)
layout_mode = 3
anchors_preset = 0
offset_right = 120.0
offset_bottom = 70.0
size_flags_horizontal = 4
size_flags_vertical = 8
script = ExtResource("1_4wr74")
image = "troll"
[node name="image" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("2_lnrme")
[node name="hover" type="TextureRect" parent="."]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("3_8l5ta")
[node name="popup" type="TextureRect" parent="."]
z_index = 100
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -40.0
offset_top = -85.0
offset_right = 40.0
offset_bottom = -5.0
grow_horizontal = 2
texture = ExtResource("4_fbcch")
stretch_mode = 2
[connection signal="focus_entered" from="image" to="." method="_on_color_rect_focus_entered"]
[connection signal="focus_entered" from="hover" to="." method="_on_color_rect_focus_entered"]