Show last authors
1 (% class="box infomessage" %)
2 (((
3 Sends a specified message to all objects and the background. Useful to communicate between objects and tell them when to do something.
4
5 [[image:broadcast.png]]
6 )))
7
8 (% class="box" %)
9 (((
10 **Correlates with this brick:**
11
12 [[[[image:when-you-receive-__.png||alt="When Your Receive Brick"]]>>doc:Documentation.BrickDocumentation.BroadcastReceiverBrick.WebHome]]
13 [[Learn more ~>~>>>doc:Documentation.BrickDocumentation.BroadcastReceiverBrick.WebHome]]
14
15 )))
16
17 (% class="row" %)
18 (((
19 (% class="col-xs-12 col-sm-6" %)
20 (((
21 (% class="box" %)
22 (((
23 ==== **Example** ====
24
25 When you tap game over, the panda will disappear. You need two objects:
26
27 [[image:broadcast__-4.png]]
28
29 This is the script for the panda:
30
31 [[image:broadcast-__-5.png]]
32
33 And this the one for game over:
34
35 [[image:broadcast__-6-2.png||alt="broadcast__-6.png"]]
36
37 **Note: select the same message in both bricks!**
38 )))
39 )))
40
41 (% class="col-xs-12 col-sm-6" %)
42 (((
43 (% class="box" %)
44 (((
45 ==== **Result** ====
46
47 [[[[image:null4.png]]>>https://share.catrob.at/pocketcode/project/34643]]
48
49 [[image:broadcast__-3.gif||alt="When tapped Example"]]
50 )))
51 )))
52 )))
53
54 (% id="gtx-trans" style="position: absolute; left: 353px; top: 1597px;" %)
55 (((
56 (% class="gtx-trans-icon" %)
57 (((
58
59 )))
60 )))