add animated splash screen with orbitron font, transition to dashboard
This commit is contained in:
parent
12b8fee0b0
commit
6d64c7ea15
5 changed files with 127 additions and 2 deletions
73
scenes/splash.tscn
Normal file
73
scenes/splash.tscn
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
[gd_scene format=3 uid="uid://dtyq3y052sm8r"]
|
||||
|
||||
[ext_resource type="Script" path="res://scenes/splash.gd" id="1"]
|
||||
[ext_resource type="FontFile" path="res://assets/fonts/Orbitron.ttf" id="2"]
|
||||
[ext_resource type="Theme" path="res://themes/default_theme.tres" id="3"]
|
||||
|
||||
[sub_resource type="FontVariation" id="FontVariation_ijphb"]
|
||||
base_font = ExtResource("2")
|
||||
variation_settings = {
|
||||
"weight": 900
|
||||
}
|
||||
|
||||
[sub_resource type="FontVariation" id="FontVariation_boeqg"]
|
||||
base_font = ExtResource("2")
|
||||
variation_settings = {
|
||||
"weight": 600
|
||||
}
|
||||
|
||||
[node name="Splash" type="Control"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
theme = ExtResource("3")
|
||||
script = ExtResource("1")
|
||||
|
||||
[node name="Bg" type="ColorRect" parent="."]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
mouse_filter = 2
|
||||
color = Color(0.08, 0.08, 0.12, 1.0)
|
||||
|
||||
[node name="Center" type="CenterContainer" parent="."]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="TextContainer" type="VBoxContainer" parent="Center"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
[node name="VLabel" type="Label" parent="Center/TextContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_fonts/normal_font = SubResource("FontVariation_ijphb")
|
||||
theme_override_font_sizes/normal_font_size = 128
|
||||
theme_override_colors/font_color = Color(0.933, 0.271, 0.376, 1.0)
|
||||
theme_override_constants/outline_size = 4
|
||||
theme_override_colors/font_outline_color = Color(0.0, 0.0, 0.0, 0.6)
|
||||
text = "V"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="PanelLabel" type="Label" parent="Center/TextContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_fonts/normal_font = SubResource("FontVariation_boeqg")
|
||||
theme_override_font_sizes/normal_font_size = 72
|
||||
theme_override_colors/font_color = Color(0.7, 0.7, 0.8, 1.0)
|
||||
theme_override_constants/outline_size = 2
|
||||
theme_override_colors/font_outline_color = Color(0.0, 0.0, 0.0, 0.5)
|
||||
text = "Panel"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="TransitionOverlay" type="ColorRect" parent="."]
|
||||
unique_name_in_owner = true
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
mouse_filter = 2
|
||||
color = Color(0, 0, 0, 0)
|
||||
Loading…
Add table
Add a link
Reference in a new issue