Added Menus
This commit is contained in:
parent
49b54b1aba
commit
ed6def77f5
16 changed files with 293 additions and 75 deletions
BIN
Scenes/TitleScreen/Credits.png
Normal file
BIN
Scenes/TitleScreen/Credits.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 768 KiB |
35
Scenes/TitleScreen/Credits.png.import
Normal file
35
Scenes/TitleScreen/Credits.png.import
Normal file
|
@ -0,0 +1,35 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/Credits.png-32f9b04fdca679d11e93136bad05c549.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Scenes/TitleScreen/Credits.png"
|
||||
dest_files=[ "res://.import/Credits.png-32f9b04fdca679d11e93136bad05c549.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
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
|
@ -1,16 +1,56 @@
|
|||
[gd_scene load_steps=2 format=2]
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://Scenes/TitleScreen/NewGAme.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://Scenes/TitleScreen/new_dynamicfont.tres" type="DynamicFont" id=1]
|
||||
[ext_resource path="res://Scenes/TitleScreen/ReturnToTitle.gd" type="Script" id=2]
|
||||
[ext_resource path="res://Scenes/TitleScreen/Credits.png" type="Texture" id=3]
|
||||
|
||||
[node name="Credits" instance=ExtResource( 1 )]
|
||||
[node name="Credits" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
script = ExtResource( 2 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="VBoxContainer" parent="CenterContainer" index="0"]
|
||||
margin_left = 414.0
|
||||
margin_right = 610.0
|
||||
[node name="TextureRect" type="TextureRect" parent="."]
|
||||
margin_right = 2048.0
|
||||
margin_bottom = 1536.0
|
||||
rect_scale = Vector2( 0.5, 0.5 )
|
||||
texture = ExtResource( 3 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Label" parent="CenterContainer/VBoxContainer" index="0"]
|
||||
margin_right = 196.0
|
||||
text = "Credits"
|
||||
[node name="CenterContainer" type="CenterContainer" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_left = -411.0
|
||||
margin_top = 306.0
|
||||
margin_right = -411.0
|
||||
margin_bottom = 306.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Button" parent="CenterContainer/VBoxContainer" index="1"]
|
||||
margin_right = 196.0
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"]
|
||||
margin_left = 449.0
|
||||
margin_top = 330.0
|
||||
margin_right = 574.0
|
||||
margin_bottom = 438.0
|
||||
|
||||
[node name="Label" type="Label" parent="CenterContainer/VBoxContainer"]
|
||||
margin_right = 125.0
|
||||
margin_bottom = 49.0
|
||||
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
|
||||
custom_constants/shadow_offset_x = 0
|
||||
custom_constants/shadow_offset_y = 5
|
||||
custom_fonts/font = ExtResource( 1 )
|
||||
|
||||
[node name="Button" type="Button" parent="CenterContainer/VBoxContainer"]
|
||||
margin_top = 53.0
|
||||
margin_right = 125.0
|
||||
margin_bottom = 108.0
|
||||
custom_fonts/font = ExtResource( 1 )
|
||||
text = "Back"
|
||||
|
||||
[connection signal="pressed" from="CenterContainer/VBoxContainer/Button" to="." method="_on_Button_pressed"]
|
||||
|
|
|
@ -1,8 +1,19 @@
|
|||
[gd_scene load_steps=2 format=2]
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://Scenes/TitleScreen/MenuButton.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://Fonts/luckiest-guy/luckiest-guy.tres" type="DynamicFont" id=2]
|
||||
|
||||
[node name="CreditsButton" instance=ExtResource( 1 )]
|
||||
margin_left = 0.0
|
||||
margin_top = 0.0
|
||||
margin_right = 784.0
|
||||
margin_bottom = 20.0
|
||||
custom_fonts/font = ExtResource( 2 )
|
||||
flat = false
|
||||
|
||||
[node name="Label" parent="." index="0"]
|
||||
margin_left = 36.0
|
||||
margin_top = 11.0
|
||||
margin_right = 396.0
|
||||
margin_bottom = 71.0
|
||||
text = "Credits"
|
||||
|
|
BIN
Scenes/TitleScreen/HowToPlay.png
Normal file
BIN
Scenes/TitleScreen/HowToPlay.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 145 KiB |
35
Scenes/TitleScreen/HowToPlay.png.import
Normal file
35
Scenes/TitleScreen/HowToPlay.png.import
Normal file
|
@ -0,0 +1,35 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/HowToPlay.png-f7084e1c5d9f0e7c239b8ae978bed4cc.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Scenes/TitleScreen/HowToPlay.png"
|
||||
dest_files=[ "res://.import/HowToPlay.png-f7084e1c5d9f0e7c239b8ae978bed4cc.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
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
|
@ -1,16 +1,66 @@
|
|||
[gd_scene load_steps=2 format=2]
|
||||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://Scenes/TitleScreen/NewGAme.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://Scenes/TitleScreen/new_dynamicfont.tres" type="DynamicFont" id=1]
|
||||
[ext_resource path="res://Fonts/luckiest-guy/luckiest-guy.tres" type="DynamicFont" id=2]
|
||||
[ext_resource path="res://Scenes/TitleScreen/HowToPlay.png" type="Texture" id=3]
|
||||
[ext_resource path="res://Scenes/TitleScreen/ReturnToTitle.gd" type="Script" id=4]
|
||||
|
||||
[node name="Manual" instance=ExtResource( 1 )]
|
||||
[node name="Manual" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_left = -1.0
|
||||
margin_right = -1.0
|
||||
script = ExtResource( 4 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="VBoxContainer" parent="CenterContainer" index="0"]
|
||||
margin_left = 415.0
|
||||
margin_right = 608.0
|
||||
[node name="TextureRect" type="TextureRect" parent="."]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
margin_left = -512.0
|
||||
margin_top = -384.0
|
||||
margin_right = 512.0
|
||||
margin_bottom = 384.0
|
||||
texture = ExtResource( 3 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Label" parent="CenterContainer/VBoxContainer" index="0"]
|
||||
[node name="Button" type="Button" parent="."]
|
||||
margin_left = 37.0
|
||||
margin_top = 688.0
|
||||
margin_right = 177.0
|
||||
margin_bottom = 745.0
|
||||
custom_fonts/font = ExtResource( 2 )
|
||||
text = "Back"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="CenterContainer" type="CenterContainer" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"]
|
||||
margin_left = 512.0
|
||||
margin_top = 384.0
|
||||
margin_right = 512.0
|
||||
margin_bottom = 384.0
|
||||
|
||||
[node name="Label" type="Label" parent="CenterContainer/VBoxContainer"]
|
||||
visible = false
|
||||
margin_right = 193.0
|
||||
margin_bottom = 42.0
|
||||
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
|
||||
custom_constants/shadow_offset_x = 0
|
||||
custom_constants/shadow_offset_y = 5
|
||||
custom_fonts/font = ExtResource( 1 )
|
||||
text = "Manual"
|
||||
|
||||
[node name="Button" parent="CenterContainer/VBoxContainer" index="1"]
|
||||
margin_right = 193.0
|
||||
[connection signal="pressed" from="Button" to="." method="_on_Button_pressed"]
|
||||
|
|
|
@ -1,19 +1,26 @@
|
|||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://Graphics/Fonts/CC Wild Words Roman.ttf" type="DynamicFontData" id=1]
|
||||
[ext_resource path="res://Fonts/luckiest-guy/LuckiestGuy.ttf" type="DynamicFontData" id=1]
|
||||
|
||||
[sub_resource type="DynamicFont" id=1]
|
||||
size = 48
|
||||
font_data = ExtResource( 1 )
|
||||
|
||||
[node name="MenuButton" type="Button"]
|
||||
margin_right = 784.0
|
||||
margin_bottom = 20.0
|
||||
margin_left = 3.0
|
||||
margin_top = 3.0
|
||||
margin_right = 787.0
|
||||
margin_bottom = 23.0
|
||||
flat = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
margin_right = 40.0
|
||||
margin_bottom = 14.0
|
||||
margin_left = 37.0
|
||||
margin_top = 16.0
|
||||
margin_right = 397.0
|
||||
margin_bottom = 76.0
|
||||
rect_min_size = Vector2( 360, 60 )
|
||||
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
|
||||
custom_constants/shadow_offset_x = 0
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
[gd_resource type="DynamicFont" load_steps=2 format=2]
|
||||
|
||||
[sub_resource type="DynamicFontData" id=1]
|
||||
font_path = "res://Graphics/Fonts/CC Wild Words Roman.ttf"
|
||||
[ext_resource path="res://Fonts/luckiest-guy/LuckiestGuy.ttf" type="DynamicFontData" id=1]
|
||||
|
||||
[resource]
|
||||
size = 48
|
||||
font_data = SubResource( 1 )
|
||||
font_data = ExtResource( 1 )
|
||||
|
|
BIN
Scenes/TitleScreen/the_title_thing.png
Normal file
BIN
Scenes/TitleScreen/the_title_thing.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 33 KiB |
35
Scenes/TitleScreen/the_title_thing.png.import
Normal file
35
Scenes/TitleScreen/the_title_thing.png.import
Normal file
|
@ -0,0 +1,35 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/the_title_thing.png-299f495ccadbcefc873c509449982be9.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Scenes/TitleScreen/the_title_thing.png"
|
||||
dest_files=[ "res://.import/the_title_thing.png-299f495ccadbcefc873c509449982be9.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
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
Loading…
Add table
Add a link
Reference in a new issue