more menu stuff

This commit is contained in:
mightypanders 2021-06-11 21:35:15 +02:00
parent 7936686809
commit 8ae9847500
3 changed files with 65 additions and 5 deletions

View File

@ -1,4 +1,6 @@
[gd_scene format=2] [gd_scene load_steps=2 format=2]
[ext_resource path="res://assets/menu/graphics/placeholder-image.png" type="Texture" id=1]
[node name="Control" type="MarginContainer"] [node name="Control" type="MarginContainer"]
anchor_right = 1.0 anchor_right = 1.0
@ -9,35 +11,59 @@ margin_right = 1280.0
margin_bottom = 720.0 margin_bottom = 720.0
[node name="MenuContainer" type="CenterContainer" parent="HBoxContainer"] [node name="MenuContainer" type="CenterContainer" parent="HBoxContainer"]
margin_right = 131.0
margin_bottom = 720.0 margin_bottom = 720.0
[node name="MenuContainerStack" type="VBoxContainer" parent="HBoxContainer/MenuContainer"] [node name="MenuContainerStack" type="VBoxContainer" parent="HBoxContainer/MenuContainer"]
margin_top = 326.0 margin_top = 326.0
margin_right = 131.0
margin_bottom = 394.0 margin_bottom = 394.0
[node name="Title" type="Label" parent="HBoxContainer/MenuContainer/MenuContainerStack"] [node name="Title" type="Label" parent="HBoxContainer/MenuContainer/MenuContainerStack"]
margin_right = 131.0
margin_bottom = 14.0 margin_bottom = 14.0
size_flags_horizontal = 5
text = "That's a game alright"
[node name="LabelContainer" type="VBoxContainer" parent="HBoxContainer/MenuContainer/MenuContainerStack"] [node name="LabelContainer" type="VBoxContainer" parent="HBoxContainer/MenuContainer/MenuContainerStack"]
margin_top = 18.0 margin_top = 18.0
margin_right = 131.0
margin_bottom = 68.0 margin_bottom = 68.0
[node name="Start" type="Label" parent="HBoxContainer/MenuContainer/MenuContainerStack/LabelContainer"] [node name="Start" type="Label" parent="HBoxContainer/MenuContainer/MenuContainerStack/LabelContainer"]
margin_left = 51.0
margin_right = 80.0
margin_bottom = 14.0 margin_bottom = 14.0
size_flags_horizontal = 4
size_flags_vertical = 0
text = "Start"
[node name="Options" type="Label" parent="HBoxContainer/MenuContainer/MenuContainerStack/LabelContainer"] [node name="Options" type="Label" parent="HBoxContainer/MenuContainer/MenuContainerStack/LabelContainer"]
margin_left = 40.0
margin_top = 18.0 margin_top = 18.0
margin_right = 91.0
margin_bottom = 32.0 margin_bottom = 32.0
size_flags_horizontal = 4
size_flags_vertical = 0
text = "Options"
[node name="Exit" type="Label" parent="HBoxContainer/MenuContainer/MenuContainerStack/LabelContainer"] [node name="Exit" type="Label" parent="HBoxContainer/MenuContainer/MenuContainerStack/LabelContainer"]
margin_left = 54.0
margin_top = 36.0 margin_top = 36.0
margin_right = 77.0
margin_bottom = 50.0 margin_bottom = 50.0
size_flags_horizontal = 4
size_flags_vertical = 0
text = "Exit"
[node name="LogoContainer" type="CenterContainer" parent="HBoxContainer"] [node name="LogoContainer" type="CenterContainer" parent="HBoxContainer"]
margin_left = 4.0 margin_left = 135.0
margin_right = 4.0 margin_right = 935.0
margin_bottom = 720.0 margin_bottom = 720.0
[node name="Logo" type="TextureRect" parent="HBoxContainer/LogoContainer"] [node name="Logo" type="TextureRect" parent="HBoxContainer/LogoContainer"]
margin_top = 360.0 margin_top = 60.0
margin_bottom = 360.0 margin_right = 800.0
margin_bottom = 660.0
texture = ExtResource( 1 )
stretch_mode = 4

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/placeholder-image.png-ba58959e7ab7073d340455fef5c43117.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/menu/graphics/placeholder-image.png"
dest_files=[ "res://.import/placeholder-image.png-ba58959e7ab7073d340455fef5c43117.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0