Dev env & bugfixes
This commit is contained in:
139
client/Nodes/GUI.tscn
Normal file
139
client/Nodes/GUI.tscn
Normal file
@ -0,0 +1,139 @@
|
||||
[gd_scene load_steps=9 format=2]
|
||||
|
||||
[ext_resource path="res://Assets/Themes/default.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/zapper-v1.1/Zapper.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/targets-v3.1/Targets.ttf" type="DynamicFontData" id=5]
|
||||
|
||||
[sub_resource type="DynamicFont" id=2]
|
||||
size = 18
|
||||
font_data = ExtResource( 5 )
|
||||
|
||||
[sub_resource type="DynamicFont" id=17]
|
||||
size = 48
|
||||
font_data = ExtResource( 3 )
|
||||
|
||||
[sub_resource type="DynamicFont" id=18]
|
||||
size = 32
|
||||
outline_size = 1
|
||||
outline_color = Color( 0, 0, 0, 1 )
|
||||
font_data = ExtResource( 4 )
|
||||
|
||||
[node name="GUI" type="CanvasLayer"]
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="Dialog" type="Control" parent="."]
|
||||
visible = false
|
||||
anchor_left = 0.5
|
||||
anchor_top = 1.0
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 1.0
|
||||
margin_left = -512.0
|
||||
margin_top = -173.0
|
||||
margin_right = 512.0
|
||||
theme = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Textbox" type="ColorRect" parent="Dialog"]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 1.0
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 1.0
|
||||
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
|
||||
margin_top = 8.0
|
||||
margin_right = 594.0
|
||||
margin_bottom = 34.0
|
||||
text = "Speaker"
|
||||
__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
|
||||
margin_left = 12.0
|
||||
margin_top = -16.5
|
||||
margin_right = -39.0
|
||||
margin_bottom = 49.5
|
||||
custom_fonts/font = SubResource( 2 )
|
||||
text = "Hello world!"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Choices" type="HBoxContainer" parent="Dialog"]
|
||||
visible = false
|
||||
anchor_left = 0.5
|
||||
anchor_top = 1.0
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 1.0
|
||||
margin_left = -472.0
|
||||
margin_top = -172.0
|
||||
margin_right = 472.0
|
||||
margin_bottom = -148.0
|
||||
alignment = 1
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Button" type="Button" parent="Dialog/Choices"]
|
||||
margin_left = 297.0
|
||||
margin_right = 371.0
|
||||
margin_bottom = 26.0
|
||||
text = "Choice"
|
||||
|
||||
[node name="Button2" type="Button" parent="Dialog/Choices"]
|
||||
margin_left = 435.0
|
||||
margin_right = 509.0
|
||||
margin_bottom = 26.0
|
||||
text = "Choice"
|
||||
|
||||
[node name="Button3" type="Button" parent="Dialog/Choices"]
|
||||
margin_left = 573.0
|
||||
margin_right = 647.0
|
||||
margin_bottom = 26.0
|
||||
text = "Choice"
|
||||
|
||||
[node name="ZoneLabel" type="Label" parent="."]
|
||||
anchor_top = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_left = 12.0
|
||||
margin_top = -59.0
|
||||
margin_right = 1257.0
|
||||
margin_bottom = -8.0
|
||||
custom_fonts/font = SubResource( 17 )
|
||||
text = "Entering: Depths"
|
||||
valign = 2
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Tip" type="Label" parent="."]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
margin_left = -386.0
|
||||
margin_top = -110.5
|
||||
margin_right = 386.0
|
||||
margin_bottom = 110.5
|
||||
custom_fonts/font = SubResource( 18 )
|
||||
text = "Press WASD to move"
|
||||
align = 1
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
@ -21,7 +21,7 @@ region = Rect2( 2, 6, 1, 1 )
|
||||
[sub_resource type="AtlasTexture" id=3]
|
||||
flags = 8
|
||||
atlas = ExtResource( 2 )
|
||||
region = Rect2( 1, 1, 3, 4 )
|
||||
region = Rect2( 1, 1, 4, 4 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=4]
|
||||
flags = 8
|
||||
@ -699,6 +699,7 @@ __meta__ = {
|
||||
material = ExtResource( 1 )
|
||||
position = Vector2( 0, -2.25 )
|
||||
texture = SubResource( 3 )
|
||||
offset = Vector2( 0.5, 0 )
|
||||
__meta__ = {
|
||||
"_edit_bone_": true
|
||||
}
|
||||
|
Reference in New Issue
Block a user