2024-03-26 18:01:58 +01:00
|
|
|
[gd_scene load_steps=8 format=3 uid="uid://qfdnp4pliele"]
|
2019-04-27 19:14:17 +02:00
|
|
|
|
2022-03-27 03:15:00 +02:00
|
|
|
[ext_resource type="Texture2D" uid="uid://b1m28vixtwkx0" path="res://play_system_button_hl.png" id="1"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bvcb3q4c3414p" path="res://play_sound_button.png" id="2"]
|
2024-03-26 18:01:58 +01:00
|
|
|
[ext_resource type="FontFile" uid="uid://dh3iuml41q2uq" path="res://lcd.ttf" id="2_wyi3x"]
|
2022-03-27 03:15:00 +02:00
|
|
|
[ext_resource type="AudioStream" uid="uid://dumjxbamq37fe" path="res://the_comeback2.ogg" id="3"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://y41g3g5d88f3" path="res://play_sound_button_hl.png" id="4"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cdpaolglwepko" path="res://play_system_button.png" id="5"]
|
|
|
|
[ext_resource type="Script" path="res://bpm_sync.gd" id="7"]
|
2019-04-27 19:14:17 +02:00
|
|
|
|
2020-03-05 02:30:41 +01:00
|
|
|
[node name="BPMSync" type="Panel"]
|
2024-03-26 18:01:58 +01:00
|
|
|
anchors_preset = 15
|
2019-04-27 19:14:17 +02:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2024-03-26 18:01:58 +01:00
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
size_flags_vertical = 4
|
|
|
|
script = ExtResource("7")
|
2019-04-27 19:14:17 +02:00
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="."]
|
2024-06-01 12:12:18 +02:00
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = 8
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
offset_left = -404.0
|
|
|
|
offset_top = 55.0
|
|
|
|
offset_right = 404.0
|
|
|
|
offset_bottom = 121.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
theme_override_colors/font_color = Color(0.654902, 1, 0.67451, 1)
|
|
|
|
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
|
|
|
theme_override_constants/shadow_offset_x = 4
|
|
|
|
theme_override_constants/shadow_offset_y = 4
|
2024-03-26 18:01:58 +01:00
|
|
|
theme_override_fonts/font = ExtResource("2_wyi3x")
|
2024-06-01 12:12:18 +02:00
|
|
|
theme_override_font_sizes/font_size = 48
|
|
|
|
text = "Press one of the buttons."
|
|
|
|
horizontal_alignment = 1
|
|
|
|
vertical_alignment = 1
|
2019-04-27 19:14:17 +02:00
|
|
|
|
2019-04-27 20:26:48 +02:00
|
|
|
[node name="Player" type="AudioStreamPlayer" parent="."]
|
2024-03-26 18:01:58 +01:00
|
|
|
stream = ExtResource("3")
|
2024-06-01 12:12:18 +02:00
|
|
|
volume_db = -6.0
|
2019-04-27 20:26:48 +02:00
|
|
|
|
|
|
|
[node name="PlaySystem" type="TextureButton" parent="."]
|
2024-06-01 12:12:18 +02:00
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = 8
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
offset_left = -288.0
|
|
|
|
offset_top = -136.0
|
|
|
|
offset_right = -160.0
|
|
|
|
offset_bottom = -7.99997
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
2024-03-26 18:01:58 +01:00
|
|
|
texture_normal = ExtResource("5")
|
|
|
|
texture_pressed = ExtResource("5")
|
|
|
|
texture_hover = ExtResource("1")
|
2019-04-27 19:14:17 +02:00
|
|
|
|
2019-04-27 20:26:48 +02:00
|
|
|
[node name="PlaySound" type="TextureButton" parent="."]
|
2024-06-01 12:12:18 +02:00
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = 8
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
offset_left = 160.0
|
|
|
|
offset_top = -136.0
|
|
|
|
offset_right = 288.0
|
|
|
|
offset_bottom = -8.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
2024-03-26 18:01:58 +01:00
|
|
|
texture_normal = ExtResource("2")
|
|
|
|
texture_pressed = ExtResource("2")
|
|
|
|
texture_hover = ExtResource("4")
|
2020-12-09 01:36:00 +01:00
|
|
|
|
2019-04-27 20:26:48 +02:00
|
|
|
[connection signal="pressed" from="PlaySystem" to="." method="_on_PlaySystem_pressed"]
|
|
|
|
[connection signal="pressed" from="PlaySound" to="." method="_on_PlaySound_pressed"]
|