renamed main game scene

started work on main menu scene
moved all custom fonts into their own resources
master
Zac 4 years ago
parent f63764494d
commit 00ccd25d8d

@ -0,0 +1,7 @@
[gd_resource type="DynamicFont" load_steps=2 format=2]
[ext_resource path="res://fonts/FreeMonoBold.ttf" type="DynamicFontData" id=1]
[resource]
size = 14
font_data = ExtResource( 1 )

@ -0,0 +1,7 @@
[gd_resource type="DynamicFont" load_steps=2 format=2]
[ext_resource path="res://fonts/FreeMonoBoldOblique.ttf" type="DynamicFontData" id=1]
[resource]
size = 14
font_data = ExtResource( 1 )

@ -0,0 +1,7 @@
[gd_resource type="DynamicFont" load_steps=2 format=2]
[ext_resource path="res://fonts/FreeMonoOblique.ttf" type="DynamicFontData" id=1]
[resource]
size = 14
font_data = ExtResource( 1 )

@ -0,0 +1,7 @@
[gd_resource type="DynamicFont" load_steps=2 format=2]
[ext_resource path="res://fonts/FreeMono.ttf" type="DynamicFontData" id=1]
[resource]
size = 14
font_data = ExtResource( 1 )

@ -3,10 +3,5 @@
[ext_resource path="res://fonts/FreeMono.ttf" type="DynamicFontData" id=1]
[resource]
size = 15
use_mipmaps = false
use_filter = false
font_data = ExtResource( 1 )
_sections_unfolded = [ "Settings" ]

