musiking
This commit is contained in:
@ -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():
|
||||
|
@ -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")
|
||||
|
Reference in New Issue
Block a user