Added title screen and onboarding prompt
This commit is contained in:
parent
89c811473b
commit
d1c4c1a35d
7 changed files with 99 additions and 2 deletions
55
scenes/title_screen.tscn
Normal file
55
scenes/title_screen.tscn
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
[gd_scene load_steps=3 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://scenes/title_screen.gd" id="1"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="CardStyle"]
|
||||
bg_color = Color(0.05, 0.18, 0.05, 1)
|
||||
border_width_left = 3
|
||||
border_width_top = 3
|
||||
border_width_right = 3
|
||||
border_width_bottom = 3
|
||||
border_color = Color(0.2, 1, 0.2, 1)
|
||||
corner_radius_top_left = 6
|
||||
corner_radius_top_right = 6
|
||||
corner_radius_bottom_right = 6
|
||||
corner_radius_bottom_left = 6
|
||||
|
||||
[node name="TitleScreen" type="CanvasLayer"]
|
||||
layer = 20
|
||||
process_mode = 3
|
||||
script = ExtResource("1")
|
||||
|
||||
[node name="Dim" type="ColorRect" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
mouse_filter = 2
|
||||
color = Color(0, 0, 0, 0.85)
|
||||
|
||||
[node name="Center" type="CenterContainer" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
mouse_filter = 1
|
||||
|
||||
[node name="Card" type="PanelContainer" parent="Center"]
|
||||
theme_override_styles/panel = SubResource("CardStyle")
|
||||
|
||||
[node name="Margin" type="MarginContainer" parent="Center/Card"]
|
||||
theme_override_constants/margin_left = 64
|
||||
theme_override_constants/margin_right = 64
|
||||
theme_override_constants/margin_top = 48
|
||||
theme_override_constants/margin_bottom = 48
|
||||
|
||||
[node name="Column" type="VBoxContainer" parent="Center/Card/Margin"]
|
||||
theme_override_constants/separation = 24
|
||||
|
||||
[node name="Title" type="Label" parent="Center/Card/Margin/Column"]
|
||||
text = "ELEVATOR"
|
||||
horizontal_alignment = 1
|
||||
theme_override_colors/font_color = Color(0.2, 1, 0.2, 1)
|
||||
theme_override_font_sizes/font_size = 72
|
||||
|
||||
[node name="Prompt" type="Label" parent="Center/Card/Margin/Column"]
|
||||
text = "PRESS SPACE TO START"
|
||||
horizontal_alignment = 1
|
||||
theme_override_colors/font_color = Color(0.5, 1, 0.5, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
Loading…
Add table
Add a link
Reference in a new issue