untitled-plant-game/World/Plant.tscn
2021-12-06 03:12:54 +01:00

25 lines
775 B
Text

[gd_scene load_steps=3 format=2]
[ext_resource path="res://Music/WaterSFX.wav" type="AudioStream" id=1]
[ext_resource path="res://World/Plant.gd" type="Script" id=2]
[node name="Plant" type="Node2D"]
script = ExtResource( 2 )
[node name="Timer" type="Timer" parent="."]
wait_time = 0.25
autostart = true
[node name="WaterTimer" type="Timer" parent="."]
wait_time = 20.0
autostart = true
[node name="TalkTimer" type="Timer" parent="."]
[node name="WaterSFX" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 1 )
bus = "SFX"
[connection signal="timeout" from="Timer" to="." method="step"]
[connection signal="timeout" from="WaterTimer" to="." method="_on_WaterTimer_timeout"]
[connection signal="timeout" from="TalkTimer" to="." method="_on_TalkTimer_timeout"]