Mã nguồn Wiki củaYour Brick Example: Dancing Panda
Chỉnh sửa lần cuối bởi Stephan Robinig trên2021/04/23 18:07
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | (% class="box infomessage" %) | ||
2 | ((( | ||
3 | This example shows you, how you can use **Your Bricks **to let the panda dance, when you tap it. | ||
4 | ))) | ||
5 | |||
6 | (% class="row" %) | ||
7 | ((( | ||
8 | (% class="col-xs-12 col-sm-6" %) | ||
9 | ((( | ||
10 | (% class="box" %) | ||
11 | ((( | ||
12 | ==== **Example** ==== | ||
13 | |||
14 | Use this script to define your custom brick and let the panda dance when it is tapped: | ||
15 | |||
16 | [[image:Your_Bricks_Dancing_Panda.png||alt="Wait Example"]] | ||
17 | ))) | ||
18 | ))) | ||
19 | |||
20 | (% class="col-xs-12 col-sm-6" %) | ||
21 | ((( | ||
22 | (% class="box" %) | ||
23 | ((( | ||
24 | ==== **Result** ==== | ||
25 | |||
26 | [[[[image:Documentation.BrickDocumentation.AddItemToUserListBrick.WebHome@null4.png||alt="Download"]]>>https://share.catrob.at/app/project/9d49b1d9-a45e-11eb-a9a4-005056a36f47]] | ||
27 | |||
28 | [[image:Example_Your_Bricks_Dancing_Panda.gif||alt="Wait Result"]] | ||
29 | ))) | ||
30 | ))) | ||
31 | ))) | ||
32 | |||
33 | (% id="gtx-trans" style="position: absolute; left: 407px; top: 419px;" %) | ||
34 | ((( | ||
35 | (% class="gtx-trans-icon" %) | ||
36 | ((( | ||
37 | |||
38 | ))) | ||
39 | ))) |