This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-08-23 15:52:34

ProgrammingAddict
New Scratcher
Registered: 2011-08-23
Posts: 22

Music volume help

I'm making a game with music in the background, but in the settings I'm putting an option where you can change the volume of the music, and so I created a variable called volume, which you can set to any number between 0 and 100, but is there anything wrong with this script?

<when green flag clicked>
<forever>
set volume to <{ volume }> %
<end>

Also, there wasn't the block for set volume to.

Offline

 

#2 2011-08-23 15:55:17

laptop97
Scratcher
Registered: 2011-06-27
Posts: 1000+

Re: Music volume help

Could you upload the project? Also, I think this should be in All About Scratch.

Last edited by laptop97 (2011-08-23 15:55:34)

Offline

 

#3 2011-08-23 16:06:34

ProgrammingAddict
New Scratcher
Registered: 2011-08-23
Posts: 22

Re: Music volume help

Oops, I thought I did! Any mods, please move this!

Also, I will upload very soon.

Offline

 

#4 2011-08-23 16:10:17

ProgrammingAddict
New Scratcher
Registered: 2011-08-23
Posts: 22

Re: Music volume help

Change of plan: have to go out, so will upload tomorrow!

Offline

 

Board footer