Wiki source code of Change volume by [value]

Last modified by Stephan Robinig on 2020/11/15 19:41

Show last authors
1 (% class="box infomessage" %)
2 (((
3 Changes object’s sound volume by a specified amount. You can set the volume level for each object. To play two sounds at the same time with different volume levels, use two objects. Volume is set by default to 100 and ranges between 0 and 100.
4
5 [[image:change_volume_brick2.png||alt="Change volume Brick"]]
6 )))
7
8 (% class="row" %)
9 (((
10 (% class="col-xs-12 col-sm-6" %)
11 (((
12 (% class="box" %)
13 (((
14 ==== **Example** ====
15
16 Will reduce the volume until you cannot hear it anymore.
17
18 [[image:change_volume_example.png||alt="Change volume Example"]]
19 )))
20 )))
21
22 (% class="col-xs-12 col-sm-6" %)
23 (((
24 (% class="box" %)
25 (((
26 ==== **Result** ====
27
28 [[[[image:null4.png||alt="Download"]]>>https://share.catrob.at/pocketcode/program/34259]]
29 )))
30 )))
31 )))
32
33 (% id="gtx-trans" style="position: absolute; left: 517px; top: 19px;" %)
34 (((
35 (% class="gtx-trans-icon" %)
36 (((
37
38 )))
39 )))