polyaudio
This commit is contained in:
parent
6c0730e1c9
commit
c35dd7568d
6 changed files with 31 additions and 22 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=19 format=3 uid="uid://dpxxjfd5lv5sv"]
|
||||
[gd_scene load_steps=21 format=3 uid="uid://dpxxjfd5lv5sv"]
|
||||
|
||||
[ext_resource type="Theme" uid="uid://e8n88g31w7x7" path="res://resources/themes/ChooseYourSeeds.tres" id="1_bfo8i"]
|
||||
[ext_resource type="Texture2D" uid="uid://dr8a0rx42o3qy" path="res://assets/sprites/gui/ChooseYourSeeds/PlantFrame.tres" id="2_so2bw"]
|
||||
|
|
@ -10,6 +10,7 @@
|
|||
[ext_resource type="Texture2D" uid="uid://drydueofrb448" path="res://assets/sprites/gui/almanach/book.tres" id="8_hmdmm"]
|
||||
[ext_resource type="Script" uid="uid://c36bj8u7jghc7" path="res://scripts/audio/ChannelPlayer.cs" id="8_v7xff"]
|
||||
[ext_resource type="AudioStream" uid="uid://bdx83fokp6kha" path="res://assets/audio/sfx/buttonclick.mp3" id="9_v7xff"]
|
||||
[ext_resource type="Script" uid="uid://c1x4n4nqyq72f" path="res://scripts/audio/ChannelSettings.cs" id="10_nlh6x"]
|
||||
[ext_resource type="PackedScene" uid="uid://bvpt0q4j6nx18" path="res://scenes/gui/almanach.tscn" id="11_nlh6x"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_0rps3"]
|
||||
|
|
@ -118,6 +119,11 @@ func _pressed() -> void:
|
|||
$\"../../ChannelPlayer\".call(\"Play\")
|
||||
"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_l66rp"]
|
||||
script = ExtResource("10_nlh6x")
|
||||
restartTreshold = -1.0
|
||||
metadata/_custom_type_script = "uid://c1x4n4nqyq72f"
|
||||
|
||||
[node name="ChooseYourSeeds" type="Control"]
|
||||
process_mode = 3
|
||||
layout_mode = 3
|
||||
|
|
@ -248,6 +254,7 @@ metadata/_edit_use_anchors_ = true
|
|||
|
||||
[node name="ChannelPlayer" type="Node" parent="."]
|
||||
script = ExtResource("8_v7xff")
|
||||
settings = SubResource("Resource_l66rp")
|
||||
audioStream = ExtResource("9_v7xff")
|
||||
channel = "button"
|
||||
metadata/_custom_type_script = "uid://c36bj8u7jghc7"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue