Discord
Login
Community
DARK THEME

Please help!

So in my game called "Chop For More" you should check it out but yeah in it i want my "background_music" to play as an yeah background music and my "sell" sound when i sell something how can i make these sound interactions/just playing the game work?

To play a sound or music you must have the files uploaded in the assets of the project.

To play a sound:

audio.playSound(name, volume, pitch, pan, loop?)

To play music:

audio.playMusic(name, volume, loop?)

Examples:

audio.playMusic("background_music")
audio.playSound("sell")

Post a reply

Progress

Status

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