1bit-game-jam/scenes/menu.tscn

48 lines
1.4 KiB
Text

[gd_scene load_steps=6 format=3 uid="uid://c7w8oqlobjae0"]
[ext_resource type="Script" path="res://scripts/Menu.cs" id="1_dlrmp"]
[ext_resource type="AudioStream" uid="uid://ilvpdkvibr7c" path="res://sounds/thunderclap.ogg" id="2_nviw8"]
[ext_resource type="Theme" uid="uid://daxgxg7c8v0ih" path="res://themes/zx_theme.tres" id="3_d3ur4"]
[sub_resource type="Animation" id="Animation_6kcty"]
resource_name = "intro_animation"
[sub_resource type="AnimationLibrary" id="AnimationLibrary_mjata"]
_data = {
"intro_animation": SubResource("Animation_6kcty")
}
[node name="Menu" type="Node2D"]
script = ExtResource("1_dlrmp")
[node name="Camera2D" type="Camera2D" parent="."]
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_mjata")
}
[node name="Timer" type="Timer" parent="."]
wait_time = 2.0
one_shot = true
[node name="Thunderclap" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("2_nviw8")
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="Label" type="Label" parent="CanvasLayer"]
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -26.0
grow_horizontal = 2
grow_vertical = 0
rotation = -0.001216
theme = ExtResource("3_d3ur4")
text = "Press Start or Enter"
horizontal_alignment = 1
vertical_alignment = 1
[connection signal="timeout" from="Timer" to="." method="ChangeScene"]