feat: add battlepass slider and quest list tabs to lobby HUD
This commit is contained in:
@@ -0,0 +1,198 @@
|
||||
[gd_scene format=3 uid="uid://c3v78hufajngu"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bhv35y3q1jxr0" path="res://assets/graphics/gui/lobby/card_xmple.png" id="1_3k5w5"]
|
||||
[ext_resource type="Script" uid="uid://bnxbmxuwjwqua" path="res://scenes/lobby_sliders.gd" id="1_l3iok"]
|
||||
[ext_resource type="FontFile" uid="uid://dsqg0x5lnosou" path="res://assets/fonts/TektonDash2.ttf" id="2_l3iok"]
|
||||
[ext_resource type="Texture2D" uid="uid://y0y2fqa6xml7" path="res://assets/graphics/gui/lobby/bar_default.svg" id="3_i4gg1"]
|
||||
[ext_resource type="Texture2D" uid="uid://b5qt2u2k23b5w" path="res://assets/graphics/gui/lobby/bar_active.svg" id="4_crv6i"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_st18m"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_t5gla"]
|
||||
border_width_left = 3
|
||||
border_width_top = 3
|
||||
border_width_right = 3
|
||||
border_width_bottom = 3
|
||||
border_color = Color(0.06666667, 0.13333334, 0.1882353, 1)
|
||||
corner_radius_top_left = 23
|
||||
corner_radius_top_right = 23
|
||||
corner_radius_bottom_right = 23
|
||||
corner_radius_bottom_left = 23
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_a37jl"]
|
||||
bg_color = Color(1, 0.25882354, 0.25882354, 1)
|
||||
border_width_left = 3
|
||||
border_width_top = 3
|
||||
border_width_right = 3
|
||||
border_width_bottom = 3
|
||||
border_color = Color(0.06666667, 0.13333334, 0.1882353, 1)
|
||||
corner_radius_top_left = 8
|
||||
corner_radius_top_right = 8
|
||||
corner_radius_bottom_right = 8
|
||||
corner_radius_bottom_left = 8
|
||||
|
||||
[node name="Sliders" type="Panel" unique_id=43997484]
|
||||
custom_minimum_size = Vector2(276, 0)
|
||||
offset_right = 276.0
|
||||
offset_bottom = 132.0
|
||||
size_flags_horizontal = 8
|
||||
size_flags_vertical = 3
|
||||
theme_override_styles/panel = SubResource("StyleBoxEmpty_st18m")
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="." unique_id=1629363718]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_bottom = 4.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
horizontal_scroll_mode = 3
|
||||
vertical_scroll_mode = 3
|
||||
script = ExtResource("1_l3iok")
|
||||
|
||||
[node name="CardMargin" type="MarginContainer" parent="ScrollContainer" unique_id=481757735]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 0
|
||||
theme_override_constants/margin_top = 8
|
||||
theme_override_constants/margin_right = 0
|
||||
theme_override_constants/margin_bottom = 0
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="ScrollContainer/CardMargin" unique_id=1982136347]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 4
|
||||
|
||||
[node name="PanelContainer1" type="PanelContainer" parent="ScrollContainer/CardMargin/HBoxContainer" unique_id=610661983]
|
||||
layout_mode = 2
|
||||
mouse_filter = 1
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_t5gla")
|
||||
|
||||
[node name="CardBase" type="TextureRect" parent="ScrollContainer/CardMargin/HBoxContainer/PanelContainer1" unique_id=313528397]
|
||||
custom_minimum_size = Vector2(270, 117)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
size_flags_vertical = 4
|
||||
texture = ExtResource("1_3k5w5")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="LimitedBadge" type="PanelContainer" parent="ScrollContainer/CardMargin/HBoxContainer/PanelContainer1/CardBase" unique_id=802083624]
|
||||
layout_mode = 0
|
||||
offset_left = 2.0
|
||||
offset_top = -5.0
|
||||
offset_right = 108.0
|
||||
offset_bottom = 29.0
|
||||
mouse_filter = 1
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_a37jl")
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="ScrollContainer/CardMargin/HBoxContainer/PanelContainer1/CardBase/LimitedBadge" unique_id=51791062]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
theme_override_constants/margin_left = 13
|
||||
theme_override_constants/margin_top = 4
|
||||
theme_override_constants/margin_right = 13
|
||||
theme_override_constants/margin_bottom = 3
|
||||
|
||||
[node name="Label" type="Label" parent="ScrollContainer/CardMargin/HBoxContainer/PanelContainer1/CardBase/LimitedBadge/MarginContainer" unique_id=1817736469]
|
||||
layout_mode = 2
|
||||
theme_override_fonts/font = ExtResource("2_l3iok")
|
||||
theme_override_font_sizes/font_size = 20
|
||||
text = "Limited"
|
||||
|
||||
[node name="PanelContainer2" type="PanelContainer" parent="ScrollContainer/CardMargin/HBoxContainer" unique_id=704308740]
|
||||
layout_mode = 2
|
||||
mouse_filter = 1
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_t5gla")
|
||||
|
||||
[node name="CardBase" type="TextureRect" parent="ScrollContainer/CardMargin/HBoxContainer/PanelContainer2" unique_id=870258525]
|
||||
custom_minimum_size = Vector2(270, 117)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
size_flags_vertical = 4
|
||||
texture = ExtResource("1_3k5w5")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="LimitedBadge" type="PanelContainer" parent="ScrollContainer/CardMargin/HBoxContainer/PanelContainer2/CardBase" unique_id=1744093227]
|
||||
layout_mode = 0
|
||||
offset_left = 2.0
|
||||
offset_top = -5.0
|
||||
offset_right = 102.0
|
||||
offset_bottom = 28.0
|
||||
mouse_filter = 1
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_a37jl")
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="ScrollContainer/CardMargin/HBoxContainer/PanelContainer2/CardBase/LimitedBadge" unique_id=126611072]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
theme_override_constants/margin_left = 13
|
||||
theme_override_constants/margin_top = 4
|
||||
theme_override_constants/margin_right = 13
|
||||
theme_override_constants/margin_bottom = 3
|
||||
|
||||
[node name="Label" type="Label" parent="ScrollContainer/CardMargin/HBoxContainer/PanelContainer2/CardBase/LimitedBadge/MarginContainer" unique_id=1709358746]
|
||||
layout_mode = 2
|
||||
theme_override_fonts/font = ExtResource("2_l3iok")
|
||||
theme_override_font_sizes/font_size = 20
|
||||
text = "Limited"
|
||||
|
||||
[node name="PanelContainer3" type="PanelContainer" parent="ScrollContainer/CardMargin/HBoxContainer" unique_id=1308324127]
|
||||
layout_mode = 2
|
||||
mouse_filter = 1
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_t5gla")
|
||||
|
||||
[node name="CardBase" type="TextureRect" parent="ScrollContainer/CardMargin/HBoxContainer/PanelContainer3" unique_id=1957855413]
|
||||
custom_minimum_size = Vector2(270, 117)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
size_flags_vertical = 4
|
||||
texture = ExtResource("1_3k5w5")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="LimitedBadge" type="PanelContainer" parent="ScrollContainer/CardMargin/HBoxContainer/PanelContainer3/CardBase" unique_id=1087414779]
|
||||
layout_mode = 0
|
||||
offset_left = 2.0
|
||||
offset_top = -5.0
|
||||
offset_right = 102.0
|
||||
offset_bottom = 28.0
|
||||
mouse_filter = 1
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_a37jl")
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="ScrollContainer/CardMargin/HBoxContainer/PanelContainer3/CardBase/LimitedBadge" unique_id=516591042]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
theme_override_constants/margin_left = 13
|
||||
theme_override_constants/margin_top = 4
|
||||
theme_override_constants/margin_right = 13
|
||||
theme_override_constants/margin_bottom = 3
|
||||
|
||||
[node name="Label" type="Label" parent="ScrollContainer/CardMargin/HBoxContainer/PanelContainer3/CardBase/LimitedBadge/MarginContainer" unique_id=1269776987]
|
||||
layout_mode = 2
|
||||
theme_override_fonts/font = ExtResource("2_l3iok")
|
||||
theme_override_font_sizes/font_size = 20
|
||||
text = "Limited"
|
||||
|
||||
[node name="PageIndicator" type="HBoxContainer" parent="." unique_id=844141711]
|
||||
layout_mode = 0
|
||||
offset_left = 13.0
|
||||
offset_top = 108.0
|
||||
offset_right = 263.0
|
||||
offset_bottom = 117.0
|
||||
theme_override_constants/separation = 5
|
||||
|
||||
[node name="Dot1" type="TextureRect" parent="PageIndicator" unique_id=1939877728]
|
||||
custom_minimum_size = Vector2(80, 6)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("4_crv6i")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="Dot2" type="TextureRect" parent="PageIndicator" unique_id=1471300482]
|
||||
custom_minimum_size = Vector2(80, 6)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("3_i4gg1")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="Dot3" type="TextureRect" parent="PageIndicator" unique_id=1825186770]
|
||||
custom_minimum_size = Vector2(80, 6)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("3_i4gg1")
|
||||
expand_mode = 1
|
||||
Reference in New Issue
Block a user