storytelling-assistant/addons/event_audio/example/example2D.tscn

34 lines
1.3 KiB
Text
Raw Normal View History

[gd_scene load_steps=6 format=3 uid="uid://konnaekcsk2e"]
[ext_resource type="Script" path="res://addons/event_audio/example/example_emitter_2d.gd" id="1_7u4pm"]
[ext_resource type="Resource" uid="uid://cfxmacq8po281" path="res://addons/event_audio/example/example_audio_bank.tres" id="3_kb4ey"]
[ext_resource type="Script" path="res://addons/event_audio/src/ea_event_bank_mounter.gd" id="3_q1afy"]
[ext_resource type="PackedScene" uid="uid://kjsaalyhmkc5" path="res://addons/event_audio/example/example_ui.tscn" id="4_kisj8"]
[sub_resource type="SphereMesh" id="SphereMesh_7scev"]
radius = 10.0
height = 20.0
[node name="Example2d" type="Node2D"]
[node name="Emitter" type="MeshInstance2D" parent="."]
position = Vector2(2.08165e-12, 175.95)
mesh = SubResource("SphereMesh_7scev")
script = ExtResource("1_7u4pm")
[node name="Camera2D" type="Camera2D" parent="."]
position = Vector2(578, 324)
[node name="AudioListener2D" type="AudioListener2D" parent="Camera2D"]
current = true
[node name="TestAudioBank" type="Node" parent="."]
script = ExtResource("3_q1afy")
_audio_bank_resource = ExtResource("3_kb4ey")
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="ExampleUi" parent="CanvasLayer" instance=ExtResource("4_kisj8")]