Discuss Scratch

eKliqse__
Scratcher
33 posts

Sound playing while also trying to animate cat

I have an animated cat and I want sound to be playing at the same time as it. Doing two 'when I receive ' statements doesn't work, can someone help? thanks
PineappleBlueberry16
Scratcher
100+ posts

Sound playing while also trying to animate cat

You should put this script:

whenclickedwaitANYsecsnextcostumebroadcastthing

Then put a separate script in the sprite:

whenIreceivethingplaysoundawesomeuntildone
eKliqse__
Scratcher
33 posts

Sound playing while also trying to animate cat

I'm not kidding, I LITERALLY just tried this, it worked and then I check back and you send this xD
eKliqse__
Scratcher
33 posts

Sound playing while also trying to animate cat

How do I make it repeat until the costume isn't either of the 2 animated frames though?
eKliqse__
Scratcher
33 posts

Sound playing while also trying to animate cat

Nvm - I figured it out
BrilliantStar114
Scratcher
100+ posts

Sound playing while also trying to animate cat

eKliqse__ wrote:

I have an animated cat and I want sound to be playing at the same time as it. Doing two 'when I receive ' statements doesn't work, can someone help? thanks
This works. Try it
whenclickedplaysoundyour soundrepeat20Nextcostume

Powered by DjangoBB