Discuss Scratch

Gamergalaxy689
Scratcher
100+ posts

sound literally does not work

My browser / operating system: Windows NT 10.0, Chrome 113.0.0.0, No Flash version detected
OK here's the game where it happens; the password is “cube with gun”
It's really simple and it seems like it wouldn't happen…
but just press P in the game. let me explain…..
well, there's a sprite inside the game called “CHECK HERE”, and it has one script:
when [p v] key pressed
broadcast [abc v]
then, in the main character's sprite, there's this script:
when I receive [abc v]
play sound [Unexpectancy (Part 2) - Pizza Tower v] until done
but, as you can probably tell, if you press P in the real game, it doesn't play a sound (at least for me).
I've checked with the Help with Scripts forum to see if this was an error with my code, but they didn't seem to figure out that problem…
CaptainTrooper
Scratcher
100+ posts

sound literally does not work

Gamergalaxy689 wrote:

My browser / operating system: Windows NT 10.0, Chrome 113.0.0.0, No Flash version detected
OK here's the game where it happens; the password is “cube with gun”
It's really simple and it seems like it wouldn't happen…
but just press P in the game. let me explain…..
well, there's a sprite inside the game called “CHECK HERE”, and it has one script.

but, as you can probably tell, if you press P in the real game, it doesn't play a sound (at least for me).
I've checked with the Help with Scripts forum to see if this was an error with my code, but they didn't seem to figure out that problem…
I hear a *CLICK!* sound every time I press it. It's possible there's a conflict with the code, as when I turned off the project, it worked just fine.
Gamergalaxy689
Scratcher
100+ posts

sound literally does not work

CaptainTrooper wrote:

Gamergalaxy689 wrote:

My browser / operating system: Windows NT 10.0, Chrome 113.0.0.0, No Flash version detected
OK here's the game where it happens; the password is “cube with gun”
It's really simple and it seems like it wouldn't happen…
but just press P in the game. let me explain…..
well, there's a sprite inside the game called “CHECK HERE”, and it has one script.

but, as you can probably tell, if you press P in the real game, it doesn't play a sound (at least for me).
I've checked with the Help with Scripts forum to see if this was an error with my code, but they didn't seem to figure out that problem…
I hear a *CLICK!* sound every time I press it. It's possible there's a conflict with the code, as when I turned off the project, it worked just fine.
that's the thing… I want it to play when the game is on, as you can probably assume. when you turn it off, it works. when you turn it on, no luck…
Gamergalaxy689
Scratcher
100+ posts

sound literally does not work

bomp
CaptainTrooper
Scratcher
100+ posts

sound literally does not work

Gamergalaxy689 wrote:

bomp
have you tried checking the code yourself for any mistakes?
Gamergalaxy689
Scratcher
100+ posts

sound literally does not work

CaptainTrooper wrote:

Gamergalaxy689 wrote:

bomp
have you tried checking the code yourself for any mistakes?
yes, I have. it largely does not include music blocks (like the
stop all sounds
block), so I think it may just be the amount of assets in the game….
but that being said, Appel is a humongous game and it contains sounds…

Last edited by Gamergalaxy689 (June 3, 2023 02:29:36)

Gamergalaxy689
Scratcher
100+ posts

sound literally does not work

bump
Gamergalaxy689
Scratcher
100+ posts

sound literally does not work

bump
Gamergalaxy689
Scratcher
100+ posts

sound literally does not work

BUMP
Gamergalaxy689
Scratcher
100+ posts

sound literally does not work

bump
Gamergalaxy689
Scratcher
100+ posts

sound literally does not work

SUPERBUMP
CST1229
Scratcher
1000+ posts

sound literally does not work

It is an issue with your scripts - there's this script in the “radio” sprite:


Removing the “stop all sounds” block from that script fixes it. You could replace it with “set volume” blocks maybe, if you only want to stop sounds from that sprite, like this:

Powered by DjangoBB