@ -16,7 +16,7 @@ _global_script_class_icons={
[application]
config/name="Textual Royale"
run/main_scene="res://scenes/MainUI.tscn"
run/main_scene="res://scenes/Game.tscn"
config/icon="res://images/icon.png"
[display]

@ -1,42 +1,26 @@
[gd_scene load_steps=15 format=2]
[gd_scene load_steps=11 format=2]
[ext_resource path="res://scripts/MainGame.gd" type="Script" id=1]
[ext_resource path="res://textures/hp_border.png" type="Texture" id=2]
[ext_resource path="res://textures/white_fill.png" type="Texture" id=3]
[ext_resource path="res://fonts/UIFont.tres" type="DynamicFont" id=4]
[ext_resource path="res://fonts/FreeMonoBoldOblique.ttf" type="DynamicFontData" id=5]
[ext_resource path="res://fonts/FreeMonoOblique.ttf" type="DynamicFontData" id=6]
[ext_resource path="res://fonts/FreeMonoBold.ttf" type="DynamicFontData" id=7]
[ext_resource path="res://fonts/FreeMono.ttf" type="DynamicFontData" id=8]
[ext_resource path="res://fonts/BoldItalicFont.tres" type="DynamicFont" id=5]
[ext_resource path="res://fonts/ItalicsFont.tres" type="DynamicFont" id=6]
[ext_resource path="res://fonts/BoldFont.tres" type="DynamicFont" id=7]
[ext_resource path="res://fonts/MainFont.tres" type="DynamicFont" id=8]
[sub_resource type="DynamicFont" id=1]
size = 14
font_data = ExtResource( 5 )
[sub_resource type="StyleBoxEmpty" id=1]
[sub_resource type="DynamicFont" id=2]
size = 14
font_data = ExtResource( 6 )
[sub_resource type="DynamicFont" id=3]
size = 14
font_data = ExtResource( 7 )
[sub_resource type="DynamicFont" id=4]
size = 14
font_data = ExtResource( 8 )
[sub_resource type="StyleBoxEmpty" id=5]
[sub_resource type="StyleBoxFlat" id=6]
[sub_resource type="StyleBoxFlat" id=2]
bg_color = Color( 0, 0, 0, 1 )
[node name="Main" type="Control"]
[node name="Game" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 1 )
__meta__ = {
"_edit_horizontal_guides_": [ 557.882, 536.731, 582.06, 51.0993, 30.8225, 18.7946 ],
"_edit_vertical_guides_": [ 1006.05, 18.0298, 157.102, 287.156, 304.038, 407.368, 424.092, 43.0864, 981.017, 186.484, 219.334, 317.047, 350.013, 908.451, 925.253, 65.1653, 82.0752 ]
"_edit_vertical_guides_": [ 1006.05, 18.0298, 157.102, 287.156, 304.038, 407.368, 424.092, 43.0864, 981.017, 186.484, 219.334, 317.047, 350.013, 908.451, 925.253, 65.1653, 82.0752, 850.002 ]
}
[node name="background" type="ColorRect" parent="."]
@ -51,6 +35,7 @@ margin_right = -19.0
margin_bottom = 51.0
[node name="HP" type="Control" parent="Information"]
editor/display_folded = true
margin_right = 40.0
margin_bottom = 40.0
__meta__ = {
@ -141,6 +126,7 @@ custom_fonts/font = ExtResource( 4 )
custom_colors/font_color = Color( 0.93927, 1, 0.222656, 1 )
[node name="Timer" type="Control" parent="Information"]
editor/display_folded = true
margin_left = 629.0
margin_right = 669.0
margin_bottom = 40.0
@ -168,7 +154,6 @@ custom_colors/font_color = Color( 0.933608, 0, 0, 1 )
text = "00:00"
[node name="TextDisplay" type="Control" parent="."]
editor/display_folded = true
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 18.0
@ -180,21 +165,21 @@ __meta__ = {
}
[node name="ColorRect" type="ColorRect" parent="TextDisplay"]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
margin_right = -156.0
color = Color( 0.699219, 0, 0, 1 )
[node name="RichTextLabel" type="RichTextLabel" parent="TextDisplay"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_right = -494.0
margin_right = -572.0
margin_bottom = -230.0
rect_scale = Vector2( 2, 2 )
custom_fonts/bold_italics_font = SubResource( 1 )
custom_fonts/italics_font = SubResource( 2 )
custom_fonts/bold_font = SubResource( 3 )
custom_fonts/normal_font = SubResource( 4 )
custom_fonts/bold_italics_font = ExtResource( 5 )
custom_fonts/italics_font = ExtResource( 6 )
custom_fonts/bold_font = ExtResource( 7 )
custom_fonts/normal_font = ExtResource( 8 )
bbcode_enabled = true
bbcode_text = "test
[b]test[/b]
@ -235,8 +220,8 @@ margin_top = -38.0
margin_right = -495.0
margin_bottom = -23.0
rect_scale = Vector2( 2.1, 2.1 )
custom_styles/focus = SubResource( 5 )
custom_styles/normal = SubResource( 6 )
custom_styles/focus = SubResource( 1 )
custom_styles/normal = SubResource( 2 )
custom_fonts/font = ExtResource( 4 )
context_menu_enabled = false
placeholder_text = "Enter Command"

@ -0,0 +1,147 @@
[gd_scene load_steps=8 format=2]
[ext_resource path="res://fonts/MainFont.tres" type="DynamicFont" id=1]
[ext_resource path="res://fonts/UIFont.tres" type="DynamicFont" id=2]
[ext_resource path="res://fonts/BoldItalicFont.tres" type="DynamicFont" id=3]
[ext_resource path="res://fonts/ItalicsFont.tres" type="DynamicFont" id=4]
[ext_resource path="res://fonts/BoldFont.tres" type="DynamicFont" id=5]
[sub_resource type="StyleBoxEmpty" id=5]
[sub_resource type="StyleBoxFlat" id=6]
bg_color = Color( 0, 0, 0, 1 )
[node name="MainMenu" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_horizontal_guides_": [ 557.882, 536.731, 582.06, 51.0993, 30.8225, 18.7946 ],
"_edit_vertical_guides_": [ 1006.05, 18.0298, 157.102, 287.156, 304.038, 407.368, 424.092, 43.0864, 981.017, 186.484, 219.334, 317.047, 350.013, 908.451, 925.253, 65.1653, 82.0752, 850.002 ]
}
[node name="background" type="ColorRect" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
color = Color( 0, 0, 0, 1 )
[node name="Information" type="Control" parent="."]
editor/display_folded = true
anchor_right = 1.0
margin_left = 18.0
margin_right = -19.0
margin_bottom = 51.0
__meta__ = {
"_edit_group_": true
}
[node name="Title" type="RichTextLabel" parent="Information"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -63.0
margin_top = -7.5
margin_right = 63.0
margin_bottom = 7.5
rect_scale = Vector2( 2.5, 2.5 )
rect_pivot_offset = Vector2( 63, 7 )
custom_fonts/normal_font = ExtResource( 1 )
text = "Textual Royale"
scroll_active = false
[node name="SideBar" type="Control" parent="Information"]
visible = false
margin_left = 832.0
margin_top = 51.0
margin_right = 988.0
margin_bottom = 537.0
[node name="Label" type="Label" parent="Information/SideBar"]
anchor_right = 1.0
margin_right = -41.0
margin_bottom = 51.0
rect_scale = Vector2( 1.5, 1.5 )
custom_fonts/font = ExtResource( 2 )
text = "Player
List
-----------"
align = 1
valign = 1
[node name="PlayerList" type="Label" parent="Information/SideBar"]
anchor_right = 1.0
margin_left = 13.0
margin_top = 74.0
margin_right = -45.0
margin_bottom = 348.0
rect_scale = Vector2( 1.5, 1.5 )
custom_fonts/font = ExtResource( 2 )
text = "player1
player2
player3
player4"
align = 1
[node name="TextDisplay" type="Control" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 18.0
margin_top = 51.0
margin_right = -18.0
margin_bottom = -64.0
__meta__ = {
"_edit_group_": true
}
[node name="RichTextLabel" type="RichTextLabel" parent="TextDisplay"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_right = -572.0
margin_bottom = -230.0
rect_scale = Vector2( 2, 2 )
custom_fonts/bold_italics_font = ExtResource( 3 )
custom_fonts/italics_font = ExtResource( 4 )
custom_fonts/bold_font = ExtResource( 5 )
custom_fonts/normal_font = ExtResource( 1 )
bbcode_enabled = true
bbcode_text = "[i]Welcome to [b]Textual Royale[/b][/i]
> [b]help[/b] for a quickstart"
text = "Welcome to Textual Royale
> help for a quickstart"
scroll_active = false
scroll_following = true
[node name="UserInput" type="Control" parent="."]
editor/display_folded = true
margin_left = 18.0
margin_top = 537.0
margin_right = 1006.0
margin_bottom = 582.0
[node name="Label" type="Label" parent="UserInput"]
margin_right = 14.0
margin_bottom = 15.0
rect_scale = Vector2( 3, 3 )
custom_fonts/font = ExtResource( 2 )
text = ">"
align = 1
valign = 1
uppercase = true
[node name="CommandEntry" type="LineEdit" parent="UserInput"]
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 42.0
margin_top = -38.0
margin_right = -495.0
margin_bottom = -23.0
rect_scale = Vector2( 2.1, 2.1 )
custom_styles/focus = SubResource( 5 )
custom_styles/normal = SubResource( 6 )
custom_fonts/font = ExtResource( 2 )
context_menu_enabled = false
placeholder_text = "Enter Command"
placeholder_alpha = 0.4
caret_blink = true
[connection signal="text_entered" from="UserInput/CommandEntry" to="." method="_on_CommandEntry_entered"]
Loading…
Cancel
Save