-
Notifications
You must be signed in to change notification settings - Fork 3
/
a-typical-button.tscn
74 lines (61 loc) · 1.64 KB
/
a-typical-button.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
[gd_scene load_steps=5 format=1]
[ext_resource path="res://gui_theme-button.tres" type="Theme" id=1]
[ext_resource path="res://fonts/04B_03__.TTF" type="DynamicFontData" id=2]
[sub_resource type="DynamicFont" id=1]
font/size = 8
font/use_mipmaps = true
font/use_filter = false
font/font = ExtResource( 2 )
[sub_resource type="Animation" id=2]
resource/name = "idle"
length = 1.0
loop = true
step = 0.1
tracks/0/type = "value"
tracks/0/path = NodePath("press:visibility/opacity")
tracks/0/interp = 1
tracks/0/imported = false
tracks/0/keys = {
"times": FloatArray( 0, 0.4, 0.6 ),
"transitions": FloatArray( 1, 1, 1 ),
"update": 0,
"values": [ 1.0, 0.0, 1.0 ]
}
[node name="press" type="Panel"]
rect/scale = Vector2( 2, 2 )
focus/ignore_mouse = false
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 2
theme/theme = ExtResource( 1 )
margin/left = -142.0
margin/top = 260.0
margin/right = -14.0
margin/bottom = 281.0
[node name="press" type="Label" parent="."]
focus/ignore_mouse = true
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 0
margin/left = -1.0
margin/top = 7.0
margin/right = 129.0
margin/bottom = 15.0
custom_fonts/font = SubResource( 1 )
custom_colors/font_color = Color( 1, 1, 1, 1 )
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
text = "press spacebar to start"
align = 1
uppercase = true
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
[node name="anim" type="AnimationPlayer" parent="."]
playback/process_mode = 1
playback/default_blend_time = 0.0
root/root = NodePath("..")
anims/idle = SubResource( 2 )
playback/active = true
playback/speed = 2.0
blend_times = [ ]
autoplay = "idle"