MIF_E31230535/main_menu.tscn

143 lines
4.6 KiB
Plaintext

[gd_scene load_steps=13 format=3 uid="uid://dune422pe4yv3"]
[ext_resource type="Script" uid="uid://bp7ojgj6jp0s1" path="res://main_menu.gd" id="1_06t4h"]
[ext_resource type="Texture2D" uid="uid://ci73l0pr2u5tf" path="res://stage0mulai.png" id="2_fu7sn"]
[ext_resource type="Texture2D" uid="uid://btw1t30l22txa" path="res://stage0doneyh.png" id="3_jix8l"]
[ext_resource type="Texture2D" uid="uid://cx1h53jfhbtd4" path="res://stage1doneyh.png" id="4_glbon"]
[ext_resource type="Texture2D" uid="uid://cppexigmtp0lb" path="res://stage2doneyh.png" id="5_nlkkf"]
[ext_resource type="Texture2D" uid="uid://cdfa560yg670b" path="res://logogame.png" id="6_8qtwp"]
[ext_resource type="AudioStream" uid="uid://d02oayn3hn4i0" path="res://[no copyright music] 'In Dreamland ' background music - Copy.ogg" id="6_qe12f"]
[ext_resource type="AudioStream" uid="uid://c7bya770ofet5" path="res://😓 Sad Piano Ambient Music Copyright Free - Undertow by @ScottBuckley 🇦🇺.ogg" id="8_8qtwp"]
[sub_resource type="Animation" id="Animation_jco62"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("ColorRect:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(0, 0, 0, 1)]
}
[sub_resource type="Animation" id="Animation_ibae7"]
resource_name = "fadein"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("ColorRect:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.53333336),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(0, 0, 0, 1), Color(0, 0, 0, 0)]
}
[sub_resource type="Animation" id="Animation_ri1s7"]
resource_name = "new_animation"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("ColorRect:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(0, 0, 0, 0), Color(0, 0, 0, 1)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_bu3s6"]
_data = {
&"RESET": SubResource("Animation_jco62"),
&"fadein": SubResource("Animation_ibae7"),
&"fadeout": SubResource("Animation_ri1s7")
}
[node name="MainMenu" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -3.0
offset_top = -7.0
offset_right = -3.0
offset_bottom = -7.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_06t4h")
[node name="BackgroundDamai" type="Sprite2D" parent="."]
position = Vector2(577, 338.00003)
scale = Vector2(0.70041203, 0.75161994)
texture = ExtResource("2_fu7sn")
[node name="BackgroundHancur" type="Sprite2D" parent="."]
position = Vector2(577, 338.00003)
scale = Vector2(0.70041203, 0.75161994)
texture = ExtResource("3_jix8l")
[node name="BackgroundStage1Selesai" type="Sprite2D" parent="."]
visible = false
position = Vector2(577, 338.00003)
scale = Vector2(0.70041203, 0.75161994)
texture = ExtResource("4_glbon")
[node name="BackgroundStage2Selesai" type="Sprite2D" parent="."]
visible = false
position = Vector2(577, 338.00003)
scale = Vector2(0.70041203, 0.75161994)
texture = ExtResource("5_nlkkf")
[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2(132, 128)
scale = Vector2(0.28645834, 0.3203125)
texture = ExtResource("6_8qtwp")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 0
offset_left = 652.0
offset_top = 314.0
offset_right = 1092.0
offset_bottom = 460.0
[node name="StartButton" type="Button" parent="VBoxContainer"]
layout_mode = 2
text = "Mulai"
[node name="QuitButton" type="Button" parent="VBoxContainer"]
layout_mode = 2
text = "Keluar"
[node name="TransitionLayer" type="CanvasLayer" parent="."]
[node name="ColorRect" type="ColorRect" parent="TransitionLayer"]
modulate = Color(0, 0, 0, 1)
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
[node name="fade_to_black" type="AnimationPlayer" parent="TransitionLayer"]
libraries = {
&"": SubResource("AnimationLibrary_bu3s6")
}
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("6_qe12f")
[node name="AudioStreamPlayer2" type="AudioStreamPlayer" parent="."]
stream = ExtResource("8_8qtwp")
[connection signal="pressed" from="VBoxContainer/StartButton" to="." method="_on_start_button_pressed"]
[connection signal="pressed" from="VBoxContainer/QuitButton" to="." method="_on_exit_button_pressed"]