Files
sor/Client/origin-client/scenes/main/MainScreen.tscn
T
2026-04-15 12:51:14 -04:00

264 lines
8.1 KiB
Plaintext

[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" uid="uid://og17wax7syki" 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"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_31hso"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_0e6yg"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_euxv4"]
[node name="MainScreen" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
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
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.094, 0.094, 0.137, 1)
[node name="Layout" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/separation = 0
[node name="TopBar" type="HBoxContainer" parent="Layout"]
custom_minimum_size = Vector2(0, 56)
layout_mode = 2
theme_override_constants/separation = 12
[node name="TopBarMargin" type="MarginContainer" parent="Layout/TopBar"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/margin_left = 16
theme_override_constants/margin_right = 16
[node name="TopBarInner" type="HBoxContainer" parent="Layout/TopBar/TopBarMargin"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/separation = 0
[node name="TopSpacer" type="Control" parent="Layout/TopBar/TopBarMargin/TopBarInner"]
layout_mode = 2
size_flags_horizontal = 3
[node name="BrandLabel" type="Label" parent="Layout/TopBar/TopBarMargin/TopBarInner/TopSpacer"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -101.0
offset_top = -13.0
offset_right = 101.0
offset_bottom = 13.0
grow_horizontal = 2
grow_vertical = 2
theme_override_fonts/font = ExtResource("2_i4qg7")
theme_override_font_sizes/font_size = 48
text = "Origin: Stone of Revival"
horizontal_alignment = 1
[node name="StatusLabel" type="Label" parent="Layout/TopBar/TopBarMargin/TopBarInner"]
unique_name_in_owner = true
modulate = Color(0.3, 0.9, 0.4, 1)
layout_mode = 2
theme_override_fonts/font = ExtResource("2_i4qg7")
theme_override_font_sizes/font_size = 24
text = "● Online"
[node name="Separator" type="HSeparator" parent="Layout"]
layout_mode = 2
[node name="Scroll" type="ScrollContainer" parent="Layout"]
layout_mode = 2
size_flags_vertical = 3
theme_override_styles/panel = SubResource("StyleBoxEmpty_31hso")
theme_override_styles/focus = SubResource("StyleBoxEmpty_0e6yg")
[node name="Content" type="VBoxContainer" parent="Layout/Scroll"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/separation = 16
[node name="ContentMargin" type="MarginContainer" parent="Layout/Scroll/Content"]
layout_mode = 2
theme_override_constants/margin_left = 20
theme_override_constants/margin_top = 20
theme_override_constants/margin_right = 20
theme_override_constants/margin_bottom = 20
[node name="ContentInner" type="VBoxContainer" parent="Layout/Scroll/Content/ContentMargin"]
layout_mode = 2
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_fonts/font = ExtResource("2_i4qg7")
theme_override_font_sizes/font_size = 43
text = "Welcome!"
[node name="Panel" type="Panel" parent="Layout/Scroll/Content/ContentMargin/ContentInner"]
layout_mode = 2
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/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="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
text = "Ranked Match"
[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
text = "Free Play"
[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
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
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
text = "Leaderboard"
[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
text = "Account"
[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
text = "Settings"
[node name="ReportBugBtn" type="Button" parent="Layout/Scroll/Content/ContentMargin/ContentInner/Panel/NavButtons"]
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 44)
layout_mode = 2
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
[node name="BottomMargin" type="MarginContainer" parent="Layout/BottomBar"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/margin_left = 16
theme_override_constants/margin_right = 16
[node name="LogoutBtn" type="Button" parent="Layout/BottomBar/BottomMargin"]
unique_name_in_owner = true
layout_mode = 2
text = "Sign Out"
[node name="BugReportDialog" parent="." instance=ExtResource("2_brd")]
unique_name_in_owner = true
visible = false