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"]
|
||||
|
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=91 format=4 uid="uid://bnba2vd0m0qao"]
|
||||
[gd_scene load_steps=93 format=4 uid="uid://bnba2vd0m0qao"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://c232mm5h43ed4" path="res://scenes/indoors/last.gd" id="1_cad5s"]
|
||||
[ext_resource type="Resource" uid="uid://7bmpcn0dxwr8" path="res://scenes/player/base.tres" id="2_1lxr4"]
|
||||
@ -60,6 +60,7 @@
|
||||
[ext_resource type="AudioStream" uid="uid://d0lfg1am27eou" path="res://assets/Audio/VO_LVL3_B_09.ogg" id="51_s8chb"]
|
||||
[ext_resource type="AudioStream" uid="uid://c1wkrw3fdj2rr" path="res://assets/Audio/VO_LVL3_A_10.ogg" id="52_roruu"]
|
||||
[ext_resource type="AudioStream" uid="uid://cy0solmf5ni63" path="res://assets/Audio/VO_LVL3_B_10.ogg" id="53_w43jt"]
|
||||
[ext_resource type="AudioStream" uid="uid://b2n1oebsc28yt" path="res://assets/Audio/MUS_LVL3_intro.ogg" id="61_o22xi"]
|
||||
|
||||
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_nyh47"]
|
||||
texture = ExtResource("3_vefux")
|
||||
@ -2437,6 +2438,16 @@ streams_count = 2
|
||||
stream_0/stream = ExtResource("52_roruu")
|
||||
stream_1/stream = ExtResource("53_w43jt")
|
||||
|
||||
[sub_resource type="AudioStreamInteractive" id="AudioStreamInteractive_xiu81"]
|
||||
clip_count = 2
|
||||
clip_0/name = &"Mus Lvl 3 Intro"
|
||||
clip_0/stream = ExtResource("61_o22xi")
|
||||
clip_0/auto_advance = 1
|
||||
clip_0/next_clip = 1
|
||||
clip_1/name = &"Mus Lvl 3 Loop"
|
||||
clip_1/stream = ExtResource("4_o1p8b")
|
||||
clip_1/auto_advance = 0
|
||||
|
||||
[node name="Main" type="Node2D"]
|
||||
script = ExtResource("1_cad5s")
|
||||
"golé" = "uid://cgql2prrr5cj7"
|
||||
@ -2515,14 +2526,14 @@ position = Vector2(292, -17)
|
||||
sprite_frames = SubResource("SpriteFrames_fcj1w")
|
||||
animation = &"idle"
|
||||
autoplay = "idle"
|
||||
frame_progress = 0.987176
|
||||
frame_progress = 0.432269
|
||||
|
||||
[node name="AnimatedSprite2D2" type="AnimatedSprite2D" parent="Hack"]
|
||||
position = Vector2(-11, 14)
|
||||
sprite_frames = SubResource("SpriteFrames_tnfmx")
|
||||
animation = &"idle"
|
||||
autoplay = "idle"
|
||||
frame_progress = 0.0320194
|
||||
frame_progress = 0.477111
|
||||
|
||||
[node name="StaticBody2D" type="StaticBody2D" parent="Hack"]
|
||||
|
||||
@ -2616,6 +2627,7 @@ bus = &"Music"
|
||||
|
||||
[node name="Interact" type="AudioStreamPlayer2D" parent="Player"]
|
||||
stream = ExtResource("15_7ac63")
|
||||
bus = &"UI"
|
||||
|
||||
[node name="Lights" type="Node2D" parent="."]
|
||||
|
||||
@ -2635,6 +2647,11 @@ texture = ExtResource("7_7ac63")
|
||||
wait_time = 4.0
|
||||
autostart = true
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||
stream = SubResource("AudioStreamInteractive_xiu81")
|
||||
autoplay = true
|
||||
bus = &"Music"
|
||||
|
||||
[connection signal="event_confirmed" from="GetOutDoors/WrongDoor" to="." method="_on_wrong_door_event_triggered"]
|
||||
[connection signal="event_confirmed" from="GetOutDoors/RightDoor" to="." method="_on_right_door_event_triggered"]
|
||||
[connection signal="event_triggered" from="RightPrise" to="." method="_on_prise_interacted"]
|
||||
|
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=81 format=4 uid="uid://s1cx1gvt4bed"]
|
||||
[gd_scene load_steps=83 format=4 uid="uid://s1cx1gvt4bed"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://csujcot8xk1om" path="res://scenes/main.gd" id="1_0wfyh"]
|
||||
[ext_resource type="PackedScene" uid="uid://4ye80a3tugk6" path="res://scenes/player/player.tscn" id="1_o5qli"]
|
||||
@ -62,6 +62,7 @@
|
||||
[ext_resource type="AudioStream" uid="uid://c3qfp0cbx1i5h" path="res://assets/Audio/VO_LVL1_B_09.ogg" id="29_11yus"]
|
||||
[ext_resource type="AudioStream" uid="uid://byp6kaewhijoy" path="res://assets/Audio/VO_LVL1_A_10.ogg" id="30_b6ruc"]
|
||||
[ext_resource type="AudioStream" uid="uid://1lmj5n806i8r" path="res://assets/Audio/VO_LVL1_B_10.ogg" id="31_155or"]
|
||||
[ext_resource type="AudioStream" uid="uid://cklwwfr8t6px6" path="res://assets/Audio/MUS_LVL1_intro.ogg" id="63_ro3en"]
|
||||
|
||||
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_tbgi4"]
|
||||
texture = ExtResource("4_jyhfs")
|
||||
@ -2009,6 +2010,16 @@ stream_16/stream = ExtResource("14_2cjbq")
|
||||
stream_17/stream = ExtResource("15_chjal")
|
||||
stream_18/stream = ExtResource("16_cjqg0")
|
||||
|
||||
[sub_resource type="AudioStreamInteractive" id="AudioStreamInteractive_od4ux"]
|
||||
clip_count = 2
|
||||
clip_0/name = &"Mus Lvl 1 Intro"
|
||||
clip_0/stream = ExtResource("63_ro3en")
|
||||
clip_0/auto_advance = 1
|
||||
clip_0/next_clip = 1
|
||||
clip_1/name = &"Mus Lvl 1 Loop"
|
||||
clip_1/stream = ExtResource("4_a8y0u")
|
||||
clip_1/auto_advance = 0
|
||||
|
||||
[node name="Main2" type="Node2D"]
|
||||
script = ExtResource("1_0wfyh")
|
||||
wrong_building = "uid://eh3y4s4qad8m"
|
||||
@ -2162,6 +2173,7 @@ bus = &"Music"
|
||||
|
||||
[node name="Interact" type="AudioStreamPlayer2D" parent="Player"]
|
||||
stream = ExtResource("5_jkv2x")
|
||||
bus = &"UI"
|
||||
|
||||
[node name="DecoOverlay" type="TileMapLayer" parent="."]
|
||||
tile_map_data = PackedByteArray("AAATAAYAAAAQAAgAAAATAAcAAAAQAAkAAAAhAAYAAAAQAAgAAAAhAAcAAAAQAAkAAAACAAsAAAADAAYAAAACAAwAAAADAAcAAAAYAA8AAAADAAYAAAAYABAAAAADAAcAAAAcAA8AAAADAAYAAAAcABAAAAADAAcAAAAEAA8AAAAFAAYAAAAEABAAAAAFAAcAAAANAAYAAAAIAAsAAAAqAAwAAAAIAAsAAAAXAAcAAAAKAAsAAAAeAAYAAAALAAkAAAA=")
|
||||
@ -2265,6 +2277,11 @@ color = Color(0.841686, 0.0733665, 0.224079, 1)
|
||||
energy = 4.16
|
||||
texture = ExtResource("10_choun")
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||
stream = SubResource("AudioStreamInteractive_od4ux")
|
||||
autoplay = true
|
||||
bus = &"Music"
|
||||
|
||||
[connection signal="timeout" from="TimerBetweenVO" to="." method="_on_timer_between_vo_timeout"]
|
||||
[connection signal="event_confirmed" from="WrongDoor" to="." method="_on_door_event_confirmed"]
|
||||
[connection signal="event_triggered" from="WrongDoor" to="." method="_on_door_event_triggered"]
|
||||
|
Reference in New Issue
Block a user