Major GUI changes

This commit is contained in:
2020-05-31 02:13:56 -04:00
parent e1ea4f96cd
commit 11a8c56d1b
9 changed files with 211 additions and 29 deletions

View File

@ -1,24 +1,16 @@
[gd_scene load_steps=11 format=2]
[gd_scene load_steps=8 format=2]
[ext_resource path="res://Assets/Themes/default.tres" type="Theme" id=1]
[ext_resource path="res://Assets/Themes/main_theme.tres" type="Theme" id=1]
[ext_resource path="res://Scripts/Systems/GameGui.gd" type="Script" id=2]
[ext_resource path="res://Assets/Proprietary/hf-scifi-complete/improbable-v1/Improbable.ttf" type="DynamicFontData" id=3]
[ext_resource path="res://Assets/Proprietary/hf-scifi-complete/zapper-v1.1/Zapper.otf" type="DynamicFontData" id=4]
[ext_resource path="res://Assets/Proprietary/hf-scifi-complete/marksman-v1/Marksman.ttf" type="DynamicFontData" id=5]
[ext_resource path="res://Scripts/Entities/Fader.gd" type="Script" id=6]
[sub_resource type="DynamicFont" id=1]
size = 18
font_data = ExtResource( 4 )
[sub_resource type="StyleBoxFlat" id=2]
bg_color = Color( 0.2, 0.376471, 0.368627, 0.694118 )
[sub_resource type="DynamicFont" id=3]
size = 48
font_data = ExtResource( 3 )
[sub_resource type="DynamicFont" id=4]
[sub_resource type="DynamicFont" id=2]
size = 32
outline_size = 2
outline_color = Color( 0, 0, 0, 0.45098 )
@ -28,7 +20,6 @@ font_data = ExtResource( 5 )
script = ExtResource( 2 )
[node name="Dialog" type="Control" parent="."]
visible = false
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
@ -41,7 +32,7 @@ __meta__ = {
"_edit_use_anchors_": false
}
[node name="Textbox" type="ColorRect" parent="Dialog"]
[node name="Textbox" type="Panel" parent="Dialog"]
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
@ -50,10 +41,6 @@ margin_left = -475.0
margin_top = -143.0
margin_right = 475.0
margin_bottom = -20.0
color = Color( 0.254902, 0.513726, 0.505882, 0.870588 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Speaker" type="Label" parent="Dialog/Textbox"]
margin_left = 12.0
@ -65,16 +52,13 @@ __meta__ = {
"_edit_use_anchors_": false
}
[node name="Body" type="Label" parent="Dialog/Textbox"]
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
[node name="Body" type="RichTextLabel" parent="Dialog/Textbox"]
margin_left = 12.0
margin_top = -16.5
margin_right = -39.0
margin_bottom = 49.5
custom_fonts/font = SubResource( 1 )
text = "Hello world!"
margin_top = 40.0
margin_right = 933.0
margin_bottom = 111.0
text = "Hello world! ' & * $"
scroll_active = false
__meta__ = {
"_edit_use_anchors_": false
}
@ -84,7 +68,6 @@ margin_left = 37.0
margin_top = -9.0
margin_right = 987.0
margin_bottom = 22.0
custom_styles/panel = SubResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
@ -122,7 +105,7 @@ margin_left = 12.0
margin_top = -59.0
margin_right = 1257.0
margin_bottom = -8.0
custom_fonts/font = SubResource( 3 )
custom_fonts/font = SubResource( 1 )
text = "Entering: Depths"
valign = 2
__meta__ = {
@ -138,7 +121,7 @@ margin_left = -386.0
margin_top = -110.5
margin_right = 386.0
margin_bottom = 110.5
custom_fonts/font = SubResource( 4 )
custom_fonts/font = SubResource( 2 )
text = "Press WASD to move"
align = 1
__meta__ = {