-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathSpeechBubble.tscn
116 lines (101 loc) · 2.84 KB
/
SpeechBubble.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
[gd_scene load_steps=14 format=2]
[ext_resource path="res://SpeechBubble.gd" type="Script" id=1]
[ext_resource path="res://image.png" type="Texture" id=2]
[ext_resource path="res://Lato-Regular.ttf" type="DynamicFontData" id=3]
[ext_resource path="res://FredokaOne-Regular.ttf" type="DynamicFontData" id=4]
[ext_resource path="res://ArchitectsDaughter-Regular.ttf" type="DynamicFontData" id=5]
[ext_resource path="res://assets/typing_dots.png" type="Texture" id=6]
[sub_resource type="DynamicFont" id=1]
size = 24
outline_color = Color( 0, 0, 0, 1 )
font_data = ExtResource( 5 )
[sub_resource type="DynamicFont" id=2]
size = 25
font_data = ExtResource( 4 )
[sub_resource type="DynamicFont" id=3]
size = 24
font_data = ExtResource( 3 )
[sub_resource type="AtlasTexture" id=4]
flags = 4
atlas = ExtResource( 6 )
region = Rect2( 0, 0, 64, 64 )
[sub_resource type="AtlasTexture" id=5]
flags = 4
atlas = ExtResource( 6 )
region = Rect2( 64, 0, 64, 64 )
[sub_resource type="AtlasTexture" id=6]
flags = 4
atlas = ExtResource( 6 )
region = Rect2( 128, 0, 64, 64 )
[sub_resource type="SpriteFrames" id=7]
animations = [ {
"frames": [ SubResource( 4 ), SubResource( 5 ), SubResource( 6 ) ],
"loop": true,
"name": "default",
"speed": 2.0
} ]
[node name="SpeechBubble" type="Control"]
size_flags_stretch_ratio = 0.0
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="speech_bubble" type="TextureRect" parent="."]
margin_left = -178.682
margin_top = -158.927
margin_right = 30.3181
margin_bottom = 2.07254
texture = ExtResource( 2 )
expand = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="speech_bubble"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 15.0
margin_top = 3.0
margin_right = -19.0
margin_bottom = -23.0
custom_fonts/font = SubResource( 1 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
custom_constants/shadow_offset_x = 7
custom_constants/line_spacing = 3
custom_constants/shadow_offset_y = 5
text = "This is a long long long long long long text."
align = 1
valign = 1
autowrap = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Button" type="Button" parent="speech_bubble/Label"]
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -6.85077
margin_top = -34.258
margin_right = 78.1492
margin_bottom = 6.74197
custom_fonts/font = SubResource( 2 )
text = "Next"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Name" type="Label" parent="speech_bubble"]
margin_left = 34.3645
margin_top = -39.1955
margin_right = 172.365
margin_bottom = -8.19553
custom_fonts/font = SubResource( 3 )
align = 1
valign = 1
uppercase = true
[node name="AnimatedDots" type="AnimatedSprite" parent="speech_bubble"]
position = Vector2( 100.067, 72.3171 )
scale = Vector2( 1.22336, 1.22336 )
frames = SubResource( 7 )
frame = 1
playing = true
[node name="Tween" type="Tween" parent="."]