-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRightPanel.tscn
More file actions
209 lines (187 loc) · 6.86 KB
/
RightPanel.tscn
File metadata and controls
209 lines (187 loc) · 6.86 KB
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
[gd_scene load_steps=18 format=3 uid="uid://vc6co5mn1ojf"]
[ext_resource type="Texture2D" uid="uid://dmtstcv0ku624" path="res://Assets/Tiny Swords (Update 010)/UI/Buttons/Button_Hover_9Slides.png" id="1_1o4wn"]
[ext_resource type="Script" path="res://RightPanel.cs" id="2_vyqme"]
[ext_resource type="StyleBox" uid="uid://da8xvfi7m2dt3" path="res://ButtonNormalStyle.tres" id="4_nv4xf"]
[ext_resource type="StyleBox" uid="uid://b0tglg6s5u3b4" path="res://ButtonDisabled.tres" id="5_r52o5"]
[ext_resource type="Texture2D" uid="uid://c2tk0sfwi2tqq" path="res://Assets/Tiny Swords (Update 010)/Effects/Fire/Fire.png" id="6_f3ptr"]
[ext_resource type="StyleBox" uid="uid://2637wrocyccm" path="res://ButtonHover.tres" id="6_qa8pf"]
[ext_resource type="Texture2D" uid="uid://cq6gakr7e6cos" path="res://Assets/Tiny Swords (Update 010)/UI/Ribbons/Ribbon_Red_3Slides.png" id="8_j2j77"]
[ext_resource type="PackedScene" uid="uid://c61wkde7573qf" path="res://LabelControl.tscn" id="12_xf8rj"]
[sub_resource type="AtlasTexture" id="AtlasTexture_ndwaa"]
atlas = ExtResource("6_f3ptr")
region = Rect2(0, 0, 128, 128)
[sub_resource type="AtlasTexture" id="AtlasTexture_ikja7"]
atlas = ExtResource("6_f3ptr")
region = Rect2(128, 0, 128, 128)
[sub_resource type="AtlasTexture" id="AtlasTexture_oyi0u"]
atlas = ExtResource("6_f3ptr")
region = Rect2(256, 0, 128, 128)
[sub_resource type="AtlasTexture" id="AtlasTexture_b2k54"]
atlas = ExtResource("6_f3ptr")
region = Rect2(384, 0, 128, 128)
[sub_resource type="AtlasTexture" id="AtlasTexture_oori3"]
atlas = ExtResource("6_f3ptr")
region = Rect2(512, 0, 128, 128)
[sub_resource type="AtlasTexture" id="AtlasTexture_re2mv"]
atlas = ExtResource("6_f3ptr")
region = Rect2(640, 0, 128, 128)
[sub_resource type="AtlasTexture" id="AtlasTexture_ge4pe"]
atlas = ExtResource("6_f3ptr")
region = Rect2(768, 0, 128, 128)
[sub_resource type="SpriteFrames" id="SpriteFrames_owr5y"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_ndwaa")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ikja7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_oyi0u")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_b2k54")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_oori3")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_re2mv")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ge4pe")
}],
"loop": true,
"name": &"default",
"speed": 3.0
}]
[sub_resource type="LabelSettings" id="LabelSettings_0asqh"]
font_size = 25
outline_color = Color(0, 0, 0, 1)
[node name="RightPanel" type="TextureRect"]
texture_filter = 1
anchors_preset = -1
anchor_right = 0.3
anchor_bottom = 0.32
texture = ExtResource("1_1o4wn")
expand_mode = 1
script = ExtResource("2_vyqme")
metadata/_edit_use_anchors_ = true
[node name="ThreeKindButton" type="Button" parent="."]
texture_filter = 1
layout_mode = 0
offset_left = 20.0
offset_top = 21.0
offset_right = 177.0
offset_bottom = 52.0
tooltip_text = "Three of the same
"
focus_mode = 0
theme_override_colors/font_disabled_color = Color(1, 1, 1, 1)
theme_override_colors/font_pressed_color = Color(0.817522, 0.817521, 0.817521, 1)
theme_override_colors/font_color = Color(1, 1, 1, 1)
theme_override_font_sizes/font_size = 14
theme_override_styles/focus = ExtResource("4_nv4xf")
theme_override_styles/disabled = ExtResource("5_r52o5")
theme_override_styles/hover_pressed = ExtResource("6_qa8pf")
theme_override_styles/hover = ExtResource("6_qa8pf")
theme_override_styles/pressed = ExtResource("6_qa8pf")
theme_override_styles/normal = ExtResource("4_nv4xf")
text = "3 of a Kind (Total)"
[node name="FourKindButton" type="Button" parent="."]
texture_filter = 1
layout_mode = 0
offset_left = 20.0
offset_top = 56.0
offset_right = 178.0
offset_bottom = 87.0
tooltip_text = "Four of the same
"
focus_mode = 0
theme_override_colors/font_disabled_color = Color(1, 1, 1, 1)
theme_override_colors/font_pressed_color = Color(0.817522, 0.817521, 0.817521, 1)
theme_override_colors/font_color = Color(1, 1, 1, 1)
theme_override_font_sizes/font_size = 14
theme_override_styles/focus = ExtResource("4_nv4xf")
theme_override_styles/disabled = ExtResource("5_r52o5")
theme_override_styles/hover_pressed = ExtResource("6_qa8pf")
theme_override_styles/hover = ExtResource("6_qa8pf")
theme_override_styles/pressed = ExtResource("6_qa8pf")
theme_override_styles/normal = ExtResource("4_nv4xf")
text = "4 of Kind (Total)"
[node name="ChanceIcon" type="AnimatedSprite2D" parent="."]
position = Vector2(41, 103.5)
scale = Vector2(0.3, 0.31)
sprite_frames = SubResource("SpriteFrames_owr5y")
autoplay = "default"
frame_progress = 0.96712
[node name="ChanceButton" type="Button" parent="."]
texture_filter = 1
layout_mode = 0
offset_left = 56.0
offset_top = 90.0
offset_right = 177.0
offset_bottom = 121.0
tooltip_text = "Add all of the dice together"
focus_mode = 0
theme_override_colors/font_disabled_color = Color(1, 1, 1, 1)
theme_override_colors/font_pressed_color = Color(0.817522, 0.817521, 0.817521, 1)
theme_override_colors/font_color = Color(1, 1, 1, 1)
theme_override_font_sizes/font_size = 16
theme_override_styles/focus = ExtResource("4_nv4xf")
theme_override_styles/disabled = ExtResource("5_r52o5")
theme_override_styles/hover_pressed = ExtResource("6_qa8pf")
theme_override_styles/hover = ExtResource("6_qa8pf")
theme_override_styles/pressed = ExtResource("6_qa8pf")
theme_override_styles/normal = ExtResource("4_nv4xf")
text = "Chance"
[node name="ThreeKindLabel" parent="." instance=ExtResource("12_xf8rj")]
layout_mode = 1
anchor_left = 0.729167
anchor_top = 0.109375
anchor_right = 0.875
anchor_bottom = 0.270833
grow_horizontal = 1
grow_vertical = 1
[node name="FourKindLabel" parent="." instance=ExtResource("12_xf8rj")]
layout_mode = 1
anchor_left = 0.729167
anchor_top = 0.302083
anchor_right = 0.875
anchor_bottom = 0.4375
grow_horizontal = 1
grow_vertical = 1
[node name="ChanceLabel" parent="." instance=ExtResource("12_xf8rj")]
layout_mode = 1
anchor_left = 0.729167
anchor_top = 0.46875
anchor_right = 0.875
anchor_bottom = 0.625
grow_horizontal = 1
grow_vertical = 1
[node name="BonusLabel" parent="." instance=ExtResource("12_xf8rj")]
layout_mode = 1
anchor_left = 0.729167
anchor_top = 0.666667
anchor_right = 0.875
anchor_bottom = 0.817708
grow_horizontal = 1
grow_vertical = 1
[node name="BonusBanner" type="Sprite2D" parent="."]
position = Vector2(100.125, 142)
scale = Vector2(0.720052, 0.46875)
texture = ExtResource("8_j2j77")
[node name="BonusLabel" type="Label" parent="BonusBanner"]
offset_left = -58.5026
offset_top = -32.0
offset_right = 54.4974
offset_bottom = 9.0
theme_override_font_sizes/font_size = 22
text = "Bonus"
label_settings = SubResource("LabelSettings_0asqh")
horizontal_alignment = 1
vertical_alignment = 1
[connection signal="pressed" from="ThreeKindButton" to="." method="OnThreeKind"]
[connection signal="pressed" from="FourKindButton" to="." method="OnFourKind"]
[connection signal="pressed" from="ChanceButton" to="." method="OnChance"]