Discuss Scratch

SpaceMud
Scratcher
100+ posts

music

im making a game and i want changeable music.
example:
if you press “1” it plays a song, but if i press “2” while music “1” is playing, it stops music 1 and starts music 2
TheFatCupcake976
Scratcher
18 posts

music

To make that just put a clear all sound effects before the start this sound block.

when 1 key pressed
stop all sounds
play sound music

Last edited by TheFatCupcake976 (Dec. 1, 2020 23:56:17)

SpaceMud
Scratcher
100+ posts

music

TheFatCupcake976 wrote:

To make that just put a clear all sound effects before the start this sound block.

when 1 key pressed
stop all sounds
play sound music
you are so stupid
and how do i make an option to pause it?

Last edited by SpaceMud (Dec. 2, 2020 00:03:32)

TheFatCupcake976
Scratcher
18 posts

music

I'm not sure, I think you would need to play around with variables and timers. Right now, I'm not sure if that is something that is possible to do in Scratch. They might however add it in a future update. Sorry that I could not help you! Good luck on your project!
SpaceMud
Scratcher
100+ posts

music

TheFatCupcake976 wrote:

I'm not sure, I think you would need to play around with variables and timers. Right now, I'm not sure if that is something that is possible to do in Scratch. They might however add it in a future update. Sorry that I could not help you! Good luck on your project! just kidding, your an idiot!
when [ 0] key pressed
stop all sounds
TheFatCupcake976
Scratcher
18 posts

music

I did find this on the Scratch wiki: https://en.scratch-wiki.info/wiki/Pause_and_Resume_Music
SpaceMud
Scratcher
100+ posts

music

TheFatCupcake976 wrote:

I did find this on the Scratch wiki: https://en.scratch-wiki.info/wiki/Pause_and_Resume_Music you hag!
no need, i got it fixed

Powered by DjangoBB