Files
wrplat-godot/objects/scenes/demo/demo_mainmenu.tscn
T
qwsdcvghyu89 7ba8c1fc6b
Release / Export Game (push) Successful in 1m57s
Added automatic view pixelation. Added more menus.
2026-08-26 18:26:20 +10:00

189 lines
7.1 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="AudioStream" uid="uid://fhfma3rrxyfi" path="res://sounds/ost/Asphodel.wav" id="4_poqmu"]
[ext_resource type="Script" uid="uid://ch221ydrywbrk" path="res://src/components/main_menu/GradientScriptedAnimation.cs" id="4_wdmo0"]
[ext_resource type="Script" uid="uid://b3unn3dqhg2vl" path="res://src/components/common/MusicCycler.gd" id="5_1hr2j"]
[ext_resource type="PackedScene" uid="uid://5ch7mre0ksv6" path="res://objects/scenes/asset/ui/main_menu.tscn" id="5_wdmo0"]
[ext_resource type="Script" uid="uid://cf3040sd1mjrk" path="res://src/components/main_menu/MenuTransition.cs" id="6_0fhi2"]
[ext_resource type="PackedScene" uid="uid://b20x3qda0y3ga" path="res://objects/scenes/asset/ui/splash_menu.tscn" id="6_q1jge"]
[ext_resource type="PackedScene" uid="uid://r2lb1ommvj6u" path="res://objects/scenes/demo/demo.tscn" id="7_1v68a"]
[ext_resource type="PackedScene" uid="uid://bfs48nlfaoqp2" path="res://objects/scenes/asset/ui/credits_menu.tscn" id="7_t7qbk"]
[ext_resource type="PackedScene" uid="uid://v0unm0xqyobj" path="res://objects/scenes/asset/ui/options_menu.tscn" id="8_0fhi2"]
[ext_resource type="Theme" uid="uid://nerlsbdjd6qo" path="res://objects/themes/default.tres" id="11_p6t12"]
[ext_resource type="Script" uid="uid://bifrcnsmydepv" path="res://src/components/global/LabelRendererGlobal.cs" id="14_w05yp"]
[sub_resource type="Gradient" id="Gradient_q1jge"]
interpolation_color_space = 2
colors = PackedColorArray(0, 0, 0, 0, 0, 0, 0, 1)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_t7qbk"]
gradient = SubResource("Gradient_q1jge")
fill_from = Vector2(1, 1)
fill_to = Vector2(0, 0)
[sub_resource type="Gradient" id="Gradient_w05yp"]
[sub_resource type="GradientTexture1D" id="GradientTexture1D_k8ytl"]
gradient = SubResource("Gradient_w05yp")
[sub_resource type="Resource" id="Resource_0fhi2"]
script = ExtResource("6_0fhi2")
Menu = NodePath("../Credits Menu")
TransitionName = "transition_credits"
BackgroundDimming = 1
TransitionButton = NodePath("Menustack/Credits/Button")
metadata/_custom_type_script = "uid://cf3040sd1mjrk"
[sub_resource type="Resource" id="Resource_1v68a"]
script = ExtResource("6_0fhi2")
Menu = NodePath("../Options Menu")
TransitionName = "transition_options"
BackgroundDimming = 1
TransitionButton = NodePath("Menustack/Options/Button")
metadata/_custom_type_script = "uid://cf3040sd1mjrk"
[sub_resource type="Resource" id="Resource_p6t12"]
script = ExtResource("6_0fhi2")
Menu = null
TransitionName = "transition_play"
BackgroundDimming = 1
TransitionButton = NodePath("Menustack/Play/Button")
Mode = 2
Scene = ExtResource("7_1v68a")
metadata/_custom_type_script = "uid://cf3040sd1mjrk"
[sub_resource type="Resource" id="Resource_w05yp"]
script = ExtResource("6_0fhi2")
Menu = null
TransitionName = "transition_quit"
BackgroundDimming = 1
TransitionButton = NodePath("Menustack/Quit/Button")
Mode = 1
metadata/_custom_type_script = "uid://cf3040sd1mjrk"
[node name="CanvasLayer" type="CanvasLayer" unique_id=964065099]
[node name="Backgrounds" type="Control" parent="." unique_id=947513697]
z_index = -1
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="AnimatingBG" 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"
[node name="TextureRect" type="TextureRect" parent="Backgrounds" unique_id=413596339]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("4_wdmo0")
GradientedTexture = SubResource("GradientTexture2D_t7qbk")
[node name="Debug" type="TextureRect" parent="Backgrounds" unique_id=1830017880]
visible = false
layout_mode = 0
offset_left = 492.0
offset_top = 276.0
offset_right = 532.0
offset_bottom = 316.0
texture = SubResource("GradientTexture1D_k8ytl")
[node name="Foregrounds" type="Control" parent="." unique_id=532739154]
texture_filter = 1
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
[node name="Main Menu" parent="Foregrounds" unique_id=1796574784 node_paths=PackedStringArray("Background", "Cursor") instance=ExtResource("5_wdmo0")]
layout_mode = 1
mouse_filter = 2
Transitions = Array[Object]([SubResource("Resource_0fhi2"), SubResource("Resource_1v68a"), SubResource("Resource_p6t12"), SubResource("Resource_w05yp")])
Background = NodePath("../../Backgrounds/TextureRect")
Cursor = NodePath("../Cursor")
[node name="Menustack" parent="Foregrounds/Main Menu" index="0" unique_id=231636108]
mouse_filter = 2
[node name="Button" parent="Foregrounds/Main Menu/Menustack/Quit" parent_id_path=PackedInt32Array(1796574784, 1231334524) index="0" unique_id=489973493 node_paths=PackedStringArray("QuitAnimation", "MusicPlayer")]
QuitAnimation = NodePath("../../../../../Backgrounds/TextureRect")
MusicPlayer = NodePath("../../../../../AudioStreamPlayer")
[node name="Title" parent="Foregrounds/Main Menu" index="1" unique_id=1923904866]
mouse_filter = 2
[node name="Splash Menu" parent="Foregrounds" unique_id=2134793095 instance=ExtResource("6_q1jge")]
layout_mode = 1
[node name="Credits Menu" parent="Foregrounds" unique_id=1244466233 instance=ExtResource("7_t7qbk")]
visible = false
layout_mode = 1
[node name="Options Menu" parent="Foregrounds" unique_id=964726038 instance=ExtResource("8_0fhi2")]
visible = false
layout_mode = 1
[node name="Cursor" type="Control" parent="Foregrounds" unique_id=1789147063]
visible = false
anchors_preset = 0
offset_left = 189.0
offset_top = 264.0
offset_right = 189.0
offset_bottom = 264.0
[node name="Cursor" type="Label" parent="Foregrounds/Cursor" unique_id=1369070031]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -27.25
offset_top = -21.99
offset_right = 6.75
offset_bottom = 92.01
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("11_p6t12")
theme_override_font_sizes/font_size = 64
text = ">"
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="." unique_id=1990529552]
autoplay = true
script = ExtResource("5_1hr2j")
music = Array[AudioStream]([ExtResource("4_poqmu")])
[node name="LabelRendererGlobal" type="Control" parent="." unique_id=568000883 node_paths=PackedStringArray("DebugRect", "DebugLabel")]
layout_mode = 3
anchors_preset = 0
script = ExtResource("14_w05yp")
PixellizationFactor = Vector2(4, 4)
DebugRect = NodePath("../Backgrounds/Debug")
DebugLabel = NodePath("../Foregrounds/Main Menu/Menustack/Play")
[editable path="Foregrounds/Main Menu"]