-
Notifications
You must be signed in to change notification settings - Fork 1
/
card_wrong.tscn
119 lines (103 loc) · 2.87 KB
/
card_wrong.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
[gd_scene load_steps=8 format=2]
[ext_resource path="res://res/Hack-Bold.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://script/Card.gd" type="Script" id=2]
[sub_resource type="RectangleShape2D" id=7]
extents = Vector2( 52, 74 )
[sub_resource type="StyleBoxFlat" id=6]
bg_color = Color( 0.2, 0.160784, 0.160784, 0.752941 )
border_color = Color( 1, 1, 1, 1 )
corner_radius_top_left = 8
corner_radius_top_right = 8
corner_radius_bottom_right = 8
corner_radius_bottom_left = 8
corner_detail = 20
[sub_resource type="StyleBoxFlat" id=5]
bg_color = Color( 1, 1, 1, 0 )
border_width_left = 4
border_width_top = 4
border_width_right = 4
border_width_bottom = 4
border_color = Color( 1, 1, 1, 1 )
corner_radius_top_left = 8
corner_radius_top_right = 8
corner_radius_bottom_right = 8
corner_radius_bottom_left = 8
corner_detail = 20
expand_margin_left = 1.0
expand_margin_right = 1.0
expand_margin_top = 1.0
expand_margin_bottom = 1.0
[sub_resource type="DynamicFont" id=3]
size = 32
use_mipmaps = true
use_filter = true
font_data = ExtResource( 1 )
[sub_resource type="StyleBoxFlat" id=8]
bg_color = Color( 0, 0, 0, 0.501961 )
border_width_left = 4
border_width_top = 4
border_width_right = 4
border_width_bottom = 4
border_color = Color( 0, 0, 0, 1 )
corner_radius_top_left = 8
corner_radius_top_right = 8
corner_radius_bottom_right = 8
corner_radius_bottom_left = 8
corner_detail = 20
expand_margin_left = 1.0
expand_margin_right = 1.0
expand_margin_top = 1.0
expand_margin_bottom = 1.0
[node name="Card" type="Area2D"]
position = Vector2( 1, 0 )
script = ExtResource( 2 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
visible = false
shape = SubResource( 7 )
[node name="Display" type="PanelContainer" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -52.0
margin_top = -74.0
margin_right = 53.0
margin_bottom = 74.0
mouse_filter = 2
custom_styles/panel = SubResource( 6 )
__meta__ = {
"_edit_group_": true
}
[node name="Face" type="Panel" parent="."]
modulate = Color( 0, 0, 0, 1 )
margin_left = -46.0
margin_top = -68.0
margin_right = 47.0
margin_bottom = 68.0
mouse_filter = 2
custom_styles/panel = SubResource( 5 )
[node name="Value" type="Label" parent="Face"]
margin_left = 8.5
margin_top = 8.0
margin_right = 27.5
margin_bottom = 46.0
custom_fonts/font = SubResource( 3 )
text = "0"
[node name="Suit" type="Label" parent="Face"]
margin_left = 8.5
margin_top = 42.0
margin_right = 27.5
margin_bottom = 80.0
custom_fonts/font = SubResource( 3 )
text = "Ν"
[node name="Back" type="Panel" parent="."]
visible = false
margin_left = -52.0
margin_top = -74.0
margin_right = 53.0
margin_bottom = 74.0
mouse_filter = 2
custom_styles/panel = SubResource( 8 )
[node name="Tween" type="Tween" parent="."]
[node name="AlphaTween" type="Tween" parent="."]
[connection signal="tween_completed" from="AlphaTween" to="." method="_on_AlphaTween_completed"]