Basic character, trait and preference resources
This commit is contained in:
11
scenes/audio/background_music_player.gd
Normal file
11
scenes/audio/background_music_player.gd
Normal file
@@ -0,0 +1,11 @@
|
||||
extends Node
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
print("coucou")
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
pass
|
||||
1
scenes/audio/background_music_player.gd.uid
Normal file
1
scenes/audio/background_music_player.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://qemsayf5o7r2
|
||||
12
scenes/audio/background_music_player.tscn
Normal file
12
scenes/audio/background_music_player.tscn
Normal file
@@ -0,0 +1,12 @@
|
||||
[gd_scene format=3 uid="uid://djyx7damwjgdg"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://qemsayf5o7r2" path="res://scenes/audio/background_music_player.gd" id="1_c6vpr"]
|
||||
[ext_resource type="AudioStream" uid="uid://d4jic41p1g113" path="res://assets/audio/Troubadeck 32 Perserverance.ogg" id="2_ybvjt"]
|
||||
|
||||
[node name="BackgroundMusicPlayer" type="Node" unique_id=547672891]
|
||||
script = ExtResource("1_c6vpr")
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="." unique_id=1328032237]
|
||||
stream = ExtResource("2_ybvjt")
|
||||
autoplay = true
|
||||
bus = &"Music"
|
||||
Reference in New Issue
Block a user