Files
wrplat-godot/objects/scenes/demo/demo_mainmenu.tscn
T
qwsdcvghyu89 8ad0f3ff65
Release / Export Game (push) Successful in 1m34s
Added menu with animated backgroudn and custom logo icon (icns, ico, and png).
2026-06-18 17:00:33 +10:00

135 lines
4.0 KiB
Plaintext

[gd_scene format=3 uid="uid://c4m8fwawvvkgn"]
[ext_resource type="Script" uid="uid://ddyqjxbvduefg" path="res://src/components/main_menu/FramesDriver.cs" id="1_57gb7"]
[ext_resource type="SpriteFrames" uid="uid://cxf0kefqrxk0d" path="res://objects/animation/frames/mm_background.tres" id="2_57gb7"]
[ext_resource type="Texture2D" uid="uid://y8jx0okmf6bu" path="res://sprites/background/background_render.png" id="2_bmtj5"]
[ext_resource type="Texture2D" uid="uid://dwxvec8mp4mxb" path="res://sprites/floweryheart.png" id="4_bwcp6"]
[ext_resource type="AudioStream" uid="uid://fhfma3rrxyfi" path="res://sounds/ost/Asphodel.wav" id="4_poqmu"]
[node name="CanvasLayer" type="CanvasLayer" unique_id=964065099]
[node name="Node2D" type="Node2D" parent="." unique_id=1686720967]
[node name="Backgrounds" type="Control" parent="." unique_id=947513697]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="TextureRect" type="TextureRect" parent="Backgrounds" unique_id=2116447674]
z_index = -1
texture_filter = 1
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 3
size_flags_vertical = 3
texture = ExtResource("2_bmtj5")
expand_mode = 1
script = ExtResource("1_57gb7")
Frames = ExtResource("2_57gb7")
Animation = &"default"
Speed = 0.355
[node name="Foregrounds" type="Control" parent="." unique_id=532739154]
texture_filter = 1
layout_mode = 3
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
[node name="Menu" type="Control" parent="Foregrounds" unique_id=1624616979]
layout_mode = 1
anchors_preset = 0
offset_left = 115.0
offset_top = 31.0
offset_right = 155.0
offset_bottom = 71.0
[node name="ColorRect" type="ColorRect" parent="Foregrounds/Menu" unique_id=113370318]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 86.0
offset_top = 6.0
offset_right = 86.0
offset_bottom = 6.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.1764706, 0.1764706, 0.1764706, 0)
[node name="Label" type="Label" parent="Foregrounds/Menu/ColorRect" unique_id=2085880928]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -37.0
offset_top = 104.0
offset_right = 301.0
offset_bottom = 152.0
grow_horizontal = 2
grow_vertical = 2
theme_override_font_sizes/font_size = 64
text = "escent"
horizontal_alignment = 1
[node name="VBoxContainer" type="VBoxContainer" parent="Foregrounds/Menu" unique_id=2073991818]
layout_mode = 0
offset_left = -48.0
offset_top = 335.0
offset_right = 86.0
offset_bottom = 561.0
theme_override_constants/separation = 10
[node name="Play" type="Label" parent="Foregrounds/Menu/VBoxContainer" unique_id=1275991601]
layout_mode = 2
theme_override_font_sizes/font_size = 35
text = "Play"
vertical_alignment = 1
[node name="Button" type="Button" parent="Foregrounds/Menu/VBoxContainer/Play" unique_id=1599046476]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
flat = true
[node name="Label2" type="Label" parent="Foregrounds/Menu/VBoxContainer" unique_id=160372396]
layout_mode = 2
theme_override_font_sizes/font_size = 35
text = "Options"
vertical_alignment = 1
[node name="Label3" type="Label" parent="Foregrounds/Menu/VBoxContainer" unique_id=823585934]
layout_mode = 2
theme_override_font_sizes/font_size = 35
text = "Credits"
vertical_alignment = 1
[node name="Label4" type="Label" parent="Foregrounds/Menu/VBoxContainer" unique_id=251545756]
layout_mode = 2
theme_override_font_sizes/font_size = 35
text = "Quit"
vertical_alignment = 1
[node name="TextureRect" type="TextureRect" parent="Foregrounds/Menu" unique_id=1402279798]
texture_filter = 1
layout_mode = 0
offset_left = -103.0
offset_top = -1.0
offset_right = 179.0
offset_bottom = 281.0
texture = ExtResource("4_bwcp6")
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="." unique_id=1990529552]
stream = ExtResource("4_poqmu")
autoplay = true