Wiki source code of Show variable
Last modified by dvd48 on 2020/06/30 20:15
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | (% style="text-align:center" %) | ||
2 | [[image:10_0.jpg||alt="" width="300"]] | ||
3 | |||
4 | (% class="box infomessage" %) | ||
5 | ((( | ||
6 | This program shows you how to show variables on stage, e.g., to show the current position of an object. | ||
7 | ))) | ||
8 | |||
9 | (% class="row" %) | ||
10 | ((( | ||
11 | (% class="col-xs-12 col-sm-6" %) | ||
12 | ((( | ||
13 | (% class="box" %) | ||
14 | ((( | ||
15 | = How To: = | ||
16 | |||
17 | With the //show variable-block //you can show the values on the stage. | ||
18 | |||
19 | (% style="text-align:center" %) | ||
20 | [[image:10_1_1.jpg||alt="" width="300"]] | ||
21 | ))) | ||
22 | ))) | ||
23 | |||
24 | (% class="col-xs-12 col-sm-6" %) | ||
25 | ((( | ||
26 | (% class="box" %) | ||
27 | ((( | ||
28 | Try this script to save the actual x and y position of your object in a variable. | ||
29 | |||
30 | (% style="text-align:center" %) | ||
31 | [[image:10_2_1.jpg||alt="" width="300"]] | ||
32 | ))) | ||
33 | ))) | ||
34 | ))) | ||
35 | |||
36 | (% class="row" %) | ||
37 | ((( | ||
38 | (% class="col-xs-12 col-sm-6" %) | ||
39 | ((( | ||
40 | (% class="box" %) | ||
41 | ((( | ||
42 | (% style="text-align:center" %) | ||
43 | |||
44 | With „Show variable“ you can display the values on the stage. | ||
45 | |||
46 | [[image:10_3_1.jpg||alt="" width="300"]] | ||
47 | ))) | ||
48 | ))) | ||
49 | ))) | ||
50 | |||
51 | (% class="box infomessage" %) | ||
52 | ((( | ||
53 | [[Download the program here>>https://share.catrob.at/pocketcode/program/3979]] | ||
54 | ))) |