Wiki source code of Cat
Last modified by Michael Jagoutz on 2021/11/02 10:28
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | (% class="row" style="display: flex; align-items: center; margin-bottom: 2em" %) | ||
2 | ((( | ||
3 | (% class="col-xs-12 col-sm-8" %) | ||
4 | ((( | ||
5 | (% class="badge errormessage" %)** PRO **(%%)** In this Tutorial creating a Cat will be explained.** | ||
6 | |||
7 | //(64,9 x 84,4 mm)// | ||
8 | |||
9 | //Here you can download the description in [[PDF-format>>attach:Cat.pdf]]!// | ||
10 | ))) | ||
11 | |||
12 | (% class="col-xs-12 col-sm-4" %) | ||
13 | ((( | ||
14 | [[image:Screenshot_20200815-131327_Pocket Code.jpg||queryString="width=150" alt="Cat Example" style="float:right"]] | ||
15 | ))) | ||
16 | ))) | ||
17 | |||
18 | (% class="row" %) | ||
19 | ((( | ||
20 | (% class="col-xs-12 col-sm-6" %) | ||
21 | ((( | ||
22 | (% class="box" %) | ||
23 | ((( | ||
24 | **1. **Create a new Embroidery-Object for the nose. | ||
25 | //Have a look on how to create an embroidery object [[here>>doc:Education.Embroidery.Create Embroidery-Objects.WebHome]].// | ||
26 | |||
27 | (% class="box errormessage" %) | ||
28 | ((( | ||
29 | **Good to know:** | ||
30 | |||
31 | Make sure to create new variables “for this actor, object, or one of its clones only”, otherwise variables with the same name could lead to problems. | ||
32 | |||
33 | (% style="text-align:center" %) | ||
34 | [[image:new_variable.png||queryString="width=250&height=221" alt="create variables" height="177" width="200"]] | ||
35 | ))) | ||
36 | ))) | ||
37 | ))) | ||
38 | |||
39 | (% class="col-xs-12 col-sm-6" %) | ||
40 | ((( | ||
41 | (% class="box" %) | ||
42 | ((( | ||
43 | **2. **Now start and insert the bricks step by step to your script. | ||
44 | |||
45 | [[image:Code_1.png||height="680" width="300"]] | ||
46 | ))) | ||
47 | ))) | ||
48 | ))) | ||
49 | |||
50 | (% class="row" %) | ||
51 | ((( | ||
52 | (% class="col-xs-12 col-sm-6" %) | ||
53 | ((( | ||
54 | (% class="box" %) | ||
55 | ((( | ||
56 | **3. **Create a second Embroidery-Object for the eyes. | ||
57 | //Have a look on how to create an embroidery object [[here>>doc:Education.Embroidery.Create Embroidery-Objects.WebHome]].// | ||
58 | ))) | ||
59 | ))) | ||
60 | |||
61 | (% class="col-xs-12 col-sm-6" %) | ||
62 | ((( | ||
63 | (% class="box" %) | ||
64 | ((( | ||
65 | **4. **Now start and insert the bricks step by step to your script. | ||
66 | |||
67 | [[image:Code_2.png||height="537" width="300"]] [[image:Code_3.png||height="541" width="300"]] | ||
68 | ))) | ||
69 | ))) | ||
70 | ))) | ||
71 | |||
72 | (% class="row" %) | ||
73 | ((( | ||
74 | (% class="col-xs-12 col-sm-6" %) | ||
75 | ((( | ||
76 | (% class="box" %) | ||
77 | ((( | ||
78 | **5. **Create a second Embroidery-Object for the mouth. | ||
79 | //Have a look on how to create an embroidery object [[here>>doc:Education.Embroidery.Create Embroidery-Objects.WebHome]].// | ||
80 | ))) | ||
81 | ))) | ||
82 | |||
83 | (% class="col-xs-12 col-sm-6" %) | ||
84 | ((( | ||
85 | (% class="box" %) | ||
86 | ((( | ||
87 | **6. **Now start and insert the bricks step by step to your script. | ||
88 | |||
89 | [[image:Code_4.png||height="1043" width="300"]] | ||
90 | ))) | ||
91 | ))) | ||
92 | ))) | ||
93 | |||
94 | (% class="row" %) | ||
95 | ((( | ||
96 | (% class="col-xs-12 col-sm-6" %) | ||
97 | ((( | ||
98 | (% class="box" %) | ||
99 | ((( | ||
100 | **7. **Create a second Embroidery-Object for the head. | ||
101 | //Have a look on how to create an embroidery object [[here>>doc:Education.Embroidery.Create Embroidery-Objects.WebHome]].// | ||
102 | ))) | ||
103 | ))) | ||
104 | |||
105 | (% class="col-xs-12 col-sm-6" %) | ||
106 | ((( | ||
107 | (% class="box" %) | ||
108 | ((( | ||
109 | **8. **Now start and insert the bricks step by step to your script. | ||
110 | |||
111 | [[image:Code_5.png||height="504" width="300"]] | ||
112 | |||
113 | |||
114 | ))) | ||
115 | ))) | ||
116 | ))) | ||
117 | |||
118 | (% class="row" %) | ||
119 | ((( | ||
120 | (% class="col-xs-12 col-sm-6" %) | ||
121 | ((( | ||
122 | (% class="box" %) | ||
123 | ((( | ||
124 | **9. **Now start and insert the bricks step by step to your script. | ||
125 | |||
126 | [[image:Code_6.png||height="1476" width="300"]] | ||
127 | ))) | ||
128 | ))) | ||
129 | |||
130 | (% class="col-xs-12 col-sm-6" %) | ||
131 | ((( | ||
132 | (% class="box" %) | ||
133 | ((( | ||
134 | **10. **Now start and insert the bricks step by step to your script. | ||
135 | |||
136 | [[image:Code_7.png||height="1478" width="300"]] | ||
137 | ))) | ||
138 | ))) | ||
139 | ))) | ||
140 | |||
141 | (% class="row" %) | ||
142 | ((( | ||
143 | (% class="col-xs-12 col-sm-6" %) | ||
144 | ((( | ||
145 | (% class="box" %) | ||
146 | ((( | ||
147 | **11. **Check the bricks, if it still doesn’t work. | ||
148 | ))) | ||
149 | ))) | ||
150 | |||
151 | |||
152 | (% class="row" %) | ||
153 | ((( | ||
154 | (% class="col-xs-12 col-sm-12" %) | ||
155 | ((( | ||
156 | (% class="box successmessage" %) | ||
157 | ((( | ||
158 | Congratulations for finishing this tutorial! Once you have completed this tutorial please go to [[https:~~/~~/code.org/api/hour/finish>>https://code.org/api/hour/finish]] to get your certificate. | ||
159 | ))) | ||
160 | ))) | ||
161 | ))) | ||
162 | ))) |