playMusic(clip0, clip1)

From pinHeck Wiki
Jump to: navigation, search

Example:

playMusic('M', 'N');

Plays the file ZMN.wav from the SFX/_FZ folder. (You don't have to specifiy the first character 'Z' since music is always in _FZ folder)

Music files loop by default unless you set otherwise. For best results, create long looping versions of the music in the file (5-8 minutes per file) so you can make nice looping transitions with your audio software. The system's loop ends the file and restarts it again, which will not result in as clean of a transition (you probably don't want to hear it fade out and restart again)

Music files must be in the SFX/_FZ folder and have a 3 character filename always starting with 'Z'

Example: #ZB.wav