loadMusic(name: string | null, url: string): void
Like loadSound(), but the audio is streamed and won't block loading. Use this for big audio files like background music.loadMusic("shoot", "/music/bossfight.mp3")
loadMusic("shoot", "/music/bossfight.mp3")
Assets
Components
Component Types
Input
Events
Info
Math
Misc
Draw
Level
Plugins
Button Bindings