Create press any key to continue screen
This commit is contained in:
45
ui/PressAnyKeyScreen.tscn
Normal file
45
ui/PressAnyKeyScreen.tscn
Normal file
@@ -0,0 +1,45 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://gbe1jarrwqsi"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://buak21ajgvevl" path="res://scripts/PressAAnyKeyScreen.gd" id="1_0a4p2"]
|
||||
|
||||
[node name="PressAnyKeyScreen" 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_0a4p2")
|
||||
|
||||
[node name="Background" type="ColorRect" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
color = Color(0.18, 0.18, 0.18, 1)
|
||||
|
||||
[node name="PressKeyContainer" type="VBoxContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -80.5
|
||||
offset_top = -25.0
|
||||
offset_right = 80.5
|
||||
offset_bottom = 25.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="TitleLabel" type="Label" parent="PressKeyContainer"]
|
||||
layout_mode = 2
|
||||
text = "Skelly"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="PressKeyLabel" type="Label" parent="PressKeyContainer"]
|
||||
layout_mode = 2
|
||||
text = "Press Ok to continue"
|
||||
Reference in New Issue
Block a user