pandemonium_demo_projects/audio/bpm_sync/bpm_sync.tscn

61 lines
1.9 KiB
Plaintext

[gd_scene load_steps=10 format=2]
[ext_resource path="res://play_system_button_hl.png" type="Texture" id=1]
[ext_resource path="res://play_sound_button.png" type="Texture" id=2]
[ext_resource path="res://the_comeback2.ogg" type="AudioStream" id=3]
[ext_resource path="res://play_sound_button_hl.png" type="Texture" id=4]
[ext_resource path="res://play_system_button.png" type="Texture" id=5]
[ext_resource path="res://lcd.ttf" type="DynamicFontData" id=6]
[ext_resource path="res://bpm_sync.gd" type="Script" id=7]
[sub_resource type="StyleBoxFlat" id=1]
bg_color = Color( 0, 0, 0, 1 )
[sub_resource type="DynamicFont" id=2]
size = 40
outline_size = 2
outline_color = Color( 0.588235, 0.886275, 0.435294, 0.239216 )
font_data = ExtResource( 6 )
[node name="BPMSync" type="Panel"]
anchor_right = 1.0
anchor_bottom = 1.0
custom_styles/panel = SubResource( 1 )
script = ExtResource( 7 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="."]
margin_left = 106.895
margin_top = 427.158
margin_right = 914.895
margin_bottom = 488.158
custom_colors/font_color = Color( 0.552941, 0.984314, 0.501961, 1 )
custom_fonts/font = SubResource( 2 )
align = 1
[node name="Player" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 3 )
[node name="PlaySystem" type="TextureButton" parent="."]
margin_left = 214.737
margin_top = 187.368
margin_right = 342.737
margin_bottom = 315.368
texture_normal = ExtResource( 5 )
texture_pressed = ExtResource( 5 )
texture_hover = ExtResource( 1 )
[node name="PlaySound" type="TextureButton" parent="."]
margin_left = 622.105
margin_top = 183.158
margin_right = 750.105
margin_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"]