93 lines
2.8 KiB
Text
93 lines
2.8 KiB
Text
[gd_scene load_steps=10 format=3 uid="uid://ceu62dbrvd31p"]
|
|
|
|
[ext_resource type="Theme" uid="uid://cotw1alu4b2ad" path="res://Theme/MainTheme.tres" id="1_2eoii"]
|
|
[ext_resource type="Script" path="res://scenes/menu/startMenu/start_menu.gd" id="2_y1mcp"]
|
|
[ext_resource type="PackedScene" uid="uid://iq8pxx1suuqt" path="res://scenes/menu/background.tscn" id="3_1hlwn"]
|
|
[ext_resource type="Texture2D" uid="uid://c3o6hrpc0fim2" path="res://Assets/Portal.png" id="3_pyyyw"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_drumk"]
|
|
atlas = ExtResource("3_pyyyw")
|
|
region = Rect2(0, 0, 128, 128)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ixrr4"]
|
|
atlas = ExtResource("3_pyyyw")
|
|
region = Rect2(128, 0, 128, 128)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_uu1bm"]
|
|
atlas = ExtResource("3_pyyyw")
|
|
region = Rect2(256, 0, 128, 128)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_fv6fu"]
|
|
atlas = ExtResource("3_pyyyw")
|
|
region = Rect2(384, 0, 128, 128)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_scf5k"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_drumk")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ixrr4")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_uu1bm")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_fv6fu")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[node name="StartMenu" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme = ExtResource("1_2eoii")
|
|
script = ExtResource("2_y1mcp")
|
|
|
|
[node name="Background" parent="." instance=ExtResource("3_1hlwn")]
|
|
|
|
[node name="Portal" type="AnimatedSprite2D" parent="."]
|
|
position = Vector2(956, 542)
|
|
scale = Vector2(2, 2)
|
|
sprite_frames = SubResource("SpriteFrames_scf5k")
|
|
frame_progress = 0.053071
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="."]
|
|
visible = false
|
|
modulate = Color(1, 1, 1, 0.376471)
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
color = Color(0, 0, 0, 1)
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="StartButton" type="Button" parent="CenterContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "PLAY"
|
|
|
|
[node name="StartButton2" type="Button" parent="CenterContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "HELP"
|
|
|
|
[connection signal="button_up" from="CenterContainer/VBoxContainer/StartButton" to="." method="_on_start_button_button_up"]
|
|
[connection signal="pressed" from="CenterContainer/VBoxContainer/StartButton2" to="." method="_on_start_button_2_pressed"]
|