Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hi, it's your friendly jankytunes person! I noticed that when next was clicked it was making the jankytunes note play again, so clicking through the dialogue kinda played the same note over and over. I did some experimenting and I think it's because the "view" event gets called when that happens. So if you change the view handler to as follows this will mean it just keeps playing without getting interrupted. So that it'll start the song playing if it's not already started, but if it's already playing it will leave it be.

on view do
 if !jankytunes1.isplaying
  jankytunes1.play[]
 end
end
Hope this helps

oh thank you so much!! 

hm when i pasted the code that was directly as you said, it stopped the music altogether and wouldn't play at all :(

i resolved it by using your play across multiple cards trick and just added a title card, but thank u sm!

Ahh weird, glad you got it working in the end