This commit is contained in:
veclavtalica 2025-02-12 12:05:07 +03:00
parent ea5ddbd4aa
commit e0e8b6bf71
4 changed files with 11 additions and 3 deletions

BIN
assets/musics/mod118.ogg Normal file

Binary file not shown.

View File

@ -1,10 +1,10 @@
[gd_resource type="AudioBusLayout" format=3 uid="uid://dcxpomrfumov"]
[resource]
bus/0/volume_db = -8.00903
bus/0/volume_db = -4.003
bus/1/name = &"SoundEffects"
bus/1/solo = false
bus/1/mute = false
bus/1/bypass_fx = false
bus/1/volume_db = 0.0
bus/1/volume_db = -10.0692
bus/1/send = &"Master"

View File

@ -39,6 +39,9 @@ func _ready() -> void:
if not OS.has_feature("dedicated_server"):
_add_player.call_deferred(1)
if not "--join" in OS.get_cmdline_args():
$Soundtrack.play()
func _exit_tree() -> void:
if not multiplayer.is_server():

View File

@ -1,8 +1,9 @@
[gd_scene load_steps=13 format=3 uid="uid://oyvhcwq60v2"]
[gd_scene load_steps=14 format=3 uid="uid://oyvhcwq60v2"]
[ext_resource type="Script" path="res://src/ingame/ingame.gd" id="1_akuuj"]
[ext_resource type="PackedScene" uid="uid://cs8c570bxh6u" path="res://src/ingame/player.tscn" id="2_w1gjc"]
[ext_resource type="PackedScene" uid="uid://bysgtksvovyur" path="res://src/ingame/sprout.tscn" id="3_2xvqq"]
[ext_resource type="AudioStream" uid="uid://bpmc2amg1kbfn" path="res://assets/musics/mod118.ogg" id="3_34hvs"]
[ext_resource type="Script" path="res://src/ingame/ui.gd" id="3_p340v"]
[ext_resource type="PackedScene" uid="uid://enukqx63dh2l" path="res://src/ingame/pipe.tscn" id="4_mltw3"]
@ -44,6 +45,10 @@ _chat_panel_inactive = NodePath("UI/ChatPanelInactive")
_chat_history_inactive = NodePath("UI/ChatPanelInactive/ChatHistoryScroll/ChatHistory")
_chat_history_scroll_inactive = NodePath("UI/ChatPanelInactive/ChatHistoryScroll")
[node name="Soundtrack" type="AudioStreamPlayer" parent="."]
stream = ExtResource("3_34hvs")
parameters/looping = true
[node name="UI" type="CanvasLayer" parent="." node_paths=PackedStringArray("_combo_timer")]
script = ExtResource("3_p340v")
_combo_timer = NodePath("ComboTimer")