2024-01-20 13:21:28 +01:00
|
|
|
[gd_scene load_steps=7 format=3 uid="uid://cv2a37xetkkse"]
|
2024-01-16 13:58:17 +01:00
|
|
|
|
2024-01-20 11:38:12 +01:00
|
|
|
[ext_resource type="Script" path="res://levels/ui/sfxtest.gd" id="1_l1lbb"]
|
2024-01-16 13:58:17 +01:00
|
|
|
[ext_resource type="VideoStream" path="res://backgounds/nebula_-_6044 (720p).ogv" id="2_c55jp"]
|
|
|
|
[ext_resource type="Script" path="res://nebula.gd" id="3_yeu3h"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="4_xxv3m"]
|
|
|
|
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_cprm3"]
|
|
|
|
bg_color = Color(0, 0.8, 0, 1)
|
|
|
|
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0dqsq"]
|
|
|
|
bg_color = Color(0, 0.8, 0, 1)
|
|
|
|
|
|
|
|
[node name="Sfxtest" type="Control"]
|
|
|
|
layout_mode = 3
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
script = ExtResource("1_l1lbb")
|
|
|
|
|
|
|
|
[node name="nebula" type="VideoStreamPlayer" parent="."]
|
|
|
|
layout_mode = 0
|
|
|
|
offset_right = 640.0
|
|
|
|
offset_bottom = 368.0
|
|
|
|
scale = Vector2(2, 1.96)
|
|
|
|
stream = ExtResource("2_c55jp")
|
|
|
|
autoplay = true
|
|
|
|
script = ExtResource("3_yeu3h")
|
|
|
|
|
|
|
|
[node name="Game name" type="Label" parent="."]
|
|
|
|
layout_mode = 0
|
|
|
|
offset_left = 496.0
|
|
|
|
offset_top = 3.0
|
|
|
|
offset_right = 790.0
|
|
|
|
offset_bottom = 73.0
|
|
|
|
theme_override_font_sizes/font_size = 40
|
|
|
|
text = "Sound Effect Test"
|
|
|
|
|
|
|
|
[node name="Stop" type="Label" parent="."]
|
|
|
|
layout_mode = 0
|
|
|
|
offset_left = 5.0
|
|
|
|
offset_top = 672.0
|
|
|
|
offset_right = 444.0
|
|
|
|
offset_bottom = 708.0
|
|
|
|
theme_override_font_sizes/font_size = 22
|
|
|
|
text = "Press X to stop playback"
|
|
|
|
|
|
|
|
[node name="BoxContainer" type="BoxContainer" parent="."]
|
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = 3
|
|
|
|
anchor_left = 1.0
|
|
|
|
anchor_top = 1.0
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
offset_left = -640.0
|
|
|
|
offset_top = -419.0
|
|
|
|
grow_horizontal = 0
|
|
|
|
grow_vertical = 0
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="BoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
|
2024-01-20 13:21:28 +01:00
|
|
|
[node name="Game Over" type="Button" parent="BoxContainer/VBoxContainer"]
|
2024-01-16 13:58:17 +01:00
|
|
|
layout_mode = 2
|
|
|
|
theme_override_font_sizes/font_size = 25
|
|
|
|
theme_override_styles/focus = SubResource("StyleBoxFlat_cprm3")
|
2024-01-20 13:21:28 +01:00
|
|
|
text = "Game Over"
|
2024-01-16 13:58:17 +01:00
|
|
|
|
2024-01-20 13:21:28 +01:00
|
|
|
[node name="Gauge Fill" type="Button" parent="BoxContainer/VBoxContainer"]
|
2024-01-16 13:58:17 +01:00
|
|
|
layout_mode = 2
|
|
|
|
theme_override_font_sizes/font_size = 25
|
|
|
|
theme_override_styles/focus = SubResource("StyleBoxFlat_cprm3")
|
2024-01-20 13:21:28 +01:00
|
|
|
text = "Gauge Fill"
|
2024-01-16 13:58:17 +01:00
|
|
|
|
|
|
|
[node name="VBoxContainer2" type="VBoxContainer" parent="BoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
|
2024-01-20 14:58:29 +01:00
|
|
|
[node name="Explosion" type="Button" parent="BoxContainer/VBoxContainer2"]
|
2024-01-16 13:58:17 +01:00
|
|
|
layout_mode = 2
|
|
|
|
theme_override_font_sizes/font_size = 25
|
2024-01-20 13:21:28 +01:00
|
|
|
theme_override_styles/focus = SubResource("StyleBoxFlat_cprm3")
|
2024-01-20 14:58:29 +01:00
|
|
|
text = "Explosion"
|
2024-01-16 13:58:17 +01:00
|
|
|
|
|
|
|
[node name="Back" type="Button" parent="BoxContainer/VBoxContainer2"]
|
|
|
|
layout_mode = 2
|
|
|
|
theme_override_font_sizes/font_size = 25
|
|
|
|
theme_override_styles/focus = SubResource("StyleBoxFlat_0dqsq")
|
|
|
|
text = "Back"
|
|
|
|
|
|
|
|
[node name="Bottomhud" parent="." instance=ExtResource("4_xxv3m")]
|
|
|
|
layout_mode = 1
|
|
|
|
|
|
|
|
[connection signal="finished" from="nebula" to="nebula" method="_on_finished"]
|
2024-01-20 13:21:28 +01:00
|
|
|
[connection signal="pressed" from="BoxContainer/VBoxContainer/Game Over" to="." method="_on_game_over_pressed"]
|
|
|
|
[connection signal="pressed" from="BoxContainer/VBoxContainer/Gauge Fill" to="." method="_on_gauge_fill_pressed"]
|
2024-01-20 14:58:29 +01:00
|
|
|
[connection signal="pressed" from="BoxContainer/VBoxContainer2/Explosion" to="." method="_on_explosion_pressed"]
|
|
|
|
[connection signal="pressed" from="BoxContainer/VBoxContainer2/Back" to="." method="_on_back_pressed"]
|