-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAnswerButton.tscn
76 lines (66 loc) · 2.47 KB
/
AnswerButton.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
[gd_scene load_steps=9 format=3 uid="uid://5pcyyn0mmh7p"]
[ext_resource type="Theme" uid="uid://cwb5cke0u6bsl" path="res://MillonaireTheme.tres" id="1_ubrlw"]
[ext_resource type="Script" path="res://AnswerButton.gd" id="2_6omrf"]
[ext_resource type="StyleBox" uid="uid://c6kkmiwp2rpbo" path="res://ThemeElements/TemplateWrong.tres" id="2_038fj"]
[ext_resource type="StyleBox" uid="uid://6h2s6i4vy3gs" path="res://ThemeElements/TemplateNormal.tres" id="4_gcnp2"]
[ext_resource type="StyleBox" path="res://ThemeElements/TemplateCorrect.tres" id="5_ae6sn"]
[sub_resource type="Animation" id="Animation_yudi8"]
resource_name = "Correct"
length = 1.6
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:theme_override_styles/normal")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.4, 0.8, 1.2, 1.6),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
"update": 1,
"values": [ExtResource("5_ae6sn"), ExtResource("4_gcnp2"), ExtResource("5_ae6sn"), ExtResource("4_gcnp2"), ExtResource("5_ae6sn")]
}
[sub_resource type="Animation" id="Animation_xk3hr"]
resource_name = "Wrong"
length = 1.6
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:theme_override_styles/normal")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.4, 0.8, 1.2, 1.6),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
"update": 1,
"values": [ExtResource("2_038fj"), ExtResource("4_gcnp2"), ExtResource("2_038fj"), ExtResource("4_gcnp2"), ExtResource("2_038fj")]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_ob2au"]
_data = {
"Correct": SubResource("Animation_yudi8"),
"Wrong": SubResource("Animation_xk3hr")
}
[node name="AnswerButton" type="Button"]
size_flags_horizontal = 3
theme = ExtResource("1_ubrlw")
theme_override_styles/normal = ExtResource("2_038fj")
toggle_mode = true
action_mode = 0
script = ExtResource("2_6omrf")
label = "asdasdas"
[node name="Margin" type="MarginContainer" parent="."]
layout_mode = 0
anchor_left = 0.059
anchor_right = 0.945
anchor_bottom = 1.0
mouse_filter = 2
[node name="HBox" type="HBoxContainer" parent="Margin"]
layout_mode = 2
[node name="Label" type="Label" parent="Margin/HBox"]
layout_mode = 2
text = "A:"
[node name="Q" type="Label" parent="Margin/HBox"]
layout_mode = 2
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_ob2au")
}