mirror of
https://github.com/Relintai/gdfxr.git
synced 2024-11-14 04:57:26 +01:00
24 lines
640 B
Plaintext
24 lines
640 B
Plaintext
[gd_scene load_steps=2 format=3 uid="uid://bv31mn2hs6wom"]
|
|
|
|
[ext_resource type="AudioStream" uid="uid://byf7u7a25fuf4" path="res://example/example.sfxr" id="1"]
|
|
|
|
[node name="Example" type="CenterContainer"]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="Button" type="Button" parent="."]
|
|
layout_mode = 2
|
|
offset_left = 555.0
|
|
offset_top = 308.0
|
|
offset_right = 596.0
|
|
offset_bottom = 339.0
|
|
text = "Play"
|
|
|
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource("1")
|
|
|
|
[connection signal="pressed" from="Button" to="AudioStreamPlayer" method="play"]
|