MainMenu V1

This commit is contained in:
mightypanders 2021-04-02 21:51:35 +02:00
commit 30afd3a352
24 changed files with 243 additions and 0 deletions

View File

@ -0,0 +1,3 @@
source_md5="da4d31d88ed423115056423e6f611d3e"
dest_md5="e7d87d5f36f1517ce3d3baefe0a8f25c"

View File

@ -0,0 +1,3 @@
source_md5="1f9021f5c29e60f207b384d84236e951"
dest_md5="69cd14014a498ded3a9c2010e8ff68a0"

View File

@ -0,0 +1,3 @@
source_md5="183a711f3d9d949bb16795560e5c43a4"
dest_md5="7505c0bbe06b00b7941cbd42694cb0d7"

View File

@ -0,0 +1,3 @@
source_md5="47313fa4c47a9963fddd764e1ec6e4a8"
dest_md5="2ded9e7f9060e2b530aab678b135fc5b"

Binary file not shown.

View File

@ -0,0 +1,3 @@
source_md5="8057445ee61f0662c373e0503ec524d5"
dest_md5="c1e9210a485dc2616a3123f6171dd3ef"

View File

@ -0,0 +1,3 @@
source_md5="8057445ee61f0662c373e0503ec524d5"
dest_md5="c1e9210a485dc2616a3123f6171dd3ef"

90
MainMenu.tscn Normal file
View File

@ -0,0 +1,90 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://assets/graphics/placeholder-image.png" type="Texture" id=1]
[ext_resource path="res://assets/fonts/GB_Retro_font.tres" type="DynamicFont" id=2]
[ext_resource path="res://assets/fonts/3D_Retro_font.tres" type="DynamicFont" id=3]
[node name="MainMenu" type="MarginContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
custom_constants/margin_right = 120
custom_constants/margin_top = 80
custom_constants/margin_left = 120
custom_constants/margin_bottom = 80
__meta__ = {
"_edit_use_anchors_": false
}
[node name="HBoxSreen" type="HBoxContainer" parent="."]
margin_left = 120.0
margin_top = 80.0
margin_right = 1525.0
margin_bottom = 688.0
custom_constants/separation = 50
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CenterMenu" type="CenterContainer" parent="HBoxSreen"]
margin_right = 555.0
margin_bottom = 608.0
[node name="VBoxMenu" type="VBoxContainer" parent="HBoxSreen/CenterMenu"]
margin_top = 146.0
margin_right = 555.0
margin_bottom = 461.0
size_flags_horizontal = 0
size_flags_vertical = 0
custom_constants/separation = 80
[node name="Title" type="Label" parent="HBoxSreen/CenterMenu/VBoxMenu"]
margin_right = 555.0
margin_bottom = 75.0
custom_fonts/font = ExtResource( 3 )
text = "<GAME TITLE>"
[node name="VBoxContainer" type="VBoxContainer" parent="HBoxSreen/CenterMenu/VBoxMenu"]
margin_top = 155.0
margin_right = 555.0
margin_bottom = 315.0
custom_constants/separation = 20
[node name="Start" type="Label" parent="HBoxSreen/CenterMenu/VBoxMenu/VBoxContainer"]
margin_left = 125.0
margin_right = 429.0
margin_bottom = 40.0
size_flags_horizontal = 4
size_flags_vertical = 0
custom_fonts/font = ExtResource( 2 )
text = "Start Game"
[node name="Options" type="Label" parent="HBoxSreen/CenterMenu/VBoxMenu/VBoxContainer"]
margin_left = 165.0
margin_top = 60.0
margin_right = 389.0
margin_bottom = 100.0
size_flags_horizontal = 4
size_flags_vertical = 0
custom_fonts/font = ExtResource( 2 )
text = "Options"
[node name="Exit" type="Label" parent="HBoxSreen/CenterMenu/VBoxMenu/VBoxContainer"]
margin_left = 213.0
margin_top = 120.0
margin_right = 341.0
margin_bottom = 160.0
size_flags_horizontal = 4
size_flags_vertical = 0
custom_fonts/font = ExtResource( 2 )
text = "Exit"
[node name="CenterLogo" type="CenterContainer" parent="HBoxSreen"]
margin_left = 605.0
margin_right = 1405.0
margin_bottom = 608.0
[node name="GameLogo" type="TextureRect" parent="HBoxSreen/CenterLogo"]
margin_top = 4.0
margin_right = 800.0
margin_bottom = 604.0
texture = ExtResource( 1 )

View File

@ -0,0 +1,9 @@
[gd_resource type="DynamicFont" load_steps=2 format=2]
[ext_resource path="res://assets/fonts/3Dventure.ttf" type="DynamicFontData" id=1]
[resource]
size = 80
outline_color = Color( 1, 0, 0, 1 )
font_data = ExtResource( 1 )

BIN
assets/fonts/3Dventure.ttf Normal file

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,8 @@
[gd_resource type="DynamicFont" load_steps=2 format=2]
[ext_resource path="res://assets/fonts/Early GameBoy.ttf" type="DynamicFontData" id=1]
[resource]
size = 32
font_data = ExtResource( 1 )

View File

@ -0,0 +1,7 @@
[gd_resource type="DynamicFont" load_steps=2 format=2]
[ext_resource path="res://assets/fonts/Super-Mario-Bros--3.ttf" type="DynamicFontData" id=1]
[resource]
font_data = ExtResource( 1 )

Binary file not shown.

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-67933ebd1defac4ec751d8080b26b918.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/graphics/placeholder-image.png"
dest_files=[ "res://.import/placeholder-image.png-67933ebd1defac4ec751d8080b26b918.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

2
assets/info.txt Normal file
View File

@ -0,0 +1,2 @@
license: Freeware, Non-Commercial
link: https://www.fontspace.com/debug-font-f53756

8
default_env.tres Normal file
View File

@ -0,0 +1,8 @@
[gd_resource type="Environment" load_steps=2 format=2]
[sub_resource type="ProceduralSky" id=1]
[resource]
background_mode = 4
background_sky = SubResource( 1 )
background_color = Color( 0.964706, 0.4, 0.4, 1 )

BIN
icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

34
icon.png.import Normal file
View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://icon.png"
dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.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

33
project.godot Normal file
View File

@ -0,0 +1,33 @@
; Engine configuration file.
; It's best edited using the editor UI and not directly,
; since the parameters that go here are not all obvious.
;
; Format:
; [section] ; section goes between []
; param=value ; assign values to parameters
config_version=4
_global_script_classes=[ ]
_global_script_class_icons={
}
[application]
config/name="MiniJam77"
config/icon="res://icon.png"
[display]
window/size/width=1366
window/size/height=768
window/size/fullscreen=true
[rendering]
quality/driver/driver_name="GLES2"
vram_compression/import_etc=true
vram_compression/import_etc2=false
environment/default_clear_color=Color( 0.372549, 0.682353, 0.909804, 1 )
environment/default_environment="res://default_env.tres"