• Question
  • Does anyone know why i cant put sound in my game without it looping everything

Deleted5371 Woops do this instead
@DaniDaCoder I have a simple solution.

var musicOn = false;

function draw() {
playMusic();
}
function playMusic() {
if (!musicOn) {
playSound("YOUR MUSIC HERE");
musicOn = true;
}
}

this broke the click and click counter system

yall dont know how to make links, click the share button and it will actually work

5 days later

DaniDaCoder and while ur at that, just remake the whole function draw() thing like what is that crappy formatting? even compressed formatting is easier to read than whatever you call that XD

    oh yeah and you can change the sound to something else. i recommend "sound://category_hits/puzzle_game_button_02.mp3" or you could upload ur own sound(s)

    Chat