diff --git a/src/levels/MainMenu.tscn b/src/levels/MainMenu.tscn index d0984ae..f276e72 100644 --- a/src/levels/MainMenu.tscn +++ b/src/levels/MainMenu.tscn @@ -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 diff --git a/src/ui/Title.png b/src/ui/Title.png index 011df7b..230313e 100644 --- a/src/ui/Title.png +++ b/src/ui/Title.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9166dfac6cbc0cb2fc4bd877a88efd4414a0c515e7988725c8646679a8094b62 -size 220905 +oid sha256:10d3fefb58022900bcef7270ca4f0f8d5f825ef1bfca7198fef463b23d40b937 +size 1874421 diff --git a/src/ui/Title.png.import b/src/ui/Title.png.import index 43eb17c..ca3aae8 100644 --- a/src/ui/Title.png.import +++ b/src/ui/Title.png.import @@ -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