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
← Return to brother
Comments
Log in with itch.io to leave a comment.
The graphics, the music, the conversation – all so gutwrenching and made me want to pull my hair out (in a very good way). Incredible job!
thank you so much!
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.
Hope this helpsoh 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