godot-demo-projects/audio/bpm_sync/bpm_sync.tscn

44 lines
1.6 KiB
Plaintext

[gd_scene load_steps=7 format=3 uid="uid://qfdnp4pliele"]
[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"]
[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"]
[node name="BPMSync" type="Panel"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( "7" )
[node name="Label" type="Label" parent="."]
offset_left = 106.895
offset_top = 427.158
offset_right = 914.895
offset_bottom = 488.158
[node name="Player" type="AudioStreamPlayer" parent="."]
stream = ExtResource( "3" )
[node name="PlaySystem" type="TextureButton" parent="."]
offset_left = 214.737
offset_top = 187.368
offset_right = 342.737
offset_bottom = 315.368
texture_normal = ExtResource( "5" )
texture_pressed = ExtResource( "5" )
texture_hover = ExtResource( "1" )
[node name="PlaySound" type="TextureButton" parent="."]
offset_left = 622.105
offset_top = 183.158
offset_right = 750.105
offset_bottom = 311.158
texture_normal = ExtResource( "2" )
texture_pressed = ExtResource( "2" )
texture_hover = ExtResource( "4" )
[connection signal="pressed" from="PlaySystem" to="." method="_on_PlaySystem_pressed"]
[connection signal="pressed" from="PlaySound" to="." method="_on_PlaySound_pressed"]