midori-school/levels/ui/sfxtest.tscn

96 lines
3.1 KiB
Text
Raw Normal View History

2024-03-08 02:29:09 +01:00
[gd_scene load_steps=6 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-03-08 02:29:09 +01:00
[ext_resource type="Texture2D" uid="uid://bxa27c7gnivwx" path="res://backgounds/night-sky-at-ceres.jpg" id="2_uuurj"]
2024-01-16 13:58:17 +01:00
[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")
2024-03-08 02:29:09 +01:00
[node name="Night Sky" type="TextureRect" parent="."]
2024-03-09 02:50:47 +01:00
layout_mode = 0
2024-03-08 02:29:09 +01:00
offset_right = 1280.0
offset_bottom = 720.0
texture = ExtResource("2_uuurj")
2024-01-16 13:58:17 +01:00
[node name="Game name" type="Label" parent="."]
layout_mode = 0
2024-04-21 03:56:48 +02:00
offset_left = 39.0
2024-01-16 13:58:17 +01:00
offset_top = 3.0
2024-04-21 03:56:48 +02:00
offset_right = 1232.0
2024-01-16 13:58:17 +01:00
offset_bottom = 73.0
theme_override_font_sizes/font_size = 40
2024-04-21 03:56:48 +02:00
text = "MENU_SFXTEST"
horizontal_alignment = 1
2024-01-16 13:58:17 +01:00
[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"
2024-04-17 22:00:30 +02:00
[node name="Bottomhud" parent="." instance=ExtResource("4_xxv3m")]
layout_mode = 1
2024-01-16 13:58:17 +01:00
[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")
2024-04-17 20:33:27 +02:00
text = "BUTTON_RETURN"
2024-01-16 13:58:17 +01:00
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"]