Files
Embodiment/Levels/Objects/Dialogue.tscn
Jasmine Hyder 2c65c5f4b6 haha
2021-12-10 15:38:00 -06:00

85 lines
2.2 KiB
Plaintext

[gd_scene load_steps=6 format=2]
[ext_resource path="res://Levels/Objects/DialogBox.gd" type="Script" id=1]
[ext_resource path="res://Fonts/AtariClassicSmooth.ttf" type="DynamicFontData" id=2]
[sub_resource type="DynamicFont" id=2]
size = 20
extra_spacing_top = -1
extra_spacing_bottom = -1
extra_spacing_char = -1
font_data = ExtResource( 2 )
[sub_resource type="Theme" id=3]
default_font = SubResource( 2 )
[sub_resource type="Animation" id=1]
resource_name = "bounce"
tracks/0/type = "value"
tracks/0/path = NodePath("AnimationPlayer:root_node")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ NodePath("..") ]
}
[node name="Control" type="Control"]
__meta__ = {
"_edit_use_anchors_": false
}
[node name="DialogBox" type="ColorRect" parent="."]
margin_left = 60.0
margin_top = 145.0
margin_right = 335.0
margin_bottom = 185.0
rect_min_size = Vector2( 275, 40 )
rect_scale = Vector2( 0.7, 0.730801 )
theme = SubResource( 3 )
color = Color( 0.776471, 0.752941, 0.647059, 1 )
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
dialogPath = "res://Levels/Objects/journalScrapDialog.json"
[node name="Name" type="RichTextLabel" parent="DialogBox"]
anchor_bottom = 2.0
margin_right = 500.0
margin_bottom = -17.0
rect_scale = Vector2( 0.4, 0.4 )
custom_colors/default_color = Color( 0, 0, 0, 1 )
text = "ddd"
fit_content_height = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Text" type="RichTextLabel" parent="DialogBox"]
margin_top = 9.0
margin_right = 500.0
margin_bottom = 70.0
rect_scale = Vector2( 0.4, 0.4 )
custom_colors/default_color = Color( 0, 0, 0, 1 )
text = "dddd"
scroll_active = false
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Indicator" type="Polygon2D" parent="DialogBox"]
position = Vector2( -104, 104 )
color = Color( 0, 0, 0, 1 )
antialiased = true
polygon = PoolVector2Array( 370.756, -68.0704, 376.296, -74.7627, 365.367, -74.6793 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="DialogBox/Indicator"]
anims/bounce = SubResource( 1 )
[node name="Timer" type="Timer" parent="DialogBox"]