onboarding content

This commit is contained in:
Nordup 2025-08-15 04:00:17 +07:00
parent f24e5fd929
commit 2eb6ec1a0c
10 changed files with 249 additions and 59 deletions

View file

@ -1,9 +1,8 @@
[gd_scene load_steps=7 format=3 uid="uid://pbsmrx55rb5g"]
[gd_scene load_steps=8 format=3 uid="uid://pbsmrx55rb5g"]
[ext_resource type="LabelSettings" uid="uid://crt4elt055uhg" path="res://assets/styles/text_big.tres" id="1_22o26"]
[ext_resource type="Script" path="res://scripts/ui/onboarding/board.gd" id="1_dxxs8"]
[ext_resource type="FontFile" uid="uid://do40418waa8w3" path="res://assets/fonts/Inter-Regular.otf" id="2_glv2j"]
[ext_resource type="PackedScene" uid="uid://xagbhqfidf2" path="res://scenes/components/round_button.tscn" id="3_xk4gg"]
[ext_resource type="Texture2D" uid="uid://xvojwttib03s" path="res://assets/textures/onboarding/1_internet.png" id="2_8iccy"]
[ext_resource type="FontFile" uid="uid://do40418waa8w3" path="res://assets/fonts/Inter-Regular.otf" id="3_t5hfc"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_r2yvw"]
bg_color = Color(0.113725, 0.117647, 0.14902, 1)
@ -14,8 +13,20 @@ corner_radius_bottom_left = 40
shadow_color = Color(0.0747, 0.078015, 0.09, 0.705882)
shadow_size = 10
[sub_resource type="LabelSettings" id="LabelSettings_bkr01"]
font = ExtResource("2_glv2j")
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_wngss"]
corner_radius_top_left = 160
corner_radius_top_right = 160
corner_radius_bottom_right = 160
corner_radius_bottom_left = 160
corner_detail = 16
[sub_resource type="LabelSettings" id="LabelSettings_3enkx"]
font = ExtResource("3_t5hfc")
font_size = 32
font_color = Color(0.831373, 0.831373, 0.831373, 1)
[sub_resource type="LabelSettings" id="LabelSettings_chwxq"]
font = ExtResource("3_t5hfc")
font_size = 20
font_color = Color(0.431373, 0.435294, 0.494118, 1)
@ -51,67 +62,58 @@ mouse_filter = 1
theme_override_styles/panel = SubResource("StyleBoxFlat_r2yvw")
[node name="MarginContainer" type="MarginContainer" parent="."]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 0
theme_override_constants/margin_top = 24
theme_override_constants/margin_bottom = 24
theme_override_constants/margin_left = 70
theme_override_constants/margin_right = 70
theme_override_constants/margin_bottom = 70
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
layout_mode = 2
theme_override_constants/separation = 20
alignment = 1
[node name="Label" type="Label" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
text = "Gate is not responding"
label_settings = ExtResource("1_22o26")
horizontal_alignment = 1
vertical_alignment = 1
[node name="Control" type="Control" parent="MarginContainer/VBoxContainer"]
[node name="CenterContainer" type="CenterContainer" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
[node name="Label2" type="Label" parent="MarginContainer/VBoxContainer/Control"]
[node name="Panel" type="Panel" parent="MarginContainer/VBoxContainer/CenterContainer"]
clip_children = 1
custom_minimum_size = Vector2(320, 320)
layout_mode = 2
offset_top = 293.0
offset_right = 600.0
offset_bottom = 346.0
text = "Reload the page or try
to wait if it responses"
label_settings = SubResource("LabelSettings_bkr01")
horizontal_alignment = 1
mouse_filter = 1
theme_override_styles/panel = SubResource("StyleBoxFlat_wngss")
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
theme_override_constants/separation = 22
[node name="TextureRect" type="TextureRect" parent="MarginContainer/VBoxContainer/CenterContainer/Panel"]
custom_minimum_size = Vector2(320, 320)
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("2_8iccy")
expand_mode = 1
[node name="Reload" parent="MarginContainer/VBoxContainer/HBoxContainer" instance=ExtResource("3_xk4gg")]
custom_minimum_size = Vector2(90, 26)
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
theme_override_colors/font_disabled_color = Color(0.431373, 0.435294, 0.494118, 1)
theme_override_colors/font_color = Color(0.831373, 0.831373, 0.831373, 1)
theme_override_fonts/font = ExtResource("2_glv2j")
theme_override_font_sizes/font_size = 20
text = "Reload"
icon = null
theme_override_constants/separation = 20
[node name="Hide" parent="MarginContainer/VBoxContainer/HBoxContainer" instance=ExtResource("3_xk4gg")]
custom_minimum_size = Vector2(90, 26)
[node name="Title" type="Label" parent="MarginContainer/VBoxContainer/VBoxContainer"]
layout_mode = 2
theme_override_colors/font_disabled_color = Color(0.431373, 0.435294, 0.494118, 1)
theme_override_colors/font_color = Color(0.831373, 0.831373, 0.831373, 1)
theme_override_fonts/font = ExtResource("2_glv2j")
theme_override_font_sizes/font_size = 20
text = "Wait"
icon = null
text = "Welcome to the new —
3D internet"
label_settings = SubResource("LabelSettings_3enkx")
[node name="Description" type="Label" parent="MarginContainer/VBoxContainer/VBoxContainer"]
layout_mode = 2
text = "Websites are now worlds you can walk
through and explore together."
label_settings = SubResource("LabelSettings_chwxq")
[node name="Button" type="Button" parent="."]
layout_mode = 1