main
Just Dzhi 2023-10-02 19:06:00 +04:00
parent 10e5ee3ef6
commit 50db973705
4 changed files with 49 additions and 23 deletions

View File

@ -3,6 +3,7 @@
[ext_resource path="res://res/fonts/silkscreen/Silkscreen-Regular.ttf" type="DynamicFontData" id=1]
[sub_resource type="DynamicFont" id=1]
size = 8
font_data = ExtResource( 1 )
[resource]

View File

@ -1,7 +1,7 @@
[gd_scene load_steps=7 format=2]
[ext_resource path="res://src/scenes/menu/menu.gd" type="Script" id=1]
[ext_resource path="res://src/scenes/menu/background/background.png" type="Texture" id=2]
[ext_resource path="res://src/scenes/menu/background/main_menu.png" type="Texture" id=2]
[ext_resource path="res://res/themes/default.tres" type="Theme" id=3]
[ext_resource path="res://src/scenes/menu/button/button_outline.png" type="Texture" id=4]
[ext_resource path="res://res/sounds/menu/click.wav" type="AudioStream" id=5]
@ -35,17 +35,17 @@ margin_right = 160.0
margin_bottom = 90.0
[node name="PlayButton" type="Button" parent="UI"]
margin_left = 20.0
margin_top = 40.0
margin_right = 140.0
margin_bottom = 80.0
margin_left = 138.0
margin_top = 45.0
margin_right = 218.0
margin_bottom = 72.0
theme = ExtResource( 3 )
text = "Play"
flat = true
[node name="Button_Outline" type="NinePatchRect" parent="UI/PlayButton"]
margin_right = 120.0
margin_bottom = 40.0
margin_right = 80.0
margin_bottom = 27.0
rect_clip_content = true
texture = ExtResource( 4 )
patch_margin_left = 2
@ -60,17 +60,17 @@ stream = ExtResource( 5 )
stream = ExtResource( 6 )
[node name="ExitButton" type="Button" parent="UI"]
margin_left = 20.0
margin_top = 100.0
margin_right = 140.0
margin_bottom = 140.0
margin_left = 122.0
margin_top = 90.0
margin_right = 202.0
margin_bottom = 117.0
theme = ExtResource( 3 )
text = "Exit"
flat = true
[node name="Button_Outline" type="NinePatchRect" parent="UI/ExitButton"]
margin_right = 120.0
margin_bottom = 40.0
margin_right = 80.0
margin_bottom = 27.0
rect_clip_content = true
texture = ExtResource( 4 )
patch_margin_left = 2
@ -84,16 +84,6 @@ stream = ExtResource( 5 )
[node name="AudioHovering" type="AudioStreamPlayer" parent="UI/ExitButton"]
stream = ExtResource( 6 )
[node name="Label" type="Label" parent="UI"]
margin_left = 192.0
margin_top = 56.0
margin_right = 300.0
margin_bottom = 125.0
theme = ExtResource( 3 )
text = "Manskage
iLunaiLuna
JustDzhi"
[connection signal="mouse_entered" from="UI/PlayButton" to="." method="_on_PlayButton_mouse_entered"]
[connection signal="mouse_exited" from="UI/PlayButton" to="." method="_on_PlayButton_mouse_exited"]
[connection signal="pressed" from="UI/PlayButton" to="." method="game_start"]

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

View File

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/main_menu.png-de2bf9e679f8b63409cdc558ee8ea050.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://src/scenes/menu/background/main_menu.png"
dest_files=[ "res://.import/main_menu.png-de2bf9e679f8b63409cdc558ee8ea050.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=false
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=false
svg/scale=1.0