[gd_scene load_steps=7 format=2]

[ext_resource path="res://Menus/DialogueBox/box.png" type="Texture" id=1]
[ext_resource path="res://Fonts/Harmonic/Harmonic12.tres" type="DynamicFont" id=2]
[ext_resource path="res://Menus/DialogueBox/DialogueBox.gd" type="Script" id=3]
[ext_resource path="res://Menus/DialogueBox/Dialogues.gd" type="Script" id=4]

[sub_resource type="Animation" id=1]
resource_name = "begin_dialouge"
length = 0.5
step = 0.05
tracks/0/type = "value"
tracks/0/path = NodePath("Label:percent_visible")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.5 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ 0.0, 1.0 ]
}

[sub_resource type="Animation" id=2]
resource_name = "next_line"
length = 3.0
tracks/0/type = "value"
tracks/0/path = NodePath("Label:percent_visible")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 3 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ 0.0, 1.0 ]
}

[node name="DialogueBox" type="CenterContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
anims/begin_dialouge = SubResource( 1 )
anims/next_line = SubResource( 2 )

[node name="Dialogues" type="Node" parent="."]
script = ExtResource( 4 )

[node name="TextureRect" type="TextureRect" parent="."]
margin_left = 24.0
margin_top = 119.0
margin_right = 456.0
margin_bottom = 150.0
texture = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Label" type="Label" parent="."]
margin_left = 187.0
margin_top = 129.0
margin_right = 292.0
margin_bottom = 141.0
custom_fonts/font = ExtResource( 2 )
text = "Hahaha. I hate Humans."
align = 1
percent_visible = 0.0
__meta__ = {
"_edit_use_anchors_": false
}
