UI improvement start
This commit is contained in:
@@ -1,44 +1,41 @@
|
||||
[gd_scene load_steps=2 format=3]
|
||||
[gd_scene load_steps=2 format=3 uid="uid://dseump8dmnrra"]
|
||||
|
||||
[ext_resource type="Script" path="res://scenes/chat/chat_overlay.gd" id="1_overlay"]
|
||||
[ext_resource type="Script" uid="uid://b04hb2kfvfmw2" path="res://scenes/chat/chat_overlay.gd" id="1_overlay"]
|
||||
|
||||
[node name="ChatOverlay" type="CanvasLayer"]
|
||||
layer = 100
|
||||
script = ExtResource("1_overlay")
|
||||
|
||||
[node name="ChatBubble" type="Button" parent="."]
|
||||
layout_mode = 0
|
||||
anchors_preset = 3
|
||||
anchor_left = 1.0
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -76.0
|
||||
offset_top = -76.0
|
||||
offset_right = -16.0
|
||||
offset_bottom = -16.0
|
||||
offset_left = -106.0
|
||||
offset_top = -422.0
|
||||
offset_right = -46.0
|
||||
offset_bottom = -362.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 0
|
||||
text = "Chat"
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Chat"
|
||||
|
||||
[node name="BadgeLabel" type="Label" parent="ChatBubble"]
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
anchor_left = 1.0
|
||||
anchor_top = 0.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 0.0
|
||||
offset_left = -18.0
|
||||
offset_top = -8.0
|
||||
offset_right = 8.0
|
||||
offset_bottom = 12.0
|
||||
visible = false
|
||||
text = ""
|
||||
horizontal_alignment = 1
|
||||
theme_override_font_sizes/font_size = 10
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="ChatPanel" type="PanelContainer" parent="."]
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
anchors_preset = 3
|
||||
anchor_left = 1.0
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
@@ -51,19 +48,14 @@ grow_horizontal = 0
|
||||
grow_vertical = 0
|
||||
|
||||
[node name="RootVBox" type="VBoxContainer" parent="ChatPanel"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
[node name="Header" type="MarginContainer" parent="ChatPanel/RootVBox"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 12
|
||||
theme_override_constants/margin_right = 8
|
||||
theme_override_constants/margin_top = 6
|
||||
theme_override_constants/margin_right = 8
|
||||
theme_override_constants/margin_bottom = 6
|
||||
|
||||
[node name="HeaderInner" type="HBoxContainer" parent="ChatPanel/RootVBox/Header"]
|
||||
@@ -74,73 +66,73 @@ theme_override_constants/separation = 8
|
||||
[node name="TitleLabel" type="Label" parent="ChatPanel/RootVBox/Header/HeaderInner"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Chat"
|
||||
theme_override_font_sizes/font_size = 15
|
||||
text = "Chat"
|
||||
|
||||
[node name="CloseBtn" type="Button" parent="ChatPanel/RootVBox/Header/HeaderInner"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
flat = true
|
||||
text = "✕"
|
||||
theme_override_font_sizes/font_size = 14
|
||||
text = "✕"
|
||||
flat = true
|
||||
|
||||
[node name="HeaderSep" type="HSeparator" parent="ChatPanel/RootVBox"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="TabBar" type="HBoxContainer" parent="ChatPanel/RootVBox"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
custom_minimum_size = Vector2(0, 28)
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
[node name="FriendsTabBtn" type="Button" parent="ChatPanel/RootVBox/TabBar"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
flat = true
|
||||
text = "Friends"
|
||||
theme_override_font_sizes/font_size = 11
|
||||
text = "Friends"
|
||||
flat = true
|
||||
|
||||
[node name="PresenceTabBtn" type="Button" parent="ChatPanel/RootVBox/TabBar"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
flat = true
|
||||
text = "Presence"
|
||||
theme_override_font_sizes/font_size = 11
|
||||
text = "Presence"
|
||||
flat = true
|
||||
|
||||
[node name="GlobalTabBtn" type="Button" parent="ChatPanel/RootVBox/TabBar"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
flat = true
|
||||
text = "Global"
|
||||
theme_override_font_sizes/font_size = 11
|
||||
text = "Global"
|
||||
flat = true
|
||||
|
||||
[node name="LobbyTabBtn" type="Button" parent="ChatPanel/RootVBox/TabBar"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
flat = true
|
||||
text = "Lobby"
|
||||
theme_override_font_sizes/font_size = 11
|
||||
text = "Lobby"
|
||||
flat = true
|
||||
|
||||
[node name="GameTabBtn" type="Button" parent="ChatPanel/RootVBox/TabBar"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
flat = true
|
||||
text = "Game"
|
||||
theme_override_font_sizes/font_size = 11
|
||||
text = "Game"
|
||||
flat = true
|
||||
|
||||
[node name="PartyTabBtn" type="Button" parent="ChatPanel/RootVBox/TabBar"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
flat = true
|
||||
text = "Party"
|
||||
theme_override_font_sizes/font_size = 11
|
||||
text = "Party"
|
||||
flat = true
|
||||
|
||||
[node name="DmsTabBtn" type="Button" parent="ChatPanel/RootVBox/TabBar"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
flat = true
|
||||
text = "DMs"
|
||||
theme_override_font_sizes/font_size = 11
|
||||
text = "DMs"
|
||||
flat = true
|
||||
|
||||
[node name="TabSep" type="HSeparator" parent="ChatPanel/RootVBox"]
|
||||
layout_mode = 2
|
||||
@@ -151,19 +143,19 @@ layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="FriendsPane" type="VBoxContainer" parent="ChatPanel/RootVBox/ContentArea"]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
visible = false
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
[node name="RequestsSection" type="VBoxContainer" parent="ChatPanel/RootVBox/ContentArea/FriendsPane"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
[node name="ReqMargin" type="MarginContainer" parent="ChatPanel/RootVBox/ContentArea/FriendsPane/RequestsSection"]
|
||||
@@ -173,10 +165,10 @@ theme_override_constants/margin_top = 6
|
||||
theme_override_constants/margin_bottom = 2
|
||||
|
||||
[node name="ReqHeader" type="Label" parent="ChatPanel/RootVBox/ContentArea/FriendsPane/RequestsSection/ReqMargin"]
|
||||
layout_mode = 2
|
||||
text = "FRIEND REQUESTS"
|
||||
modulate = Color(0.52, 0.52, 0.58, 1)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 10
|
||||
text = "FRIEND REQUESTS"
|
||||
|
||||
[node name="RequestsList" type="VBoxContainer" parent="ChatPanel/RootVBox/ContentArea/FriendsPane/RequestsSection"]
|
||||
unique_name_in_owner = true
|
||||
@@ -198,20 +190,20 @@ size_flags_horizontal = 3
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
[node name="PresencePane" type="VBoxContainer" parent="ChatPanel/RootVBox/ContentArea"]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
visible = false
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
[node name="StatusMargin" type="MarginContainer" parent="ChatPanel/RootVBox/ContentArea/PresencePane"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 12
|
||||
theme_override_constants/margin_right = 12
|
||||
theme_override_constants/margin_top = 8
|
||||
theme_override_constants/margin_right = 12
|
||||
theme_override_constants/margin_bottom = 8
|
||||
|
||||
[node name="StatusHBox" type="HBoxContainer" parent="ChatPanel/RootVBox/ContentArea/PresencePane/StatusMargin"]
|
||||
@@ -222,8 +214,8 @@ theme_override_constants/separation = 8
|
||||
[node name="StatusLabel" type="Label" parent="ChatPanel/RootVBox/ContentArea/PresencePane/StatusMargin/StatusHBox"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "My Status:"
|
||||
theme_override_font_sizes/font_size = 13
|
||||
text = "My Status:"
|
||||
|
||||
[node name="PresenceOption" type="OptionButton" parent="ChatPanel/RootVBox/ContentArea/PresencePane/StatusMargin/StatusHBox"]
|
||||
unique_name_in_owner = true
|
||||
@@ -240,10 +232,10 @@ theme_override_constants/margin_top = 6
|
||||
theme_override_constants/margin_bottom = 2
|
||||
|
||||
[node name="PresenceHeaderLabel" type="Label" parent="ChatPanel/RootVBox/ContentArea/PresencePane/PresenceHeaderMargin"]
|
||||
layout_mode = 2
|
||||
text = "FRIENDS PRESENCE"
|
||||
modulate = Color(0.52, 0.52, 0.58, 1)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 10
|
||||
text = "FRIENDS PRESENCE"
|
||||
|
||||
[node name="PresenceScroll" type="ScrollContainer" parent="ChatPanel/RootVBox/ContentArea/PresencePane"]
|
||||
layout_mode = 2
|
||||
@@ -257,13 +249,13 @@ size_flags_horizontal = 3
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
[node name="GlobalPane" type="VBoxContainer" parent="ChatPanel/RootVBox/ContentArea"]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
visible = false
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
[node name="GlobalScroll" type="ScrollContainer" parent="ChatPanel/RootVBox/ContentArea/GlobalPane"]
|
||||
@@ -275,8 +267,8 @@ horizontal_scroll_mode = 0
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_constants/margin_left = 8
|
||||
theme_override_constants/margin_right = 8
|
||||
theme_override_constants/margin_top = 4
|
||||
theme_override_constants/margin_right = 8
|
||||
theme_override_constants/margin_bottom = 4
|
||||
|
||||
[node name="GlobalList" type="VBoxContainer" parent="ChatPanel/RootVBox/ContentArea/GlobalPane/GlobalScroll/GlobalMargin"]
|
||||
@@ -286,13 +278,13 @@ size_flags_horizontal = 3
|
||||
theme_override_constants/separation = 2
|
||||
|
||||
[node name="LobbyPane" type="VBoxContainer" parent="ChatPanel/RootVBox/ContentArea"]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
visible = false
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
[node name="LobbyScroll" type="ScrollContainer" parent="ChatPanel/RootVBox/ContentArea/LobbyPane"]
|
||||
@@ -304,8 +296,8 @@ horizontal_scroll_mode = 0
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_constants/margin_left = 8
|
||||
theme_override_constants/margin_right = 8
|
||||
theme_override_constants/margin_top = 4
|
||||
theme_override_constants/margin_right = 8
|
||||
theme_override_constants/margin_bottom = 4
|
||||
|
||||
[node name="LobbyList" type="VBoxContainer" parent="ChatPanel/RootVBox/ContentArea/LobbyPane/LobbyScroll/LobbyMargin"]
|
||||
@@ -315,13 +307,13 @@ size_flags_horizontal = 3
|
||||
theme_override_constants/separation = 2
|
||||
|
||||
[node name="GamePane" type="VBoxContainer" parent="ChatPanel/RootVBox/ContentArea"]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
visible = false
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
[node name="GameScroll" type="ScrollContainer" parent="ChatPanel/RootVBox/ContentArea/GamePane"]
|
||||
@@ -333,8 +325,8 @@ horizontal_scroll_mode = 0
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_constants/margin_left = 8
|
||||
theme_override_constants/margin_right = 8
|
||||
theme_override_constants/margin_top = 4
|
||||
theme_override_constants/margin_right = 8
|
||||
theme_override_constants/margin_bottom = 4
|
||||
|
||||
[node name="GameList" type="VBoxContainer" parent="ChatPanel/RootVBox/ContentArea/GamePane/GameScroll/GameMargin"]
|
||||
@@ -344,27 +336,27 @@ size_flags_horizontal = 3
|
||||
theme_override_constants/separation = 2
|
||||
|
||||
[node name="PartyPane" type="VBoxContainer" parent="ChatPanel/RootVBox/ContentArea"]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
visible = false
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
[node name="PartyActionBar" type="HBoxContainer" parent="ChatPanel/RootVBox/ContentArea/PartyPane"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 4
|
||||
|
||||
[node name="PartyActionMargin" type="MarginContainer" parent="ChatPanel/RootVBox/ContentArea/PartyPane/PartyActionBar"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_constants/margin_left = 8
|
||||
theme_override_constants/margin_right = 8
|
||||
theme_override_constants/margin_top = 4
|
||||
theme_override_constants/margin_right = 8
|
||||
theme_override_constants/margin_bottom = 4
|
||||
|
||||
[node name="PartyActionInner" type="HBoxContainer" parent="ChatPanel/RootVBox/ContentArea/PartyPane/PartyActionBar/PartyActionMargin"]
|
||||
@@ -373,26 +365,26 @@ theme_override_constants/separation = 6
|
||||
|
||||
[node name="PartyNameLabel" type="Label" parent="ChatPanel/RootVBox/ContentArea/PartyPane/PartyActionBar/PartyActionMargin/PartyActionInner"]
|
||||
unique_name_in_owner = true
|
||||
modulate = Color(0.42, 1, 0.58, 1)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Party"
|
||||
modulate = Color(0.42, 1.0, 0.58, 1)
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Party"
|
||||
|
||||
[node name="RenameBtn" type="Button" parent="ChatPanel/RootVBox/ContentArea/PartyPane/PartyActionBar/PartyActionMargin/PartyActionInner"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
flat = true
|
||||
text = "Rename"
|
||||
theme_override_font_sizes/font_size = 11
|
||||
text = "Rename"
|
||||
flat = true
|
||||
|
||||
[node name="LeaveBtn" type="Button" parent="ChatPanel/RootVBox/ContentArea/PartyPane/PartyActionBar/PartyActionMargin/PartyActionInner"]
|
||||
unique_name_in_owner = true
|
||||
modulate = Color(1, 0.38, 0.38, 1)
|
||||
layout_mode = 2
|
||||
flat = true
|
||||
text = "Leave"
|
||||
modulate = Color(1.0, 0.38, 0.38, 1)
|
||||
theme_override_font_sizes/font_size = 11
|
||||
text = "Leave"
|
||||
flat = true
|
||||
|
||||
[node name="PartyActionSep" type="HSeparator" parent="ChatPanel/RootVBox/ContentArea/PartyPane"]
|
||||
layout_mode = 2
|
||||
@@ -406,8 +398,8 @@ horizontal_scroll_mode = 0
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_constants/margin_left = 8
|
||||
theme_override_constants/margin_right = 8
|
||||
theme_override_constants/margin_top = 4
|
||||
theme_override_constants/margin_right = 8
|
||||
theme_override_constants/margin_bottom = 4
|
||||
|
||||
[node name="PartyList" type="VBoxContainer" parent="ChatPanel/RootVBox/ContentArea/PartyPane/PartyScroll/PartyMargin"]
|
||||
@@ -417,18 +409,18 @@ size_flags_horizontal = 3
|
||||
theme_override_constants/separation = 2
|
||||
|
||||
[node name="DmsPane" type="HBoxContainer" parent="ChatPanel/RootVBox/ContentArea"]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
visible = false
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
[node name="DmConvArea" type="VBoxContainer" parent="ChatPanel/RootVBox/ContentArea/DmsPane"]
|
||||
layout_mode = 2
|
||||
custom_minimum_size = Vector2(110, 0)
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
[node name="DmConvScroll" type="ScrollContainer" parent="ChatPanel/RootVBox/ContentArea/DmsPane/DmConvArea"]
|
||||
@@ -459,8 +451,8 @@ horizontal_scroll_mode = 0
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_constants/margin_left = 8
|
||||
theme_override_constants/margin_right = 8
|
||||
theme_override_constants/margin_top = 4
|
||||
theme_override_constants/margin_right = 8
|
||||
theme_override_constants/margin_bottom = 4
|
||||
|
||||
[node name="DmMsgList" type="VBoxContainer" parent="ChatPanel/RootVBox/ContentArea/DmsPane/DmMsgArea/DmMsgScroll/DmMsgMargin"]
|
||||
@@ -474,16 +466,16 @@ layout_mode = 2
|
||||
|
||||
[node name="InputBar" type="HBoxContainer" parent="ChatPanel/RootVBox"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
[node name="InputMargin" type="MarginContainer" parent="ChatPanel/RootVBox/InputBar"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_constants/margin_left = 8
|
||||
theme_override_constants/margin_right = 8
|
||||
theme_override_constants/margin_top = 6
|
||||
theme_override_constants/margin_right = 8
|
||||
theme_override_constants/margin_bottom = 6
|
||||
|
||||
[node name="InputInner" type="HBoxContainer" parent="ChatPanel/RootVBox/InputBar/InputMargin"]
|
||||
@@ -495,13 +487,13 @@ theme_override_constants/separation = 6
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_font_sizes/font_size = 13
|
||||
placeholder_text = "Type a message..."
|
||||
max_length = 500
|
||||
theme_override_font_sizes/font_size = 13
|
||||
|
||||
[node name="SendBtn" type="Button" parent="ChatPanel/RootVBox/InputBar/InputMargin/InputInner"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
custom_minimum_size = Vector2(52, 0)
|
||||
text = "Send"
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Send"
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
[gd_resource type="StyleBoxFlat" format=3 uid="uid://byrmjtubb13d"]
|
||||
|
||||
[resource]
|
||||
bg_color = Color(0.12085935, 0.5315289, 0.731907, 0.7411765)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.49019608, 0.7529412, 0.70980394, 0.39607844)
|
||||
border_blend = true
|
||||
corner_radius_top_left = 2
|
||||
corner_radius_top_right = 7
|
||||
corner_radius_bottom_right = 2
|
||||
corner_radius_bottom_left = 7
|
||||
@@ -0,0 +1,14 @@
|
||||
[gd_resource type="StyleBoxFlat" format=3 uid="uid://cwmv43xafbylt"]
|
||||
|
||||
[resource]
|
||||
bg_color = Color(0.12156863, 0.53333336, 0.73333335, 0.4392157)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.49019608, 0.7529412, 0.70980394, 0.9372549)
|
||||
border_blend = true
|
||||
corner_radius_top_left = 2
|
||||
corner_radius_top_right = 7
|
||||
corner_radius_bottom_right = 2
|
||||
corner_radius_bottom_left = 7
|
||||
@@ -120,11 +120,16 @@ expand_mode = 1
|
||||
|
||||
[node name="SpLabel" type="Label" parent="HUD/SP-ST Panel Container/VBoxContainer/TextureRect"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 0
|
||||
offset_left = 15.0
|
||||
offset_top = 5.0
|
||||
offset_right = 62.0
|
||||
offset_bottom = 51.0
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = -0.13100001
|
||||
anchor_top = 1.144
|
||||
anchor_right = -0.13100001
|
||||
anchor_bottom = 1.144
|
||||
offset_left = 24.956001
|
||||
offset_top = -81.944
|
||||
offset_right = 71.956
|
||||
offset_bottom = -35.944
|
||||
theme_override_colors/font_color = Color(0.012617188, 0.012617188, 0.012617188, 1)
|
||||
theme_override_font_sizes/font_size = 33
|
||||
text = "88"
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://bao888tdpeg6k"]
|
||||
[gd_scene load_steps=3 format=3 uid="uid://bao888tdpeg6k"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://nxc7w7cps02h" path="res://scenes/init/init_screen.gd" id="1_init"]
|
||||
[ext_resource type="FontFile" uid="uid://e5ejn0n3nvp8" path="res://ui/gothic_ultra_ot.otf" id="2_qhtwq"]
|
||||
|
||||
[node name="InitScreen" type="Control"]
|
||||
layout_mode = 3
|
||||
@@ -18,7 +19,7 @@ anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
color = Color(0.2111159, 0.21118298, 0.28665814, 1)
|
||||
color = Color(0.2901961, 0.2901961, 0.2901961, 0)
|
||||
|
||||
[node name="Center" type="CenterContainer" parent="."]
|
||||
layout_mode = 1
|
||||
@@ -35,7 +36,8 @@ theme_override_constants/separation = 20
|
||||
|
||||
[node name="Logo" type="Label" parent="Center/VBox"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 36
|
||||
theme_override_fonts/font = ExtResource("2_qhtwq")
|
||||
theme_override_font_sizes/font_size = 61
|
||||
text = "Origin:
|
||||
Stone of Revival"
|
||||
horizontal_alignment = 1
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://i63qd4bw4ak0"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://i63qd4bw4ak0"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://yqc7mxil4y06" path="res://scenes/login/login_screen.gd" id="1_login"]
|
||||
[ext_resource type="FontFile" uid="uid://e5ejn0n3nvp8" path="res://ui/gothic_ultra_ot.otf" id="2_5u0sf"]
|
||||
[ext_resource type="StyleBox" uid="uid://byrmjtubb13d" path="res://scenes/common/Hover_Btn.tres" id="3_eu83c"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_k3del"]
|
||||
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_5u0sf"]
|
||||
modulate_color = Color(0.1876994, 0.70951515, 0.9271212, 1)
|
||||
|
||||
[node name="LoginScreen" type="Control"]
|
||||
layout_mode = 3
|
||||
@@ -33,10 +36,9 @@ grow_vertical = 2
|
||||
[node name="Panel" type="PanelContainer" parent="Center"]
|
||||
custom_minimum_size = Vector2(360, 0)
|
||||
layout_mode = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxTexture_5u0sf")
|
||||
|
||||
[node name="Margin" type="MarginContainer" parent="Center/Panel"]
|
||||
self_modulate = Color(0.41568628, 0.7607843, 0.9372549, 1)
|
||||
material = SubResource("ShaderMaterial_k3del")
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 28
|
||||
theme_override_constants/margin_top = 28
|
||||
@@ -50,14 +52,16 @@ theme_override_constants/separation = 14
|
||||
[node name="Title" type="Label" parent="Center/Panel/Margin/VBox"]
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_outline_color = Color(0.12949139, 0.36538354, 1, 1)
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "Origin"
|
||||
theme_override_fonts/font = ExtResource("2_5u0sf")
|
||||
theme_override_font_sizes/font_size = 64
|
||||
text = "Origin:"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="Subtitle" type="Label" parent="Center/Panel/Margin/VBox"]
|
||||
modulate = Color(0.6, 0.6, 0.65, 1)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 13
|
||||
theme_override_fonts/font = ExtResource("2_5u0sf")
|
||||
theme_override_font_sizes/font_size = 25
|
||||
text = "Stone of Revival"
|
||||
horizontal_alignment = 1
|
||||
|
||||
@@ -69,7 +73,12 @@ layout_mode = 2
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(0, 52)
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.5931331, 0.59313387, 0.59313315, 1)
|
||||
theme_override_font_sizes/font_size = 16
|
||||
theme_override_styles/normal = ExtResource("3_eu83c")
|
||||
theme_override_styles/pressed = ExtResource("3_eu83c")
|
||||
theme_override_styles/hover = ExtResource("3_eu83c")
|
||||
theme_override_styles/focus = ExtResource("3_eu83c")
|
||||
text = "Sign in with Aeternalis"
|
||||
|
||||
[node name="StatusLabel" type="Label" parent="Center/Panel/Margin/VBox"]
|
||||
|
||||
@@ -1,7 +1,12 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://dfyan2sntbmwp"]
|
||||
[gd_scene load_steps=7 format=3 uid="uid://dfyan2sntbmwp"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://n8qjxx4qlim7" path="res://scenes/main/main_screen.gd" id="1_main"]
|
||||
[ext_resource type="PackedScene" path="res://scenes/bug_report/BugReportDialog.tscn" id="2_brd"]
|
||||
[ext_resource type="FontFile" uid="uid://e5ejn0n3nvp8" path="res://ui/gothic_ultra_ot.otf" id="2_i4qg7"]
|
||||
[ext_resource type="StyleBox" uid="uid://cwmv43xafbylt" path="res://scenes/common/Normal_Btn.tres" id="3_euxv4"]
|
||||
[ext_resource type="StyleBox" uid="uid://byrmjtubb13d" path="res://scenes/common/Hover_Btn.tres" id="4_0e6yg"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_euxv4"]
|
||||
|
||||
[node name="MainScreen" type="Control"]
|
||||
layout_mode = 3
|
||||
@@ -13,6 +18,7 @@ grow_vertical = 2
|
||||
script = ExtResource("1_main")
|
||||
|
||||
[node name="Background" type="ColorRect" parent="."]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
@@ -63,7 +69,8 @@ offset_right = 101.0
|
||||
offset_bottom = 13.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_font_sizes/font_size = 18
|
||||
theme_override_fonts/font = ExtResource("2_i4qg7")
|
||||
theme_override_font_sizes/font_size = 48
|
||||
text = "Origin: Stone of Revival"
|
||||
horizontal_alignment = 1
|
||||
|
||||
@@ -71,7 +78,8 @@ horizontal_alignment = 1
|
||||
unique_name_in_owner = true
|
||||
modulate = Color(0.3, 0.9, 0.4, 1)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 13
|
||||
theme_override_fonts/font = ExtResource("2_i4qg7")
|
||||
theme_override_font_sizes/font_size = 24
|
||||
text = "● Online"
|
||||
|
||||
[node name="Separator" type="HSeparator" parent="Layout"]
|
||||
@@ -100,96 +108,161 @@ theme_override_constants/separation = 20
|
||||
[node name="WelcomeLabel" type="Label" parent="Layout/Scroll/Content/ContentMargin/ContentInner"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 24
|
||||
theme_override_fonts/font = ExtResource("2_i4qg7")
|
||||
theme_override_font_sizes/font_size = 43
|
||||
text = "Welcome!"
|
||||
|
||||
[node name="NavSection" type="Label" parent="Layout/Scroll/Content/ContentMargin/ContentInner"]
|
||||
modulate = Color(0.6, 0.6, 0.65, 1)
|
||||
[node name="Panel" type="Panel" parent="Layout/Scroll/Content/ContentMargin/ContentInner"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 11
|
||||
size_flags_vertical = 3
|
||||
theme_override_styles/panel = SubResource("StyleBoxEmpty_euxv4")
|
||||
|
||||
[node name="NavSection" type="Label" parent="Layout/Scroll/Content/ContentMargin/ContentInner/Panel"]
|
||||
visible = false
|
||||
modulate = Color(0.6, 0.6, 0.65, 1)
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.44400004
|
||||
anchor_right = 0.44400004
|
||||
offset_left = 32.399963
|
||||
offset_top = -17.0
|
||||
offset_right = 137.39996
|
||||
offset_bottom = 14.0
|
||||
theme_override_font_sizes/font_size = 22
|
||||
text = "PLAY"
|
||||
|
||||
[node name="NavButtons" type="VBoxContainer" parent="Layout/Scroll/Content/ContentMargin/ContentInner"]
|
||||
layout_mode = 2
|
||||
[node name="NavButtons" type="VBoxContainer" parent="Layout/Scroll/Content/ContentMargin/ContentInner/Panel"]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.485
|
||||
anchor_right = 0.485
|
||||
offset_left = -199.0
|
||||
offset_top = 20.0
|
||||
offset_right = 199.0
|
||||
offset_bottom = 258.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_stretch_ratio = 0.0
|
||||
theme_override_constants/separation = 10
|
||||
|
||||
[node name="CollectionBtn" type="Button" parent="Layout/Scroll/Content/ContentMargin/ContentInner/NavButtons"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(0, 52)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 15
|
||||
text = "My Collection"
|
||||
|
||||
[node name="BazaarBtn" type="Button" parent="Layout/Scroll/Content/ContentMargin/ContentInner/NavButtons"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(0, 52)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 15
|
||||
text = "Bazaar"
|
||||
|
||||
[node name="MatchBtn" type="Button" parent="Layout/Scroll/Content/ContentMargin/ContentInner/NavButtons"]
|
||||
[node name="MatchBtn" type="Button" parent="Layout/Scroll/Content/ContentMargin/ContentInner/Panel/NavButtons"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(0, 52)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 15
|
||||
theme_override_styles/normal = ExtResource("3_euxv4")
|
||||
theme_override_styles/hover = ExtResource("4_0e6yg")
|
||||
text = "Find Match"
|
||||
|
||||
[node name="FreePlayBtn" type="Button" parent="Layout/Scroll/Content/ContentMargin/ContentInner/NavButtons"]
|
||||
[node name="FreePlayBtn" type="Button" parent="Layout/Scroll/Content/ContentMargin/ContentInner/Panel/NavButtons"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(0, 52)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 15
|
||||
theme_override_styles/normal = ExtResource("3_euxv4")
|
||||
theme_override_styles/hover = ExtResource("4_0e6yg")
|
||||
text = "Free Play"
|
||||
|
||||
[node name="SocialSection" type="Label" parent="Layout/Scroll/Content/ContentMargin/ContentInner"]
|
||||
modulate = Color(0.6, 0.6, 0.65, 1)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 11
|
||||
text = "COMMUNITY"
|
||||
|
||||
[node name="SocialButtons" type="VBoxContainer" parent="Layout/Scroll/Content/ContentMargin/ContentInner"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 10
|
||||
|
||||
[node name="LeaderboardBtn" type="Button" parent="Layout/Scroll/Content/ContentMargin/ContentInner/SocialButtons"]
|
||||
[node name="BazaarBtn" type="Button" parent="Layout/Scroll/Content/ContentMargin/ContentInner/Panel/NavButtons"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(0, 52)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 15
|
||||
theme_override_styles/normal = ExtResource("3_euxv4")
|
||||
theme_override_styles/hover = ExtResource("4_0e6yg")
|
||||
text = "Bazaar"
|
||||
|
||||
[node name="CollectionBtn" type="Button" parent="Layout/Scroll/Content/ContentMargin/ContentInner/Panel/NavButtons"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(0, 52)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 15
|
||||
theme_override_styles/normal = ExtResource("3_euxv4")
|
||||
theme_override_styles/hover = ExtResource("4_0e6yg")
|
||||
text = "My Collection"
|
||||
|
||||
[node name="LeaderboardBtn" type="Button" parent="Layout/Scroll/Content/ContentMargin/ContentInner/Panel/NavButtons"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(0, 52)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 15
|
||||
theme_override_styles/normal = ExtResource("3_euxv4")
|
||||
theme_override_styles/hover = ExtResource("4_0e6yg")
|
||||
text = "Leaderboard"
|
||||
|
||||
[node name="AccountSection" type="Label" parent="Layout/Scroll/Content/ContentMargin/ContentInner"]
|
||||
modulate = Color(0.6, 0.6, 0.65, 1)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 11
|
||||
text = "ACCOUNT"
|
||||
|
||||
[node name="AccountButtons" type="VBoxContainer" parent="Layout/Scroll/Content/ContentMargin/ContentInner"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 10
|
||||
|
||||
[node name="AccountBtn" type="Button" parent="Layout/Scroll/Content/ContentMargin/ContentInner/AccountButtons"]
|
||||
[node name="AccountBtn" type="Button" parent="Layout/Scroll/Content/ContentMargin/ContentInner/Panel/NavButtons"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(0, 52)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 15
|
||||
theme_override_styles/normal = ExtResource("3_euxv4")
|
||||
theme_override_styles/hover = ExtResource("4_0e6yg")
|
||||
text = "Account"
|
||||
|
||||
[node name="SettingsBtn" type="Button" parent="Layout/Scroll/Content/ContentMargin/ContentInner/AccountButtons"]
|
||||
[node name="SettingsBtn" type="Button" parent="Layout/Scroll/Content/ContentMargin/ContentInner/Panel/NavButtons"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(0, 52)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 15
|
||||
theme_override_styles/normal = ExtResource("3_euxv4")
|
||||
theme_override_styles/hover = ExtResource("4_0e6yg")
|
||||
text = "Settings"
|
||||
|
||||
[node name="ReportBugBtn" type="Button" parent="Layout/Scroll/Content/ContentMargin/ContentInner/AccountButtons"]
|
||||
[node name="ReportBugBtn" type="Button" parent="Layout/Scroll/Content/ContentMargin/ContentInner/Panel/NavButtons"]
|
||||
unique_name_in_owner = true
|
||||
modulate = Color(0.85, 0.85, 0.9, 0.7)
|
||||
custom_minimum_size = Vector2(0, 44)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 13
|
||||
theme_override_styles/normal = ExtResource("3_euxv4")
|
||||
theme_override_styles/hover = ExtResource("4_0e6yg")
|
||||
text = "Report a Bug"
|
||||
|
||||
[node name="SocialSection" type="Label" parent="Layout/Scroll/Content/ContentMargin/ContentInner/Panel"]
|
||||
visible = false
|
||||
modulate = Color(0.6, 0.6, 0.65, 1)
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -607.0
|
||||
offset_top = 299.0
|
||||
offset_right = -538.0
|
||||
offset_bottom = 315.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_font_sizes/font_size = 11
|
||||
text = "COMMUNITY"
|
||||
|
||||
[node name="SocialButtons" type="VBoxContainer" parent="Layout/Scroll/Content/ContentMargin/ContentInner/Panel"]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.485
|
||||
anchor_right = 0.485
|
||||
offset_left = -191.0
|
||||
offset_top = 264.0
|
||||
offset_right = 206.0
|
||||
offset_bottom = 316.0
|
||||
theme_override_constants/separation = 10
|
||||
|
||||
[node name="AccountSection" type="Label" parent="Layout/Scroll/Content/ContentMargin/ContentInner/Panel"]
|
||||
visible = false
|
||||
modulate = Color(0.6, 0.6, 0.65, 1)
|
||||
layout_mode = 0
|
||||
offset_top = 20.0
|
||||
offset_right = 1400.0
|
||||
offset_bottom = 36.0
|
||||
theme_override_font_sizes/font_size = 11
|
||||
text = "ACCOUNT"
|
||||
|
||||
[node name="AccountButtons" type="VBoxContainer" parent="Layout/Scroll/Content/ContentMargin/ContentInner/Panel"]
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
offset_top = 20.0
|
||||
offset_right = 1400.0
|
||||
offset_bottom = 188.0
|
||||
theme_override_constants/separation = 10
|
||||
|
||||
[node name="BottomBar" type="HBoxContainer" parent="Layout"]
|
||||
custom_minimum_size = Vector2(0, 56)
|
||||
layout_mode = 2
|
||||
@@ -204,6 +277,7 @@ theme_override_constants/margin_right = 16
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 14
|
||||
theme_override_styles/normal = ExtResource("3_euxv4")
|
||||
text = "Sign Out"
|
||||
|
||||
[node name="BugReportDialog" parent="." instance=ExtResource("2_brd")]
|
||||
|
||||
Reference in New Issue
Block a user