Discuss Scratch

RoyalHi5
Scratcher
35 posts

New costume music

Sorry for the way I worded it in the subject ^ ^" I couldn't figure out a better way to say it. Anyway, for a project a friend and I are making, it's just going to be a slideshow of costumes basically (it's pages for a story) So the viewer will be pressing space to flip through. Or the arrow keys (not sure which yet) and we're gonna have music in the background. But when it gets to a certain page I want the music to change to a different song. Does anyone know how I'd be able to do that?

Last edited by RoyalHi5 (Aug. 31, 2013 23:46:16)

birchyboii
Scratcher
100+ posts

New costume music

if backdrop # = blah
JAVAProgramming
Scratcher
100+ posts

New costume music

If Backdrop # = 136:
Stop All Sounds
Play Sound (the sound you want)

Last edited by JAVAProgramming (Aug. 31, 2013 23:52:32)


My Newest Project, Come Check It Out
Dots, On Scratch
Want to change the way we count? The Dozenal System.

“The story so far:
In the beginning the Universe was created.
This has made a lot of people very angry and been widely regarded as a bad move.”
― Douglas Adams, The Restaurant at the End of the Universe
RoyalHi5
Scratcher
35 posts

New costume music

JAVAProgramming wrote:

If Backdrop # = 136:
Stop All Sounds
Play Sound (the sound you want)
I'm really new to the stuff in 2.0 O_O So sorry if this sounds stupid but, how do I find those blocks? I'm a little confused…….
JAVAProgramming
Scratcher
100+ posts

New costume music

RoyalHi5 wrote:

JAVAProgramming wrote:

If Backdrop # = 136:
Stop All Sounds
Play Sound (the sound you want)
I'm really new to the stuff in 2.0 O_O So sorry if this sounds stupid but, how do I find those blocks? I'm a little confused…….
I believe Backdrop # is in looks near the bottom, and the sound blocks are in the Sound tab.

My Newest Project, Come Check It Out
Dots, On Scratch
Want to change the way we count? The Dozenal System.

“The story so far:
In the beginning the Universe was created.
This has made a lot of people very angry and been widely regarded as a bad move.”
― Douglas Adams, The Restaurant at the End of the Universe
RoyalHi5
Scratcher
35 posts

New costume music

JAVAProgramming wrote:

RoyalHi5 wrote:

JAVAProgramming wrote:

If Backdrop # = 136:
Stop All Sounds
Play Sound (the sound you want)
I'm really new to the stuff in 2.0 O_O So sorry if this sounds stupid but, how do I find those blocks? I'm a little confused…….
I believe Backdrop # is in looks near the bottom, and the sound blocks are in the Sound tab.
It's not there O.o I have costume # but not backdrop #
JAVAProgramming
Scratcher
100+ posts

New costume music

RoyalHi5 wrote:

JAVAProgramming wrote:

RoyalHi5 wrote:

JAVAProgramming wrote:

If Backdrop # = 136:
Stop All Sounds
Play Sound (the sound you want)
I'm really new to the stuff in 2.0 O_O So sorry if this sounds stupid but, how do I find those blocks? I'm a little confused…….
I believe Backdrop # is in looks near the bottom, and the sound blocks are in the Sound tab.
It's not there O.o I have costume # but not backdrop #
You need to make the script in the Backdrop. Not in a sprite.

My Newest Project, Come Check It Out
Dots, On Scratch
Want to change the way we count? The Dozenal System.

“The story so far:
In the beginning the Universe was created.
This has made a lot of people very angry and been widely regarded as a bad move.”
― Douglas Adams, The Restaurant at the End of the Universe
RoyalHi5
Scratcher
35 posts

New costume music

JAVAProgramming wrote:

RoyalHi5 wrote:

JAVAProgramming wrote:

RoyalHi5 wrote:

JAVAProgramming wrote:

If Backdrop # = 136:
Stop All Sounds
Play Sound (the sound you want)
I'm really new to the stuff in 2.0 O_O So sorry if this sounds stupid but, how do I find those blocks? I'm a little confused…….
I believe Backdrop # is in looks near the bottom, and the sound blocks are in the Sound tab.
It's not there O.o I have costume # but not backdrop #
You need to make the script in the Backdrop. Not in a sprite.
Ooooooooooooooooooooh XD I got it now! Thank you so much for the help!
JAVAProgramming
Scratcher
100+ posts

New costume music

RoyalHi5 wrote:

JAVAProgramming wrote:

RoyalHi5 wrote:

JAVAProgramming wrote:

RoyalHi5 wrote:

JAVAProgramming wrote:

If Backdrop # = 136:
Stop All Sounds
Play Sound (the sound you want)
I'm really new to the stuff in 2.0 O_O So sorry if this sounds stupid but, how do I find those blocks? I'm a little confused…….
I believe Backdrop # is in looks near the bottom, and the sound blocks are in the Sound tab.
It's not there O.o I have costume # but not backdrop #
You need to make the script in the Backdrop. Not in a sprite.
Ooooooooooooooooooooh XD I got it now! Thank you so much for the help!
OR, you could make a script in the backdrop that says:
When Key Space pressed;
change Variable Backdrop#? by one;

On the sprite:
When gf clicked;
Wait until Variable Backdrop#? = 136;
Stop All Sound;
Play (Sound);

My Newest Project, Come Check It Out
Dots, On Scratch
Want to change the way we count? The Dozenal System.

“The story so far:
In the beginning the Universe was created.
This has made a lot of people very angry and been widely regarded as a bad move.”
― Douglas Adams, The Restaurant at the End of the Universe

Powered by DjangoBB