Log In  

Is it possible to pause or mute music in Pico-8 from script?

I want to halt the music for a short period when the player dies, and resume it when they respawn. Pause or Mute would both work in this case; I just don't want to restart the whole song every time they die.

Thanks!

This is what I currently do:

-- Player Spawns...
music(0)

--Player dies
music(-1)

-- Player Spawns...
music(0)
P#35493 2017-01-11 20:59 ( Edited 2017-01-12 01:59)


[Please log in to post a comment]

About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2019-09-23 02:29 | 0.010s | 2097k | Q:9