midori-school/levels/ui/soundtest.tscn

86 lines
2.7 KiB
Text
Raw Normal View History

2024-03-08 02:29:09 +01:00
[gd_scene load_steps=7 format=3 uid="uid://chg6qe1fijkh3"]
2024-01-16 03:05:25 +01:00
2024-01-20 11:38:12 +01:00
[ext_resource type="Script" path="res://levels/ui/soundtest.gd" id="1_3bg6p"]
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_x41qm"]
2024-01-16 13:58:17 +01:00
[ext_resource type="PackedScene" uid="uid://d31udhuuwrajn" path="res://levels/bottomhud.tscn" id="4_2a53a"]
2024-01-16 03:05:25 +01:00
2024-01-16 13:58:17 +01:00
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_wtbgt"]
2024-01-16 03:05:25 +01:00
bg_color = Color(0, 0.8, 0, 1)
2024-01-16 13:58:17 +01:00
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_4arqn"]
2024-01-16 03:05:25 +01:00
bg_color = Color(0, 0.8, 0, 1)
2024-01-16 13:58:17 +01:00
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_wro6j"]
2024-01-16 03:05:25 +01:00
bg_color = Color(0, 0.8, 0, 1)
[node name="Soundtest" 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_3bg6p")
2024-03-08 02:29:09 +01:00
[node name="Night Sky" type="TextureRect" parent="."]
2024-04-17 20:33:27 +02:00
layout_mode = 0
2024-03-08 02:29:09 +01:00
offset_right = 1280.0
offset_bottom = 720.0
texture = ExtResource("2_x41qm")
2024-01-16 03:05:25 +01:00
[node name="Game name" type="Label" parent="."]
layout_mode = 0
2024-04-21 03:56:48 +02:00
offset_left = 64.0
2024-01-16 03:05:25 +01:00
offset_top = 3.0
2024-04-21 03:56:48 +02:00
offset_right = 1213.0
2024-01-16 03:05:25 +01:00
offset_bottom = 73.0
theme_override_font_sizes/font_size = 40
2024-04-21 03:56:48 +02:00
text = "BUTTON_SOUNDTEST"
horizontal_alignment = 1
2024-01-16 03:05:25 +01:00
2024-04-17 22:00:30 +02:00
[node name="Bottomhud" parent="." instance=ExtResource("4_2a53a")]
layout_mode = 1
2024-01-16 13:58:17 +01:00
[node name="VBoxContainer" type="VBoxContainer" parent="."]
2024-01-16 03:05:25 +01:00
layout_mode = 1
2024-01-16 13:58:17 +01:00
anchors_preset = 7
anchor_left = 0.5
2024-01-16 03:05:25 +01:00
anchor_top = 1.0
2024-01-16 13:58:17 +01:00
anchor_right = 0.5
2024-01-16 03:05:25 +01:00
anchor_bottom = 1.0
2024-04-17 22:00:30 +02:00
offset_left = -342.0
2024-01-16 13:58:17 +01:00
offset_top = -362.0
2024-04-17 22:00:30 +02:00
offset_right = 342.0
2024-01-16 13:58:17 +01:00
grow_horizontal = 2
2024-01-16 03:05:25 +01:00
grow_vertical = 0
2024-01-16 13:58:17 +01:00
[node name="Music" type="Button" parent="VBoxContainer"]
2024-01-16 03:05:25 +01:00
layout_mode = 2
2024-01-16 13:58:17 +01:00
theme_override_font_sizes/font_size = 80
theme_override_styles/focus = SubResource("StyleBoxFlat_wtbgt")
2024-05-04 04:22:51 +02:00
text = "BUTTON_MUSICTEST"
2024-01-16 03:05:25 +01:00
2024-01-16 13:58:17 +01:00
[node name="Sfx" type="Button" parent="VBoxContainer"]
2024-01-16 03:05:25 +01:00
layout_mode = 2
2024-01-16 13:58:17 +01:00
theme_override_font_sizes/font_size = 80
theme_override_styles/focus = SubResource("StyleBoxFlat_4arqn")
2024-04-21 03:56:48 +02:00
text = "BUTTON_SFXTEST"
2024-01-16 03:05:25 +01:00
2024-06-27 00:22:53 +02:00
[node name="ALSA" type="Button" parent="VBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 80
theme_override_styles/focus = SubResource("StyleBoxFlat_4arqn")
disabled = true
text = "ALSA_TEST_MENU"
2024-01-16 13:58:17 +01:00
[node name="Back" type="Button" parent="VBoxContainer"]
2024-01-16 03:05:25 +01:00
layout_mode = 2
2024-01-16 13:58:17 +01:00
theme_override_font_sizes/font_size = 80
theme_override_styles/focus = SubResource("StyleBoxFlat_wro6j")
2024-04-17 20:33:27 +02:00
text = "BUTTON_RETURN"
2024-01-16 03:05:25 +01:00
2024-01-16 13:58:17 +01:00
[connection signal="pressed" from="VBoxContainer/Music" to="." method="_on_music_pressed"]
[connection signal="pressed" from="VBoxContainer/Sfx" to="." method="_on_sfx_pressed"]
2024-06-27 00:22:53 +02:00
[connection signal="pressed" from="VBoxContainer/ALSA" to="." method="_on_alsa_pressed"]
2024-01-16 13:58:17 +01:00
[connection signal="pressed" from="VBoxContainer/Back" to="." method="_on_back_pressed"]