bpm_sync.tscn 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. [gd_scene load_steps=7 format=3 uid="uid://qfdnp4pliele"]
  2. [ext_resource type="Texture2D" uid="uid://b1m28vixtwkx0" path="res://play_system_button_hl.png" id="1"]
  3. [ext_resource type="Texture2D" uid="uid://bvcb3q4c3414p" path="res://play_sound_button.png" id="2"]
  4. [ext_resource type="AudioStream" uid="uid://dumjxbamq37fe" path="res://the_comeback2.ogg" id="3"]
  5. [ext_resource type="Texture2D" uid="uid://y41g3g5d88f3" path="res://play_sound_button_hl.png" id="4"]
  6. [ext_resource type="Texture2D" uid="uid://cdpaolglwepko" path="res://play_system_button.png" id="5"]
  7. [ext_resource type="Script" path="res://bpm_sync.gd" id="7"]
  8. [node name="BPMSync" type="Panel"]
  9. anchor_right = 1.0
  10. anchor_bottom = 1.0
  11. script = ExtResource( "7" )
  12. [node name="Label" type="Label" parent="."]
  13. offset_left = 106.895
  14. offset_top = 427.158
  15. offset_right = 914.895
  16. offset_bottom = 488.158
  17. [node name="Player" type="AudioStreamPlayer" parent="."]
  18. stream = ExtResource( "3" )
  19. [node name="PlaySystem" type="TextureButton" parent="."]
  20. offset_left = 214.737
  21. offset_top = 187.368
  22. offset_right = 342.737
  23. offset_bottom = 315.368
  24. texture_normal = ExtResource( "5" )
  25. texture_pressed = ExtResource( "5" )
  26. texture_hover = ExtResource( "1" )
  27. [node name="PlaySound" type="TextureButton" parent="."]
  28. offset_left = 622.105
  29. offset_top = 183.158
  30. offset_right = 750.105
  31. offset_bottom = 311.158
  32. texture_normal = ExtResource( "2" )
  33. texture_pressed = ExtResource( "2" )
  34. texture_hover = ExtResource( "4" )
  35. [connection signal="pressed" from="PlaySystem" to="." method="_on_PlaySystem_pressed"]
  36. [connection signal="pressed" from="PlaySound" to="." method="_on_PlaySound_pressed"]