-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPopupNumber.tscn
62 lines (55 loc) · 1.53 KB
/
PopupNumber.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
[gd_scene load_steps=5 format=2]
[ext_resource path="res://Roboto-Bold.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://Scripts/PopupNumber.gd" type="Script" id=3]
[sub_resource type="DynamicFont" id=1]
size = 18
outline_size = 2
outline_color = Color( 0, 0, 0, 1 )
font_data = ExtResource( 1 )
[sub_resource type="Animation" id=2]
resource_name = "Popup"
length = 2.0
tracks/0/type = "value"
tracks/0/path = NodePath(".:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 2 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector2( 0, 0 ), Vector2( 0, -100 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath(".:modulate")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0, 1.9 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ]
}
[node name="Popup" type="Node2D"]
modulate = Color( 1, 1, 1, 0 )
script = ExtResource( 3 )
[node name="LabelContainer" type="Node2D" parent="."]
[node name="Label" type="Label" parent="LabelContainer"]
margin_left = -13.0
margin_top = -27.0
margin_right = 13.0
grow_horizontal = 2
grow_vertical = 0
custom_fonts/font = SubResource( 1 )
text = "12"
align = 1
valign = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
root_node = NodePath("../LabelContainer")
anims/Popup = SubResource( 2 )