ygdra/screen/start_screen.tscn

232 lines
5.1 KiB
Plaintext

[gd_scene load_steps=8 format=2]
[ext_resource path="res://LibertinusSans-Regular.otf" type="DynamicFontData" id=1]
[ext_resource path="res://screen/start_screen.gd" type="Script" id=2]
[ext_resource path="res://hud/joypad.svg" type="Texture" id=3]
[ext_resource path="res://hud/button-up.svg" type="Texture" id=4]
[ext_resource path="res://hud/button-down.svg" type="Texture" id=5]
[sub_resource type="DynamicFont" id=1]
size = 80
font_data = ExtResource( 1 )
[sub_resource type="DynamicFont" id=2]
size = 26
font_data = ExtResource( 1 )
[node name="StartScreen" type="Node"]
script = ExtResource( 2 )
[node name="ColorRect" type="ColorRect" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
color = Color( 0.211765, 0.294118, 0.231373, 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Message" type="Label" parent="."]
anchor_right = 1.0
margin_bottom = 92.0
custom_fonts/font = SubResource( 1 )
text = "Ygdra"
align = 1
autowrap = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Controls" type="Control" parent="."]
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
margin_left = -512.0
margin_top = -280.0
margin_right = 512.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Joypad" type="Sprite" parent="Controls"]
position = Vector2( 512, 151 )
texture = ExtResource( 3 )
[node name="Label" type="Label" parent="Controls"]
margin_left = 264.0
margin_top = 93.0
margin_right = 324.0
margin_bottom = 128.0
custom_fonts/font = SubResource( 2 )
text = "[UP]"
align = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label2" type="Label" parent="Controls"]
margin_left = 240.0
margin_top = 123.0
margin_right = 324.0
margin_bottom = 158.0
custom_fonts/font = SubResource( 2 )
text = "[LEFT]"
align = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label3" type="Label" parent="Controls"]
margin_left = 224.0
margin_top = 152.0
margin_right = 323.0
margin_bottom = 187.0
custom_fonts/font = SubResource( 2 )
text = "[DOWN]"
align = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label4" type="Label" parent="Controls"]
margin_left = 224.0
margin_top = 183.0
margin_right = 323.0
margin_bottom = 218.0
custom_fonts/font = SubResource( 2 )
text = "[RIGHT]"
align = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label5" type="Label" parent="Controls"]
margin_left = 696.0
margin_top = 93.0
margin_right = 759.0
margin_bottom = 128.0
custom_fonts/font = SubResource( 2 )
text = "[ESC]"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label6" type="Label" parent="Controls"]
margin_left = 696.0
margin_top = 123.0
margin_right = 856.0
margin_bottom = 158.0
custom_fonts/font = SubResource( 2 )
text = "[BACKSPACE]"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label7" type="Label" parent="Controls"]
margin_left = 696.0
margin_top = 152.0
margin_right = 795.0
margin_bottom = 187.0
custom_fonts/font = SubResource( 2 )
text = "[SPACE]"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label8" type="Label" parent="Controls"]
margin_left = 696.0
margin_top = 183.0
margin_right = 795.0
margin_bottom = 218.0
custom_fonts/font = SubResource( 2 )
text = "[F1]"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Infos" type="Control" parent="."]
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
margin_top = -196.0
margin_bottom = 84.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Goal" type="Label" parent="Infos"]
anchor_right = 1.0
margin_bottom = 99.0
custom_fonts/font = SubResource( 2 )
text = "You accidentally stepped on a yellow plate that teleported you into a mysterious labyrinth.
Find the purple plate to exit it.
Someone hid chests there, can you find them too ?"
align = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Buttons" type="Control" parent="Infos"]
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = -152.0
margin_bottom = -16.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Info-Start" type="Control" parent="Infos/Buttons"]
anchor_left = 0.5
anchor_right = 0.5
margin_left = -128.0
margin_right = 128.0
margin_bottom = 128.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Start" type="Label" parent="Infos/Buttons/Info-Start"]
margin_left = 96.0
margin_top = 8.0
margin_right = 221.0
margin_bottom = 43.0
custom_fonts/font = SubResource( 2 )
text = "Start Game"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Button-Start" type="Sprite" parent="Infos/Buttons/Info-Start"]
position = Vector2( 63.5, 23.5 )
scale = Vector2( 0.5, 0.5 )
texture = ExtResource( 5 )
[node name="Info-Stop" type="Control" parent="Infos/Buttons"]
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
margin_left = -128.0
margin_top = -128.0
margin_right = 128.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Stop" type="Label" parent="Infos/Buttons/Info-Stop"]
margin_left = 96.0
margin_top = 64.0
margin_right = 217.0
margin_bottom = 99.0
custom_fonts/font = SubResource( 2 )
text = "Quit Game"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Button-Stop" type="Sprite" parent="Infos/Buttons/Info-Stop"]
position = Vector2( 63.5, 79.5 )
scale = Vector2( 0.5, 0.5 )
texture = ExtResource( 4 )