Deleted5371 @DaniDaCoder I have a simple solution. var musicOn = false; function draw() { playMusic(); } function playMusic() { musicOn = true; if (!musicOn) { playSound("YOUR MUSIC HERE"); } }
Deleted5371 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; } }
MonsterYT_DaGamer just do this lol https://studio.code.org/projects/gamelab/-2Ppgmbf84av6RBM_a9iBfBAGiasz4dlsAKqZ4twHPc/edit#
MonsterYT_DaGamer 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
MonsterYT_DaGamer MonsterYT_DaGamer ok i didnt mean to be rude by calling it crappy, its more scuffed but you can still see where im coming from
MonsterYT_DaGamer 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)