diff --git a/res/themes/default.tres b/res/themes/default.tres index f806a20..41f81a2 100644 --- a/res/themes/default.tres +++ b/res/themes/default.tres @@ -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] diff --git a/src/scenes/menu/Menu.tscn b/src/scenes/menu/Menu.tscn index 8bab30d..917c8d3 100644 --- a/src/scenes/menu/Menu.tscn +++ b/src/scenes/menu/Menu.tscn @@ -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"] diff --git a/src/scenes/menu/background/main_menu.png b/src/scenes/menu/background/main_menu.png new file mode 100644 index 0000000..d3b185e Binary files /dev/null and b/src/scenes/menu/background/main_menu.png differ diff --git a/src/scenes/menu/background/main_menu.png.import b/src/scenes/menu/background/main_menu.png.import new file mode 100644 index 0000000..c348d2c --- /dev/null +++ b/src/scenes/menu/background/main_menu.png.import @@ -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