mirror of
https://github.com/Relintai/pandemonium_demo_projects.git
synced 2024-12-21 13:56:50 +01:00
53 lines
1.2 KiB
Plaintext
53 lines
1.2 KiB
Plaintext
|
[gd_scene load_steps=3 format=2]
|
||
|
|
||
|
[ext_resource path="res://Changer.gd" type="Script" id=1]
|
||
|
[ext_resource path="res://Intro.ogg" type="AudioStream" id=2]
|
||
|
|
||
|
[node name="Changer" type="Control"]
|
||
|
margin_right = 1023.0
|
||
|
margin_bottom = 598.0
|
||
|
script = ExtResource( 1 )
|
||
|
__meta__ = {
|
||
|
"_edit_use_anchors_": false
|
||
|
}
|
||
|
|
||
|
[node name="ItemList" type="ItemList" parent="."]
|
||
|
margin_left = 57.0
|
||
|
margin_top = 33.0
|
||
|
margin_right = 960.0
|
||
|
margin_bottom = 228.0
|
||
|
__meta__ = {
|
||
|
"_edit_use_anchors_": false
|
||
|
}
|
||
|
|
||
|
[node name="DeviceInfo" type="Label" parent="."]
|
||
|
margin_left = 321.0
|
||
|
margin_top = 248.0
|
||
|
margin_right = 660.0
|
||
|
margin_bottom = 284.0
|
||
|
align = 1
|
||
|
__meta__ = {
|
||
|
"_edit_use_anchors_": false
|
||
|
}
|
||
|
|
||
|
[node name="SetDevice" type="Button" parent="."]
|
||
|
margin_left = 425.723
|
||
|
margin_top = 309.733
|
||
|
margin_right = 556.723
|
||
|
margin_bottom = 354.733
|
||
|
text = "Set Device"
|
||
|
|
||
|
[node name="PlayAudio" type="Button" parent="."]
|
||
|
margin_left = 424.0
|
||
|
margin_top = 373.0
|
||
|
margin_right = 557.0
|
||
|
margin_bottom = 414.0
|
||
|
text = "Play Audio"
|
||
|
|
||
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||
|
stream = ExtResource( 2 )
|
||
|
volume_db = -6.0
|
||
|
|
||
|
[connection signal="button_down" from="SetDevice" to="." method="_on_Button_button_down"]
|
||
|
[connection signal="button_down" from="PlayAudio" to="." method="_on_Play_Audio_button_down"]
|