generated from SGDA/GodotExampleProject
feat: music
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=114 format=4 uid="uid://b8uo8e7x1frsc"]
|
||||
[gd_scene load_steps=116 format=4 uid="uid://b8uo8e7x1frsc"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cjo7sxy5vy7bc" path="res://scenes/indoors/bar.gd" id="1_x0onc"]
|
||||
[ext_resource type="Resource" uid="uid://7bmpcn0dxwr8" path="res://scenes/player/base.tres" id="2_7r073"]
|
||||
@ -59,6 +59,7 @@
|
||||
[ext_resource type="Texture2D" uid="uid://ca5svwt3epr66" path="res://assets/Modern_Interiors_Free_v2.2/Modern tiles_Free/Characters_free/Adam_sit3_16x16.png" id="57_6qh2u"]
|
||||
[ext_resource type="Texture2D" uid="uid://cdkd4frggan56" path="res://assets/Modern_Interiors_Free_v2.2/Modern tiles_Free/Characters_free/Alex_idle_anim_16x16.png" id="58_8o1ns"]
|
||||
[ext_resource type="Texture2D" uid="uid://dhjv5lvcp7so" path="res://assets/Modern_Interiors_Free_v2.2/Modern tiles_Free/Characters_free/Bob_idle_anim_16x16.png" id="59_shjvm"]
|
||||
[ext_resource type="AudioStream" uid="uid://cb40pasbhcfuq" path="res://assets/Audio/MUS_LVL2_intro.ogg" id="60_shjvm"]
|
||||
|
||||
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_nyh47"]
|
||||
texture = ExtResource("3_18rbg")
|
||||
@ -2613,6 +2614,16 @@ animations = [{
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="AudioStreamInteractive" id="AudioStreamInteractive_yudpf"]
|
||||
clip_count = 2
|
||||
clip_0/name = &"Mus Lvl 2 Intro"
|
||||
clip_0/stream = ExtResource("60_shjvm")
|
||||
clip_0/auto_advance = 1
|
||||
clip_0/next_clip = 1
|
||||
clip_1/name = &"Mus Lvl 2 Loop"
|
||||
clip_1/stream = ExtResource("4_hpoax")
|
||||
clip_1/auto_advance = 0
|
||||
|
||||
[node name="Main" type="Node2D"]
|
||||
script = ExtResource("1_x0onc")
|
||||
"golé" = "uid://cgql2prrr5cj7"
|
||||
@ -2990,6 +3001,7 @@ bus = &"Music"
|
||||
[node name="Interact" type="AudioStreamPlayer2D" parent="Player"]
|
||||
position = Vector2(-344, -277)
|
||||
stream = ExtResource("5_elbga")
|
||||
bus = &"UI"
|
||||
|
||||
[node name="lights" type="Node2D" parent="."]
|
||||
visible = false
|
||||
@ -3166,6 +3178,11 @@ scale = Vector2(-1, 1)
|
||||
sprite_frames = SubResource("SpriteFrames_dsjtd")
|
||||
autoplay = "default"
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||
stream = SubResource("AudioStreamInteractive_yudpf")
|
||||
autoplay = true
|
||||
bus = &"Music"
|
||||
|
||||
[connection signal="timeout" from="TimerBetweenVO" to="." method="_on_timer_between_vo_timeout"]
|
||||
[connection signal="event_triggered" from="WrongTapis" to="." method="_on_interactible_triggered"]
|
||||
[connection signal="event_triggered" from="WrongTapis3" to="." method="_on_interactible_triggered"]
|
||||
|
Reference in New Issue
Block a user