1
Fork 0
mirror of https://github.com/RYGhub/the-cold-night.git synced 2024-11-21 12:14:18 +00:00

✏️ Main menu (second version)

This commit is contained in:
Cookie-CHR 2022-04-04 17:19:10 +02:00
parent 86efa55c12
commit 0e3d53adab
3 changed files with 20 additions and 13 deletions

View file

@ -1,8 +1,14 @@
[gd_scene load_steps=4 format=2]
[gd_scene load_steps=7 format=2]
[ext_resource path="res://src/levels/MainMenu.gd" type="Script" id=1]
[ext_resource path="res://src/ui/Title.png" type="Texture" id=2]
[ext_resource path="res://src/ui/PlayButton.png" type="Texture" id=3]
[ext_resource path="res://src/ui/fonts/SourceSerifPro-Light.ttf" type="DynamicFontData" id=4]
[ext_resource path="res://src/entities/fire/Fire.tscn" type="PackedScene" id=5]
[sub_resource type="DynamicFont" id=1]
size = 70
font_data = ExtResource( 4 )
[node name="MainMenu" type="Node2D"]
script = ExtResource( 1 )
@ -15,10 +21,16 @@ margin_bottom = 720.0
position = Vector2( 640.881, 360.696 )
texture = ExtResource( 2 )
[node name="Fire" parent="Panel" instance=ExtResource( 5 )]
position = Vector2( 421, 365 )
scale = Vector2( 4, 4 )
[node name="Play" type="Button" parent="."]
margin_left = 580.0
margin_top = 540.0
margin_right = 12.0
margin_bottom = 20.0
margin_left = 944.0
margin_top = 489.0
margin_right = 1210.0
margin_bottom = 615.0
custom_fonts/font = SubResource( 1 )
text = "Play"
icon = ExtResource( 3 )
flat = true

BIN
src/ui/Title.png (Stored with Git LFS)

Binary file not shown.

View file

@ -2,16 +2,11 @@
importer="texture"
type="StreamTexture"
path="res://.import/Title.png-eddaf0247c16f2cd01805f96e728b10b.stex"
metadata={
"vram_texture": false
}
valid=false
[deps]
source_file="res://src/ui/Title.png"
dest_files=[ "res://.import/Title.png-eddaf0247c16f2cd01805f96e728b10b.stex" ]
[params]
compress/mode=0