improvements
This commit is contained in:
45
scenes/dialogue_system.tscn
Normal file
45
scenes/dialogue_system.tscn
Normal file
@@ -0,0 +1,45 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://hnknhvuc6wut"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/dialogue_system.gd" id="1_78qb7"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_u70vs"]
|
||||
border_width_left = 10
|
||||
border_width_top = 10
|
||||
border_width_right = 10
|
||||
border_width_bottom = 10
|
||||
corner_radius_top_left = 25
|
||||
corner_radius_top_right = 25
|
||||
corner_radius_bottom_right = 25
|
||||
corner_radius_bottom_left = 25
|
||||
|
||||
[node name="DialogueSystem" type="Node2D"]
|
||||
script = ExtResource("1_78qb7")
|
||||
text_reveal_speed = 0.02
|
||||
|
||||
[node name="PanelContainer" type="PanelContainer" parent="."]
|
||||
clip_children = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -125.0
|
||||
offset_top = -50.0
|
||||
offset_right = 125.0
|
||||
offset_bottom = 50.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_u70vs")
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="PanelContainer"]
|
||||
custom_minimum_size = Vector2(250, 100)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Control" type="Control" parent="PanelContainer/ColorRect"]
|
||||
anchors_preset = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
|
||||
[node name="Label" type="Label" parent="PanelContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
||||
Reference in New Issue
Block a user