Added main menu

This commit is contained in:
Nicholas 2025-05-17 14:57:10 +01:00
parent 7c560fb00e
commit 93c949c77f
3 changed files with 72 additions and 0 deletions

BIN
Cat on news.PNG Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 KiB

34
Cat on news.PNG.import Normal file
View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://yqukd7l5xsxg"
path="res://.godot/imported/Cat on news.PNG-621dc2effcc56c21cde85dc129fd7f7c.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Cat on news.PNG"
dest_files=["res://.godot/imported/Cat on news.PNG-621dc2effcc56c21cde85dc129fd7f7c.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

38
Main Menu.tscn Normal file
View File

@ -0,0 +1,38 @@
[gd_scene load_steps=3 format=3 uid="uid://bmvb0o7ohxcfd"]
[ext_resource type="Texture2D" uid="uid://yqukd7l5xsxg" path="res://Cat on news.PNG" id="1_5b7ti"]
[sub_resource type="SystemFont" id="SystemFont_7yr4w"]
[node name="Control" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Button" type="Button" parent="."]
layout_mode = 0
offset_left = 367.0
offset_top = 168.0
offset_right = 777.0
offset_bottom = 246.0
theme_override_fonts/font = SubResource("SystemFont_7yr4w")
theme_override_font_sizes/font_size = 51
text = "Start"
[node name="Button2" type="Button" parent="."]
offset_left = 368.0
offset_top = 332.0
offset_right = 778.0
offset_bottom = 410.0
theme_override_fonts/font = SubResource("SystemFont_7yr4w")
theme_override_font_sizes/font_size = 51
text = "Exit"
[node name="Sprite2D" type="Sprite2D" parent="."]
z_index = -100
position = Vector2(578.503, 288.125)
scale = Vector2(2.71364, 2.71364)
texture = ExtResource("1_5b7ti")