Discord
Login
Community
DARK THEME

Unsure how to use the sound tab. How do I play sounds?

I'm not sure how to play sounds.

Edit: Not sure how to implement music either that would help.

see documentation >> Quick reference >> API cheatsheet >> sound

music = audio.playMusic( "mymusic" )

For sounds: Place a *.wav file in the Sounds tab of your project and keep note of its name. You can play it using audio.playSound( name, volume, pitch, pan, loop ) function.

For music: Place *.mp3 file in the Music tab of your project and keep note of its name. You can play it using audio.playMusic( name, volume, loop ) function.

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community