204 lines
5.5 KiB
Plaintext
204 lines
5.5 KiB
Plaintext
[gd_scene load_steps=11 format=2]
|
|
|
|
[ext_resource path="res://images/ui/dialogue_bg.png" type="Texture" id=1]
|
|
[ext_resource path="res://fonts/dialog_default_font.tres" type="DynamicFont" id=2]
|
|
[ext_resource path="res://scripts/DialogueBox.gd" type="Script" id=3]
|
|
[ext_resource path="res://fonts/dialogue_default_font_italic.tres" type="DynamicFont" id=4]
|
|
[ext_resource path="res://fonts/dialogue_default_font_mono_aka_small.tres" type="DynamicFont" id=5]
|
|
|
|
[sub_resource type="VisualShaderNodeColorConstant" id=1]
|
|
constant = Color( 0, 0, 0, 0.803922 )
|
|
|
|
[sub_resource type="VisualShaderNodeInput" id=2]
|
|
input_name = "texture"
|
|
|
|
[sub_resource type="VisualShaderNodeTexture" id=3]
|
|
source = 2
|
|
|
|
[sub_resource type="VisualShader" id=4]
|
|
code = "shader_type canvas_item;
|
|
|
|
|
|
|
|
void vertex() {
|
|
// Output:0
|
|
|
|
}
|
|
|
|
void fragment() {
|
|
// Input:4
|
|
|
|
// Texture:6
|
|
vec3 n_out6p0;
|
|
float n_out6p1;
|
|
{
|
|
vec4 _tex_read = texture(TEXTURE , UV.xy);
|
|
n_out6p0 = _tex_read.rgb;
|
|
n_out6p1 = _tex_read.a;
|
|
}
|
|
|
|
// Color:3
|
|
vec3 n_out3p0 = vec3(0.000000, 0.000000, 0.000000);
|
|
float n_out3p1 = 0.803922;
|
|
|
|
// Output:0
|
|
COLOR.rgb = n_out6p0;
|
|
COLOR.a = n_out3p1;
|
|
|
|
}
|
|
|
|
void light() {
|
|
// Output:0
|
|
|
|
}
|
|
"
|
|
custom_defines = ""
|
|
graph_offset = Vector2( 261, 117 )
|
|
mode = 1
|
|
flags/light_only = false
|
|
nodes/vertex/0/position = Vector2( 400, 160 )
|
|
nodes/fragment/0/position = Vector2( 1040, 260 )
|
|
nodes/fragment/3/node = SubResource( 1 )
|
|
nodes/fragment/3/position = Vector2( 600, 420 )
|
|
nodes/fragment/4/node = SubResource( 2 )
|
|
nodes/fragment/4/position = Vector2( 460, 300 )
|
|
nodes/fragment/6/node = SubResource( 3 )
|
|
nodes/fragment/6/position = Vector2( 740, 200 )
|
|
nodes/fragment/connections = PoolIntArray( 3, 1, 0, 1, 4, 0, 6, 2, 6, 0, 0, 0 )
|
|
|
|
[sub_resource type="ShaderMaterial" id=5]
|
|
render_priority = -1
|
|
shader = SubResource( 4 )
|
|
|
|
[node name="Dialog" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
script = ExtResource( 3 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
title_path = NodePath("MarginContainer/VBoxContainer/MarginContainer/MarginContainer/CharacterName")
|
|
text_path = NodePath("MarginContainer/VBoxContainer/MarginContainer2/MarginContainer/DialogText")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
custom_constants/margin_right = 4
|
|
custom_constants/margin_left = 4
|
|
custom_constants/margin_bottom = 0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
|
|
margin_left = 4.0
|
|
margin_right = 188.0
|
|
margin_bottom = 108.0
|
|
custom_constants/separation = 0
|
|
alignment = 2
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/VBoxContainer"]
|
|
margin_top = 47.0
|
|
margin_right = 22.0
|
|
margin_bottom = 80.0
|
|
size_flags_horizontal = 0
|
|
size_flags_stretch_ratio = 0.2
|
|
custom_constants/margin_right = 4
|
|
custom_constants/margin_left = 4
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="DialogBackground" type="NinePatchRect" parent="MarginContainer/VBoxContainer/MarginContainer"]
|
|
show_behind_parent = true
|
|
material = SubResource( 5 )
|
|
margin_left = 4.0
|
|
margin_right = 18.0
|
|
margin_bottom = 33.0
|
|
texture = ExtResource( 1 )
|
|
patch_margin_left = 1
|
|
patch_margin_top = 1
|
|
patch_margin_right = 1
|
|
patch_margin_bottom = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/VBoxContainer/MarginContainer"]
|
|
margin_left = 4.0
|
|
margin_right = 18.0
|
|
margin_bottom = 33.0
|
|
size_flags_horizontal = 0
|
|
custom_constants/margin_right = 4
|
|
custom_constants/margin_left = 4
|
|
|
|
[node name="CharacterName" type="RichTextLabel" parent="MarginContainer/VBoxContainer/MarginContainer/MarginContainer"]
|
|
margin_left = 4.0
|
|
margin_right = 10.0
|
|
margin_bottom = 33.0
|
|
rect_min_size = Vector2( 6, 0 )
|
|
rect_clip_content = false
|
|
size_flags_horizontal = 0
|
|
custom_fonts/normal_font = ExtResource( 2 )
|
|
text = "Ely"
|
|
fit_content_height = true
|
|
scroll_active = false
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="MarginContainer2" type="MarginContainer" parent="MarginContainer/VBoxContainer"]
|
|
show_behind_parent = true
|
|
margin_top = 80.0
|
|
margin_right = 184.0
|
|
margin_bottom = 108.0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="DialogBackground2" type="NinePatchRect" parent="MarginContainer/VBoxContainer/MarginContainer2"]
|
|
show_behind_parent = true
|
|
material = SubResource( 5 )
|
|
margin_right = 184.0
|
|
margin_bottom = 28.0
|
|
texture = ExtResource( 1 )
|
|
patch_margin_left = 10
|
|
patch_margin_top = 10
|
|
patch_margin_right = 10
|
|
patch_margin_bottom = 10
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/VBoxContainer/MarginContainer2"]
|
|
margin_right = 184.0
|
|
margin_bottom = 28.0
|
|
custom_constants/margin_right = 6
|
|
custom_constants/margin_top = 2
|
|
custom_constants/margin_left = 6
|
|
custom_constants/margin_bottom = 2
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="DialogText" type="RichTextLabel" parent="MarginContainer/VBoxContainer/MarginContainer2/MarginContainer"]
|
|
margin_left = 6.0
|
|
margin_top = 2.0
|
|
margin_right = 178.0
|
|
margin_bottom = 26.0
|
|
rect_clip_content = false
|
|
size_flags_horizontal = 3
|
|
custom_fonts/mono_font = ExtResource( 5 )
|
|
custom_fonts/italics_font = ExtResource( 4 )
|
|
custom_fonts/normal_font = ExtResource( 2 )
|
|
bbcode_enabled = true
|
|
bbcode_text = "[center][wave amp=20 freq=2]Wtf is going on[/wave], [tornado radius=1.5 freq=2]where am I[/tornado] and [code]where did you hide[/code] [i]the cheese[/i]?![/center]"
|
|
text = "Wtf is going on, where am I and where did you hide the cheese?!"
|
|
fit_content_height = true
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|