add music
This commit is contained in:
parent
b7e027cdc6
commit
71c045c797
BIN
data/music/bg1.xm
Normal file
BIN
data/music/bg1.xm
Normal file
Binary file not shown.
@ -40,6 +40,7 @@ end
|
||||
function game_tick()
|
||||
-- ctx.initialization_needed is true first frame and every time dynamic reload is performed
|
||||
if ctx.initialization_needed then
|
||||
audio_play{audio = "music/bg1.xm", loops = true, channel = "music"}
|
||||
-- ctx.udata persists on reload
|
||||
ctx.udata = {
|
||||
capture = false,
|
||||
|
Loading…
Reference in New Issue
Block a user