parent
65369ec029
commit
4236102803
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,19 @@ |
||||
[remap] |
||||
|
||||
importer="oggvorbisstr" |
||||
type="AudioStreamOggVorbis" |
||||
uid="uid://c1lcrgvptbydv" |
||||
path="res://.godot/imported/ld54.ogg-b0f4032277a3b995700a4effa3d1b094.oggvorbisstr" |
||||
|
||||
[deps] |
||||
|
||||
source_file="res://assets/musics/ld54.ogg" |
||||
dest_files=["res://.godot/imported/ld54.ogg-b0f4032277a3b995700a4effa3d1b094.oggvorbisstr"] |
||||
|
||||
[params] |
||||
|
||||
loop=false |
||||
loop_offset=0 |
||||
bpm=0 |
||||
beat_count=0 |
||||
bar_beats=4 |
||||
@ -0,0 +1,14 @@ |
||||
extends AudioStreamPlayer |
||||
class_name GMusic |
||||
|
||||
const MUSIC = preload("res://assets/musics/ld54.ogg") |
||||
|
||||
func _ready(): |
||||
stream = MUSIC |
||||
autoplay = true |
||||
volume_db = -10 |
||||
|
||||
func _process(_delta): |
||||
if not is_playing(): |
||||
stop() |
||||
play() |
||||
Loading…
Reference in new issue