diff --git a/ar-SA/step_2.md b/ar-SA/step_2.md index e837cc75..311b47a7 100644 --- a/ar-SA/step_2.md +++ b/ar-SA/step_2.md @@ -55,12 +55,12 @@ ![كائن سفينة الفضاء](images/sprite-spaceship.png) ```blocks3 -عند نقر ⚑ -اتجه نحو الاتجاه (0) -اذهب إلى الموضع س: (-150) ص: (-150) -قل [لنذهب!] لمدة (2) ثانية -اتجه نحو (Earth v) -انزلق خلال (1) ثانية إلى الموضع س: (0) ص: (0) +when flag clicked +point in direction (0) +go to x:(-150) y:(-150) +say [لنذهب!] for (2) seconds +point towards (Earth v) +glide (1) secs to x:(0) y:(0) ``` غيِّر الأرقام الموجودة في قوالب التعليمات البرمجية بحيث تكون التعليمات البرمجية مماثلة لتلك الموضحة في الصورة أعلاه. diff --git a/ar-SA/step_3.md b/ar-SA/step_3.md index bf6dcd1a..20cdc8f5 100644 --- a/ar-SA/step_3.md +++ b/ar-SA/step_3.md @@ -10,7 +10,7 @@ ![كائن سفينة الفضاء](images/sprite-spaceship.png) ```blocks3 -انزلق خلال (1) ثانية إلى الموضع س: (0) ص: (0) +glide (1) secs to x:(0) y:(0) ``` [[[generic-scratch3-coordinates]]] \ No newline at end of file diff --git a/ar-SA/step_4.md b/ar-SA/step_4.md index f646cd8e..f36cb82d 100644 --- a/ar-SA/step_4.md +++ b/ar-SA/step_4.md @@ -9,12 +9,12 @@ ![كائن سفينة الفضاء](images/sprite-spaceship.png) ```blocks3 -عند نقر ⚑ -اتجه نحو الاتجاه (0) -اذهب إلى الموضع س: (-150) ص: (-150) -قل [لنذهب!] لمدة (2) ثانية -اتجه نحو (Earth v) -- انزلق خلال (1) ثانية إلى الموضع س: (0) ص: (0) +when flag clicked +point in direction (0) +go to x:(-150) y:(-150) +say [لنذهب] for (2) seconds +point towards (Earth v) +- glide (1) secs to x:(0) y:(0) ``` --- /task --- @@ -28,14 +28,13 @@ ![كائن سفينة الفضاء](images/sprite-spaceship.png) ```blocks3 -عند نقر ⚑ -اتجه نحو الاتجاه (0) -اذهب إلى الموضع س: (-150) ص: (-150) -قل [لنذهب!] لمدة (2) ثانية -اتجه نحو (Earth v) -+ كرِّر (200) مرة - تحرك (2) خطوة -end +when flag clicked +point in direction (0) +go to x:(-150) y:(-150) +say [لنذهب] for (2) seconds +point towards (Earth v) ++ repeat (200) + move (2) steps ``` اختبر مشروعك وقم بحفظه: ستتحرَّك سفينة الفضاء نحو كوكب الأرض تمامًا كما كانت من قبل، لكن باستخدام القالب `كرِّر`{:class="block3control"} في هذه المرة. @@ -51,15 +50,14 @@ end ![كائن سفينة الفضاء](images/sprite-spaceship.png) ```blocks3 -عند نقر ⚑ -اتجه نحو الاتجاه (0) -اذهب إلى الموضع س: (-150) ص: (-150) -قل [لنذهب!] لمدة (2) ثانية -اتجه نحو (Earth v) -كرِّر (200) مرة - تحرك (2) خطوة -+ غيِّر مؤثر [اللون v] بمقدار (25) -end +when flag clicked +point in direction (0) +go to x:(-150) y:(-150) +say [لنذهب] for (2) seconds +point towards (Earth v) +repeat (200) + move (2) steps ++ change [اللون v] effect by (25) ``` إختبر واحفظ المشروع الخاص بك. @@ -88,9 +86,9 @@ end ![كائن سفينة الفضاء](images/sprite-spaceship.png) ```blocks3 -غيِّر الحجم بمقدار (10) +change size by (10) -اجعل الحجم مساويًا (100) ٪ +set size to (100) % ``` --- /hint --- @@ -102,17 +100,16 @@ end ![كائن سفينة الفضاء](images/sprite-spaceship.png) ```blocks3 -عند نقر ⚑ -اجعل الحجم مساويًا (100) ٪ -اتجه نحو الاتجاه (0) -اذهب إلى الموضع س: (-150) ص: (-150) -قل [لنذهب!] لمدة (2) ثانية -اتجه نحو (Earth v) -كرِّر (200) مرة - تحرك (2) خطوة - غيِّر مؤثر [color v] بمقدار (25) -+ غيِّر الحجم بمقدار (-3) -end +when flag clicked ++ set size to (100) % +point in direction (0) +go to x:(-150) y:(-150) +say [لنذهب!] for (2) seconds +point towards (Earth v) +repeat (200) + move (2) steps + change [اللون v] effect by (25) ++ change size by (-0.3) ``` --- /hint --- diff --git a/ar-SA/step_5.md b/ar-SA/step_5.md index 3c7d6085..e12bd45f 100644 --- a/ar-SA/step_5.md +++ b/ar-SA/step_5.md @@ -42,12 +42,12 @@ هنا التعليمات البرمجية التي ستحتاج اليها: ```blocks3 -كرِّر باستمرار +forever end -استدر ↻ (15) درجة +turn cw (15) degrees -عند نقر ⚑ +when flag clicked ``` --- /hint --- --- hint --- @@ -57,10 +57,9 @@ end ![كائن القرد](images/sprite-monkey.png) ```blocks3 -عند نقر ⚑ -كرِّر باستمرار - استدر ↻ (1) درجة -end +when flag clicked +forever + turn cw (1) degrees ``` --- /hint ------ /hints --- diff --git a/ar-SA/step_6.md b/ar-SA/step_6.md index 811fa3ca..69ddaff7 100644 --- a/ar-SA/step_6.md +++ b/ar-SA/step_6.md @@ -26,22 +26,21 @@ هنا التعليمات البرمجية التي ستحتاج اليها: ```blocks3 -تحرك (10) خطوة +move (10) steps -ارتد إذا كنت عند الحافة +if on edge bounce -عند نقر ⚑ +when flag clicked -كرِّر باستمرار -end +forever ``` يمكنك أيضًا تعيين اتجاه البداية بشكل أكثر إثارة للاهتمام لكائن الصخرة باستخدام إحدى هذه الكتل: ```blocks3 -استدر ↻ (15) درجة +turn cw (15) degrees -اتجه نحو (Earth v) +point towards (Earth v) ``` --- /hint --- --- hint --- @@ -51,12 +50,11 @@ end ![كائن الصخرة](images/sprite-rock.png) ```blocks3 -عند نقر ⚑ -اتجه نحو (Earth v) -كرِّر باستمرار - تحرك (2) خطوة - ارتد إذا كنت عند الحافة -end +when flag clicked +point towards (Earth v) +forever + move (2) steps + if on edge, bounce ``` --- /hint ------ /hints --- --- /task --- \ No newline at end of file diff --git a/ar-SA/step_7.md b/ar-SA/step_7.md index eae70ddf..a54c25eb 100644 --- a/ar-SA/step_7.md +++ b/ar-SA/step_7.md @@ -26,20 +26,19 @@ هنا التعليمات البرمجية التي ستحتاج اليها: ```blocks3 -كرِّر (10) مرة +repeat (10) end -عند نقر ⚑ +when flag clicked -كرِّر (10) مرة +repeat (10) end -غيِّر الحجم بمقدار (10) +change size by (10) -غيِّر الحجم بمقدار (10) +change size by (10) -كرِّر باستمرار -end +forever ``` --- /hint --- --- hint --- @@ -49,15 +48,14 @@ end ![كائن النجمة](images/sprite-star.png) ```blocks3 -عند نقر ⚑ -كرِّر باستمرار - كرِّر (20) مرة - غيِّر الحجم بمقدار (2) - end - كرِّر (20) مرة - غيِّر الحجم بمقدار (-2) - end -end +when flag clicked +forever + repeat (20) + change size by (2) + end + repeat (20) + change size by (-2) + end ``` --- /hint ------ /hints --- --- /task --- \ No newline at end of file diff --git a/cy-GB/step_2.md b/cy-GB/step_2.md index 794765f9..0c635a42 100644 --- a/cy-GB/step_2.md +++ b/cy-GB/step_2.md @@ -45,12 +45,12 @@ Os oes angen i ti lawrlwytho a gosod golygydd Scratch all-lein, mae modd dod o h ![Corlun llong ofod](images/sprite-spaceship.png) ```blocks3 -pan fo'r flag werdd yn cael ei glicio -pwyntio i gyfeiriad (0) -mynd i x: (-150) y: (-150) -dweud [Awn ni!] am (2) eiliad -pwyntio tuag at (Earth v) -llithro (1) eiliad i x: (0) y: (0) +when flag clicked +point in direction (0) +go to x:(-150) y:(-150) +say [Awn ni!] for (2) seconds +point towards (Earth v) +glide (1) secs to x:(0) y:(0) ``` Newida y rhifau yn y blociau côd fel bod y côd union yr un peth â’r llun uchod. diff --git a/cy-GB/step_3.md b/cy-GB/step_3.md index ecb159ab..cefa1921 100644 --- a/cy-GB/step_3.md +++ b/cy-GB/step_3.md @@ -10,7 +10,7 @@ Bydd angen i ti newid y rhifau yn y bloc yma: ![Ciplun llong ofod](images/sprite-spaceship.png) ```blocks3 -llithro (1) eiliad i x: (0) y: (0) +glide (1) secs to x:(0) y:(0) ``` [[[generic-scratch3-coordinates]]] \ No newline at end of file diff --git a/cy-GB/step_4.md b/cy-GB/step_4.md index ce4bd3f4..f4a415d0 100644 --- a/cy-GB/step_4.md +++ b/cy-GB/step_4.md @@ -7,12 +7,12 @@ Ffordd arall o animeiddio’r llong ofod yw dweud wrtho i symud ychydig bach, ni ![Corlun llong ofod](images/sprite-spaceship.png) ```blocks3 -pan fo'r flag werdd yn cael ei glicio -pwyntio i gyfeiriad (0) -mynd i x: (-150) y: (-150) -dweud [Awn ni!] am (2) eiliad -pwyntio tuag at (Earth v) -- llithro (1) eiliad i x: (0) y: (0) +when flag clicked +point in direction (0) +go to x:(-150) y:(-150) +say [Awn ni!] for (2) seconds +point towards (Earth v) +- glide (1) secs to x:(0) y:(0) ``` --- /task --- @@ -26,14 +26,13 @@ Nawr, defnyddiwch bloc `ailadrodd`{:class="block3control"} i symud dy long ofod ![Corlun llong ofod](images/sprite-spaceship.png) ```blocks3 -pan fo'r flag werdd yn cael ei glicio -pwyntio i gyfeiriad (0) -mynd i x: (-150) y: (-150) -dweud [Awn ni!] am (2) eiliad -pwyntio tuag at (Earth v) -+ ailadrodd (200) - symud (2) cam -end +when flag clicked +point in direction (0) +go to x:(-150) y:(-150) +say [Awn ni!] for (2) seconds +point towards (Earth v) ++ repeat (200) + move (2) steps ``` Profa ac arbed dy gôd. Fe ddylai dy long ofod symud tuag at y Ddaear yn union fel y tro o'r blaen, dim ond ei fod yn defnyddio y bloc `ailadrodd`{:class="block3control"} y tro hwn. @@ -48,14 +47,14 @@ Defnyddia'r bloc yma: ![Corlun llong ofod](images/sprite-spaceship.png) ```blocks3 -pan fo'r flag werdd yn cael ei glicio -pwyntio i gyfeiriad (0) -mynd i x: (-150) y: (-150) -dweud [Awn ni!] am (2) eiliad -pwyntio tuag at (Earth v) -ailadrodd (200) - symud (2) cam -+ newid effaith [lliw v] gan (25) +when flag clicked +point in direction (0) +go to x:(-150) y:(-150) +say [Awn ni!] for (2) seconds +point towards (Earth v) +repeat (200) + move (2) steps ++ change [lliw v] effect by (25) ``` Profa ac arbed dy gôd. @@ -82,9 +81,9 @@ Mae angen ychwanegu'r blociau yma i dy gôd: ![Corlun llong ofod](images/sprite-spaceship.png) ```blocks3 -newid maint gan (10) +change size by (10) -gosod maint i (100) % +set size to (100) % ``` --- /hint --- @@ -96,16 +95,16 @@ Fe ddylai dy gôd edrych fel hyn: ![Corlun llong ofod](images/sprite-spaceship.png) ```blocks3 -pan fo'r flag werdd yn cael ei glicio -gosod maint i (100) % -pwyntio i gyfeiriad (0) -mynd i x: (-150) y: (-150) -dweud [Awn ni!] am (2) eiliad -pwyntio tuag at (Earth v) -ailadrodd (200) - symud (2) cam - newid effaith [lliw v] gan (25) -+ newid maint gan (-3) +when flag clicked ++ set size to (100) % +point in direction (0) +go to x:(-150) y:(-150) +say [Awn ni!] for (2) seconds +point towards (Earth v) +repeat (200) + move (2) steps + change [lliw v] effect by (25) ++ change size by (-0.3) ``` --- /hint --- diff --git a/cy-GB/step_5.md b/cy-GB/step_5.md index 389ed7c6..eb7cd79e 100644 --- a/cy-GB/step_5.md +++ b/cy-GB/step_5.md @@ -32,12 +32,12 @@ Pan fo'r faner werdd **wedi ei glicio**, fe ddylai corlun dy fwnci **droi** mewn Dyma'r blociau côd rwyt ti eu hangen: ```blocks3 -am byth +forever end -troi (15) gradd i'r dde +turn cw (15) degrees -pan fo'r flag werdd yn cael ei glicio +when flag clicke ``` --- /hint --- --- hint --- @@ -47,10 +47,9 @@ Dyma'r côd i wneud i dy fwnci droi: ![Corlun mwnci](images/sprite-monkey.png) ```blocks3 -pan fo'r flag werdd yn cael ei glicio -am byth - troi (1) gradd i'r dde -end +when flag clicked +forever + turn cw (1) degrees ``` --- /hint --- --- /hints --- diff --git a/cy-GB/step_6.md b/cy-GB/step_6.md index 55053f3e..d6841051 100644 --- a/cy-GB/step_6.md +++ b/cy-GB/step_6.md @@ -18,22 +18,21 @@ Rwyt ti nawr am ychwanegu craig sydd yn arnofio i dy animeiddiad. --- hint --- Dyma'r blociau côd rwyt ti eu hangen: ```blocks3 -symud (10) cam +move (10) steps -os ar ymyl, bowndio +if on edge bounce -pan fo'r flag werdd yn cael ei glicio +when flag clicked -am byth -end +forever ``` Mae modd i ti hefyd osod cyfeiriad cychwyn mwy diddorol i'r corlun craig gydag un o'r blociau yma: ```blocks3 -troi (15) gradd i'r dde +turn cw (15) degrees -pwyntio tuag at (Earth v) +point towards (Earth v) ``` --- /hint --- --- hint --- @@ -43,12 +42,11 @@ Dyma'r côd ar gyfer gwneud dy graig i fownsio o gwmpas y llwyfan: ![Corlun craig](images/sprite-rock.png) ```blocks3 -pan fo'r flag werdd yn cael ei glicio -pwyntio tuag at (Earth v) -am byth - symud (2) cam - os ar ymyl, bowndio -end +when flag clicked +point towards (Earth v) +forever + move (2) steps + if on edge, bounce ``` --- /hint --- --- /hints --- --- /task --- \ No newline at end of file diff --git a/cy-GB/step_7.md b/cy-GB/step_7.md index 20da5c14..b422684b 100644 --- a/cy-GB/step_7.md +++ b/cy-GB/step_7.md @@ -18,34 +18,32 @@ Rwyt ti am gyfunio dolenu i greu seren ddisglair. --- hint --- Dyma'r blociau côd rwyt ti eu hangen: ```blocks3 -ailadrodd (10) +repeat (10) end -pan fo'r flag werdd yn cael ei glicio +when flag clicked -ailadrodd (10) +repeat (10) end -newid maint gan (10) +change size by (10) -newid maint gan (10) +change size by (10) -am byth -end +forever ``` --- /hint --- --- hint --- Dyma'r côd i wneud dy seren i dyfu a lleihau: ![Corlun seren](images/sprite-star.png) ```blocks3 -pan fo'r flag werdd yn cael ei glicio -am byth - ailadrodd (20) - newid maint gan (2) - end - ailadrodd (20) - newid maint gan (-2) - end -end +when flag clicked +forever + repeat (20) + change size by (2) + end + repeat (20) + change size by (-2) + end ``` diff --git a/de-DE/step_2.md b/de-DE/step_2.md index 90cfa0fa..1a209bd8 100644 --- a/de-DE/step_2.md +++ b/de-DE/step_2.md @@ -45,12 +45,12 @@ Wenn du den Scratch-Offline-Editor herunterladen und installieren möchtest, fin ![Raumschiff-Figur](images/sprite-spaceship.png) ```blocks3 -Wenn die grüne Flagge angeklickt -setze Richtung auf (0) Grad -gehe zu x: (-150) y: (-150) -sage [Los geht´s] für (2) Sekunden -drehe dich zu (Earth v) -gleite in (1) Sek. zu x: (0) y: (0) +when flag clicked +point in direction (0) +go to x:(-150) y:(-150) +say [Los geht´s] for (2) seconds +point towards (Earth v) +glide (1) secs to x:(0) y:(0) ``` Ändere die Zahlen in den Blöcken, die du hinzugefügt hast, damit der Code exakt dem obigen entspricht. diff --git a/de-DE/step_3.md b/de-DE/step_3.md index c17572c8..27ec241b 100644 --- a/de-DE/step_3.md +++ b/de-DE/step_3.md @@ -10,7 +10,7 @@ Du musst die Zahlen in diesem Block ändern: ![Raumschiff-Figur](images/sprite-spaceship.png) ```blocks3 -gleite in (1) Sek. zu x: (0) y: (0) +glide (1) secs to x:(0) y:(0) ``` [[[generic-scratch3-coordinates]]] \ No newline at end of file diff --git a/de-DE/step_4.md b/de-DE/step_4.md index cda0d6cc..bf698a6d 100644 --- a/de-DE/step_4.md +++ b/de-DE/step_4.md @@ -7,12 +7,12 @@ Eine andere Möglichkeit das Raumschiff zu animieren ist, es ganz oft kleine Sch ![Raumschiff-Figur](images/sprite-spaceship.png) ```blocks3 -Wenn die grüne Flagge angeklickt -setze Richtung auf (0) Grad -gehe zu x: (-150) y: (-150) -sage [Los geht´s] für (2) Sekunden -drehe dich zu (Earth v) -- gleite in (1) Sek. zu x: (0) y: (0) +when flag clicked +point in direction (0) +go to x:(-150) y:(-150) +say [Los geht´s] for (2) seconds +point towards (Earth v) +- glide (1) secs to x:(0) y:(0) ``` --- /task --- @@ -24,14 +24,13 @@ drehe dich zu (Earth v) ![Raumschiff-Figur](images/sprite-spaceship.png) ```blocks3 -Wenn die grüne Flagge angeklickt -setze Richtung auf (0) Grad -gehe zu x: (-150) y: (-150) -sage [Los geht´s] für (2) Sekunden -drehe dich zu (Earth v) -+ wiederhole (200) mal - gehe (2) er Schritt -end +when flag clicked +point in direction (0) +go to x:(-150) y:(-150) +say [Los geht´s] for (2) seconds +point towards (Earth v) ++ repeat (200) + move (2) steps ``` Teste und speichere deinen Code. Dein Raumschiff sollte sich genau wie zuvor zur Erde bewegen, aber diesmal mit Hilfe eines `wiederhole ... mal`{:class="block3control}-Blocks. @@ -45,15 +44,14 @@ Verwende diesen Block: ![Raumschiff-Figur](images/sprite-spaceship.png) ```blocks3 -Wenn die grüne Flagge angeklickt -setze Richtung auf (0) Grad -gehe zu x: (-150) y: (-150) -sage [Los geht´s] für (2) Sekunden -drehe dich zu (Earth v) -wiederhole (200) mal - gehe (2) er Schritt -+ ändere Effekt [Farbe v] um (25) -end +when flag clicked +point in direction (0) +go to x:(-150) y:(-150) +say [los geht's] for (2) seconds +point towards (Earth v) +repeat (200) + move (2) steps ++ change [Farbe v] effect by (25) ``` Teste und speichere nun dein Projekt. @@ -80,9 +78,9 @@ Du musst diese Blöcke zu deinem Code hinzufügen: ![Raumschiff-Figur](images/sprite-spaceship.png) ```blocks3 -ändere Größe um (10) +change size by (10) -setze Größe auf (100) +set size to (100) % ``` --- /hint --- @@ -94,16 +92,16 @@ Dein Code sollte so aussehen: ![Raumschiff-Figur](images/sprite-spaceship.png) ```blocks3 -Wenn die grüne Flagge angeklickt -setze Größe auf (100) -setze Richtung auf (0) Grad -gehe zu x:(-150) y:(-150) -sage [Los geht´s] für (2) Sekunden -drehe dich zu (Earth v) -wiederhole (200) mal - gehe (2) er Schritt - ändere Effekt [Farbe v] um (25) -+ ändere Größe um (-3) +when flag clicked ++ set size to (100) % +point in direction (0) +go to x:(-150) y:(-150) +say [Los geht's] for (2) seconds +point towards (Earth v) +repeat (200) + move (2) steps + change [Farbe v] effect by (25) ++ change size by (-0.3) ``` --- /hint --- diff --git a/de-DE/step_5.md b/de-DE/step_5.md index 54a4fd0f..beef50f9 100644 --- a/de-DE/step_5.md +++ b/de-DE/step_5.md @@ -32,12 +32,12 @@ Wenn die grüne **Flagge angeklickt** wird, soll sich die Affen-Figur **fortlauf Hier sind die Codeblöcke die du brauchst: ```blocks3 -wiederhole fortlaufend +forever end -drehe dich nach rechts um (15) Grad +turn cw (15) degrees -Wenn die grüne Flagge angeklickt +when flag clicked ``` --- /hint --- --- hint --- @@ -47,10 +47,9 @@ Hier ist der Code, um deinen Affen zum Drehen zu bringen: ![Affen Figur](images/sprite-monkey.png) ```blocks3 -Wenn die grüne Flagge angeklickt -wiederhole fortlaufend - drehe dich nach rechts um (1) Grad -end +when flag clicked +forever + turn cw (1) degrees ``` --- /hint --- --- /hints --- diff --git a/de-DE/step_6.md b/de-DE/step_6.md index 532b32bd..d18c8117 100644 --- a/de-DE/step_6.md +++ b/de-DE/step_6.md @@ -18,21 +18,21 @@ Jetzt wirst du einen schwebenden Weltraumstein zu deiner Animation hinzufügen. --- hint --- Hier sind die Codeblöcke die du brauchst: ```blocks3 -gehe (10) er Schritt +move (10) steps -pralle vom Rand ab +if on edge bounce -Wenn die grüne Flagge angeklickt +when flag clicked -wiederhole fortlaufend +forever ``` Du kannst auch eine interessantere Startrichtung für deine Felsen-Figur festlegen, indem du einen dieser Blöcke verwendest: ```blocks3 -drehe dich nach rechts um (15) Grad +turn cw (15) degrees -drehe dich zu (Erde v) +point towards (Earth v) ``` --- /hint --- --- hint --- @@ -42,12 +42,11 @@ Hier ist der Code, mit dem du deinen Felsen über die Bühne springen lässt: ![Felsen Figur](images/sprite-rock.png) ```blocks3 -Wenn die grüne Flagge angeklickt -drehe dich zu (Earth v) -wiederhole fortlaufend - gehe (2) er Schritt - pralle vom Rand ab -end +when flag clicked +point towards (Earth v) +forever + move (2) steps + if on edge, bounce ``` --- /hint --- --- /hints --- --- /task --- \ No newline at end of file diff --git a/de-DE/step_7.md b/de-DE/step_7.md index c5c6991d..bf7b299e 100644 --- a/de-DE/step_7.md +++ b/de-DE/step_7.md @@ -18,32 +18,32 @@ Lass' uns Schleifen kombinieren, um einen strahlenden Stern zu machen. --- hint --- Hier sind die Codeblöcke die du brauchst: ```blocks3 -wiederhole (10) mal -ende +repeat (10) +end -Wenn die grüne Flagge angeklickt +when flag clicked -wiederhole (10) mal -ende +repeat (10) +end -ändere Größe um (10) +change size by (10) -ändere Größe um (10) +change size by (10) -wiederhole fortlaufend +forever ``` --- /hint --- --- hint --- Hier ist der Code, um deinen Stern wachsen und schrumpfen zu lassen: ![Stern Figur](images/sprite-star.png) ```blocks3 -Wenn die grüne Flagge angeklickt -wiederhole fortlaufend - wiederhole (20) mal - ändere Größe um (2) - ende - wiederhole (20) mal - ändere Größe um (-2) - ende +when flag clicked +forever + repeat (20) + change size by (2) + end + repeat (20) + change size by (-2) + end ``` diff --git a/el-GR/step_2.md b/el-GR/step_2.md index 0a77c9b9..5c26ed15 100644 --- a/el-GR/step_2.md +++ b/el-GR/step_2.md @@ -45,12 +45,12 @@ ![Αντικείμενο διαστημόπλοιου](images/sprite-spaceship.png) ```blocks3 -Όταν στην πράσινη σημαία γίνει κλικ -δείξε προς κατεύθυνση (0) -πήγαινε σε θέση x: (-150) y: (-150) -πες [Πάμε] για (2) δευτερόλεπτα -δείξε προς (Earth v) -ολίσθησε για (1) δευτ. στη θέση x: (0) y: (0) +when flag clicked +point in direction (0) +go to x:(-150) y:(-150) +say [Πάμε] for (2) seconds +point towards (Earth v) +glide (1) secs to x:(0) y:(0) ``` Άλλαξε τους αριθμούς στα μπλοκ κώδικα που έχεις προσθέσει, έτσι ώστε ο κώδικας να είναι ακριβώς ίδιος όπως παραπάνω. diff --git a/el-GR/step_3.md b/el-GR/step_3.md index c7c2a5f0..14921798 100644 --- a/el-GR/step_3.md +++ b/el-GR/step_3.md @@ -10,7 +10,7 @@ ![Αντικείμενο διαστημόπλοιου](images/sprite-spaceship.png) ```blocks3 -ολίσθησε για (1) δευτ. στη θέση x: (0) y: (0) +glide (1) secs to x:(0) y:(0) ``` [[[generic-scratch3-coordinates]]] \ No newline at end of file diff --git a/el-GR/step_4.md b/el-GR/step_4.md index 03237d34..ec3eda9c 100644 --- a/el-GR/step_4.md +++ b/el-GR/step_4.md @@ -7,12 +7,12 @@ ![Αντικείμενο διαστημόπλοιου](images/sprite-spaceship.png) ```blocks3 -Όταν στην πράσινη σημαία γίνει κλικ -δείξε προς κατεύθυνση (0) -πήγαινε σε θέση x: (-150) y: (-150) -πες [Πάμε] για (2) δευτερόλεπτα -δείξε προς (Earth v) -- ολίσθησε για (1) δευτ. στη θέση x: (0) y: (0) +when flag clicked +point in direction (0) +go to x:(-150) y:(-150) +say [Πάμε] for (2) seconds +point towards (Earth v) +- glide (1) secs to x:(0) y:(0) ``` --- /task --- @@ -24,14 +24,13 @@ ![Αντικείμενο διαστημόπλοιου](images/sprite-spaceship.png) ```blocks3 -Όταν στην πράσινη σημαία γίνει κλικ -δείξε προς κατεύθυνση (0) -πήγαινε σε θέση x: (-150) y: (-150) -πες [Πάμε] για (2) δευτερόλεπτα -δείξε προς (Earth v) -+ επανέλαβε (200) -+ κινήσου (2) βήματα -+ end +when flag clicked +point in direction (0) +go to x:(-150) y:(-150) +say [Πάμε] for (2) seconds +point towards (Earth v) ++ repeat (200) + move (2) steps ``` Δοκίμασε και αποθήκευσε τον κώδικά σου. Το διαστημόπλοιο θα πρέπει να κινείται προς τη Γη ακριβώς όπως και πριν, αλλά χρησιμοποιώντας αυτή τη φορά ένα μπλοκ `επανάληψης`{:class="block3control"}. @@ -45,15 +44,14 @@ ![Αντικείμενο διαστημόπλοιου](images/sprite-spaceship.png) ```blocks3 -Όταν στην πράσινη σημαία γίνει κλικ -δείξε προς κατεύθυνση (0) -πήγαινε σε θέση x: (-150) y: (-150) -πες [Πάμε] για (2) δευτερόλεπτα -δείξε προς (Earth v) -επανάλαβε (200) - κινήσου (2) βήματα -+ άλλαξε εφέ [color v] κατά (25) -end +when flag clicked +point in direction (0) +go to x:(-150) y:(-150) +say [Πάμε] for (2) seconds +point towards (Earth v) +repeat (200) + move (2) steps ++ change [color v] effect by (25) ``` Δοκίμασε και αποθήκευσε τον κώδικά σου. @@ -80,9 +78,9 @@ end ![Αντικείμενο διαστημόπλοιου](images/sprite-spaceship.png) ```blocks3 -άλλαξε μέγεθος κατά (10) +change size by (10) -όρισε μέγεθος σε (100) % +set size to (100) % ``` --- /hint --- @@ -94,17 +92,16 @@ end ![Αντικείμενο διαστημόπλοιου](images/sprite-spaceship.png) ```blocks3 -Όταν στην πράσινη σημαία γίνει κλικ -όρισε μέγεθος σε (100) % -δείξε προς κατεύθυνση (0) -πήγαινε σε θέση x: (-150) y: (-150) -πες [Πάμε] για (2) δευτερόλεπτα -δείξε προς (Earth v) -επανάλαβε (200) - κινήσου (2) βήματα - άλλαξε εφέ [color v] κατά (25) -+ άλλαξε μέγεθος κατά (-3) -end +when flag clicked ++ set size to (100) % +point in direction (0) +go to x:(-150) y:(-150) +say [Πάμε] for (2) seconds +point towards (Earth v) +repeat (200) + move (2) steps + change [color v] effect by (25) ++ change size by (-0.3) ``` --- /hint --- diff --git a/el-GR/step_5.md b/el-GR/step_5.md index c4353708..552004a7 100644 --- a/el-GR/step_5.md +++ b/el-GR/step_5.md @@ -34,12 +34,12 @@ Εδώ είναι τα μπλοκ κώδικα που χρειάζεσαι: ```blocks3 -για πάντα +forever end -στρίψε δεξιόστροφα (15) μοίρες +turn cw (15) degrees -Όταν στην πράσινη σημαία γίνει κλικ +when flag clicked ``` --- /hint --- --- hint --- @@ -49,10 +49,9 @@ end ![Αντικείμενο μαϊμού](images/sprite-monkey.png) ```blocks3 -Όταν στην πράσινη σημαία γίνει κλικ -για πάντα - στρίψε δεξιόστροφα (1) μοίρες -end +when flag clicked +forever + turn cw (1) degrees ``` --- /hint --- --- /hints --- diff --git a/el-GR/step_6.md b/el-GR/step_6.md index d2b83beb..1a491378 100644 --- a/el-GR/step_6.md +++ b/el-GR/step_6.md @@ -18,22 +18,21 @@ --- hint --- Εδώ είναι τα μπλοκ κώδικα που θα χρειαστείς: ```blocks3 -κινήσου (10) βήματα +move (10) steps -εάν σε όριο, αναπήδησε +if on edge bounce -Όταν στην πράσινη σημαία γίνει κλικ +when flag clicked -για πάντα -end +forever ``` Τώρα θα προσθέσεις έναν διαστημικό βράχο που επιπλέει στο κινούμενο σχέδιο: ```blocks3 -στρίψε δεξιόστροφα (15) μοίρες +turn cw (15) degrees -δείξε προς (Earth v) +point towards (Earth v) ``` --- /hint --- --- hint --- @@ -43,12 +42,11 @@ end ![Αντικείμενο βράχου](images/sprite-rock.png) ```blocks3 -Όταν στην πράσινη σημαία γίνει κλικ -δείξε προς (Earth v) -για πάντα - κινήσου (2) βήματα - εάν σε όριο, αναπήδησε -end +when flag clicked +point towards (Earth v) +forever + move (2) steps + if on edge, bounce ``` --- /hint --- --- /hints --- --- /task --- \ No newline at end of file diff --git a/el-GR/step_7.md b/el-GR/step_7.md index 1ea188e1..441dce6a 100644 --- a/el-GR/step_7.md +++ b/el-GR/step_7.md @@ -18,34 +18,32 @@ --- hint --- Εδώ είναι τα μπλοκ κώδικα που θα χρειαστείς: ```blocks3 -επανάλαβε (10) +repeat (10) end -Όταν στην πράσινη σημαία γίνει κλικ +when flag clicked -επανάλαβε (10) +repeat (10) end -άλλαξε μέγεθος κατά (10) +change size by (10) -άλλαξε μέγεθος κατά (10) +change size by (10) -για πάντα -end +forever ``` --- /hint --- --- hint --- Εδώ είναι ο κώδικας για να κάνεις το αστέρι να μεγαλώνει και να μικραίνει: ![Αντικείμενο αστέρι](images/sprite-star.png) ```blocks3 -Όταν στην πράσινη σημαία γίνει κλικ -για πάντα - επανάλαβε (20) - άλλαξε μέγεθος κατά (2) - end - επανάλαβε (20) - άλλαξε μέγεθος κατά (-2) - end -end +when flag clicked +forever + repeat (20) + change size by (2) + end + repeat (20) + change size by (-2) + end ``` diff --git a/fr-FR/step_2.md b/fr-FR/step_2.md index d098d17a..aa83734f 100644 --- a/fr-FR/step_2.md +++ b/fr-FR/step_2.md @@ -45,12 +45,12 @@ Si tu dois télécharger et installer l'éditeur hors ligne Scratch, tu peux le ![Sprite de vaisseau spatial](images/sprite-spaceship.png) ```blocks3 -quand le drapeau vert pressé -s'orienter en direction de (0) -aller à x: (-150) y: (-150) -dire [c'est parti !] pendant (2) secondes -s'orienter vers (Earth v) -glisser en (1) secondes à x: (0) y: (0) +when flag clicked +point in direction (0) +go to x:(-150) y:(-150) +say [c'est parti !] for (2) seconds +point towards (Terre v) +glide (1) secs to x:(0) y:(0) ``` Change les nombres dans les blocs de code pour que le code soit exactement le même que dans l'image ci-dessus. diff --git a/fr-FR/step_3.md b/fr-FR/step_3.md index 94887f79..c67a121a 100644 --- a/fr-FR/step_3.md +++ b/fr-FR/step_3.md @@ -10,7 +10,7 @@ Tu dois changer les nombres dans ce bloc: ![Sprite de Fusée](images/sprite-spaceship.png) ```blocks3 -glisser en (1) secondes à x: (0) y: (0) +glide (1) secs to x:(0) y:(0) ``` [[[generic-scratch3-coordinates]]] \ No newline at end of file diff --git a/fr-FR/step_4.md b/fr-FR/step_4.md index 928a0333..7c8dc32e 100644 --- a/fr-FR/step_4.md +++ b/fr-FR/step_4.md @@ -7,12 +7,12 @@ Une autre façon d'animer le vaisseau spatial est de lui dire d'avancer un petit ![Sprite de vaisseau spatial](images/sprite-spaceship.png) ```blocks3 -quand le drapeau vert pressé -s'orienter en direction de (0) -aller à x: (-150) y: (-150) -dire [c'est parti !] pendant (2) secondes -s'orienter vers (Terre v) -- glisser en (1) secondes à x: (0) y: (0) +when flag clicked +point in direction (0) +go to x:(-150) y:(-150) +say [c'est parti !] for (2) seconds +point towards (Terre v) +- glide (1) secs to x:(0) y:(0) ``` --- /task --- @@ -24,14 +24,13 @@ s'orienter vers (Terre v) ![Sprite de vaisseau spatial](images/sprite-spaceship.png) ```blocks3 -quand le drapeau vert pressé -s'orienter en direction de (0) -aller à x: (-150) y: (-150) -dire [c'est parti!] pendant (2) secondes -s'orienter vers (Terre v) -+ répéter (200) fois - avancer de (2) pas -end +when flag clicked +point in direction (0) +go to x:(-150) y:(-150) +say [c'est parti !] for (2) seconds +point towards (Terre v) ++ repeat (200) + move (2) steps ``` Teste et enregistre ton code. Ton vaisseau spatial devrait se déplacer exactement comme avant vers la Terre, mais cette fois-ci il utilise un bloc `répéter`{:class="block3control"}. @@ -45,15 +44,14 @@ Utilise ce bloc: ![Sprite de vaisseau spatial](images/sprite-spaceship.png) ```blocks3 -quand le drapeau vert pressé -s'orienter en direction de (0) -aller à x: (-150) y: (-150) -dire [c'est parti!] pendant (2) secondes -s'orienter vers (Terre v) -répéter (200) fois - avancer de (2) pas -+ ajouter (25) à l'effet [couleur v] -end +when flag clicked +point in direction (0) +go to x:(-150) y:(-150) +say [c'est parti !] for (2) seconds +point towards (Terre v) +repeat (200) + move (2) steps ++ change [couleur v] effect by (25) ``` Teste et enregistre ton code. @@ -80,9 +78,9 @@ Tu devras ajouter ces blocs à ton code: ![Sprite de vaisseau spatial](images/sprite-spaceship.png) ```blocks3 -ajouter (10) à la taille +change size by (10) -mettre la taille à (100) % de la taille initiale +set size to (100) % ``` --- /hint --- @@ -94,17 +92,16 @@ Ton code devrait ressembler à ceci: ![Sprite de vaisseau spatial](images/sprite-spaceship.png) ```blocks3 -quand le drapeau vert pressé -mettre la taille à (100) % de la taille initiale -s'orienter en direction de (0) -aller à x: (-150) y: (-150) -dire [c'est parti!] pendant (2) secondes -s'orienter vers (Terre v) -répéter (200) fois - avancer de (2) pas - ajouter (25) à l'effet [couleur v] -+ ajouter (-3) à la taille -end +when flag clicked ++ set size to (100) % +point in direction (0) +go to x:(-150) y:(-150) +say [c'est parti!] for (2) seconds +point towards (Terre v) +repeat (200) + move (2) steps + change [couleur v] effect by (25) ++ change size by (-0.3) ``` --- /hint --- diff --git a/fr-FR/step_5.md b/fr-FR/step_5.md index e93e4799..ef5ed6a8 100644 --- a/fr-FR/step_5.md +++ b/fr-FR/step_5.md @@ -32,12 +32,12 @@ Lorsque le drapeau vert **est cliqué** , ton sprite singe devrait **tourner** d Voici les blocs dont tu as besoin: ```blocks3 -répéter indéfiniment +forever end -tourner droite de (15) degrés +turn cw (15) degrees -quand le drapeau vert pressé +when flag clicked ``` --- /hint --- --- hint --- @@ -47,10 +47,9 @@ Voici le code pour faire tourner ton singe: ![Sprite singe](images/sprite-monkey.png) ```blocks3 -quand le drapeau vert pressé -répéter indéfiniment - tourner droite de (1) degrés -end +when flag clicked +forever + turn cw (1) degrees ``` --- /hint --- --- /hints --- diff --git a/fr-FR/step_6.md b/fr-FR/step_6.md index d48199fe..03b3dad0 100644 --- a/fr-FR/step_6.md +++ b/fr-FR/step_6.md @@ -18,21 +18,21 @@ Maintenant tu vas ajouter une météore flottante à ton animation. --- hint --- Voici les blocs de code dont tu auras besoin: ```blocks3 -avancer de (10) pas +move (10) steps -rebondir si le bord est atteint +if on edge bounce -quand le drapeau vert pressé +when flag clicked -répéter indéfiniment +forever ``` Tu peux également définir une direction de départ plus intéressante pour le sprite météore avec l'un de ces blocs: ```blocks3 -tourner droite de (15) degrés +turn cw (15) degrees -s'orienter vers (Terre v) +point towards (Terre v) ``` --- /hint --- --- hint --- @@ -42,11 +42,11 @@ Voici le code pour faire rebondir ta météore sur la scène: ![Sprite Météore](images/sprite-rock.png) ```blocks3 -quand le drapeau vert pressé -s'orienter vers (Terre v) -répéter indéfiniment -avancer de (2) pas -rebondir si le bord est atteint +when flag clicked +point towards (Terre v) +forever + move (2) steps + if on edge, bounce ``` --- /hint --- --- /hints --- --- /task --- \ No newline at end of file diff --git a/fr-FR/step_7.md b/fr-FR/step_7.md index c757febe..837c94be 100644 --- a/fr-FR/step_7.md +++ b/fr-FR/step_7.md @@ -18,33 +18,32 @@ Maintenant, tu vas combiner les boucles pour faire une étoile brillante. --- hint --- Voici les blocs de code dont tu auras besoin: ```blocks3 -répéter (10) fois +repeat (10) end -quand le drapeau vert pressé +when flag clicked -répéter (10) fois +repeat (10) end -ajouter (10) à la taille +change size by (10) -ajouter (10) à la taille +change size by (10) -répéter indéfiniment +forever ``` --- /hint --- --- hint --- Voici le code pour faire grossir et réduire ton étoile: ![Sprite Étoile](images/sprite-star.png) ```blocks3 -quand le drapeau vert pressé -répéter indéfiniment - répéter (20) fois - ajouter (2) à la taille +when flag clicked +forever + repeat (20) + change size by (2) end - répéter (20) fois - ajouter (-2) à la taille + repeat (20) + change size by (-2) end -end ``` --- /hint --- --- /hints --- --- /task --- \ No newline at end of file diff --git a/it-IT/step_4.md b/it-IT/step_4.md index ecb7e2e9..9b91bb0e 100644 --- a/it-IT/step_4.md +++ b/it-IT/step_4.md @@ -118,6 +118,6 @@ repeat (200) --- /task --- -Prova e salva il tuo codice. La tua astronave ora dovrebbe ridursi man mano che si muove. Metti alla prova la tua astronave una ** seconda volta **. È della taglia giusta quando inizia? +Prova e salva il tuo codice. La tua astronave ora dovrebbe ridursi man mano che si muove. Metti alla prova la tua astronave una **seconda volta**. È della taglia giusta quando inizia? ![Testare un'astronave che si rimpicciolisce](images/space-size-test.png) \ No newline at end of file diff --git a/ja-JP/step_2.md b/ja-JP/step_2.md index 1ebe1859..233a9699 100644 --- a/ja-JP/step_2.md +++ b/ja-JP/step_2.md @@ -55,12 +55,12 @@ Scratchオフラインエディタをダウンロードしてインストール ![宇宙船のスプライト](images/sprite-spaceship.png) ```blocks3 -⚑ が押されたとき -(0) 度に向ける -x座標を (-150) 、y座標を (-150) にする -[レッツゴー!] と (2) 秒言う -(地球 v) へ向ける -(1) 秒でx座標を (0) に、y座標を (0) に変える +when flag clicked +point in direction (0) +go to x:(-150) y:(-150) +say [レッツゴー!] for (2) seconds +point towards (地球 v) +glide (1) secs to x:(0) y:(0) ``` 追加したコードブロックの数字を変更して、コードが上記とまったく同じになるようにします。 diff --git a/ja-JP/step_3.md b/ja-JP/step_3.md index c242aaa0..7e6df41c 100644 --- a/ja-JP/step_3.md +++ b/ja-JP/step_3.md @@ -10,7 +10,7 @@ ![宇宙船のスプライト](images/sprite-spaceship.png) ```blocks3 -(1) 秒でx座標を (0) に、y座標を (0) に変える +glide (1) secs to x:(0) y:(0) ``` [[[generic-scratch3-coordinates]]] \ No newline at end of file diff --git a/ja-JP/step_4.md b/ja-JP/step_4.md index fd7d59d2..15234b2d 100644 --- a/ja-JP/step_4.md +++ b/ja-JP/step_4.md @@ -9,12 +9,12 @@ ![宇宙船のスプライト](images/sprite-spaceship.png) ```blocks3 -⚑ が押されたとき -(0) 度に向ける -x座標を (-150) 、y座標を (-150) にする -[レッツゴー] と (2) 秒言う -(地球 v) へ向ける -- (1) 秒でx座標を (0) に、y座標を (0) に変える +when flag clicked +point in direction (0) +go to x:(-150) y:(-150) +say [レッツゴー] for (2) seconds +point towards (地球 v) +- glide (1) secs to x:(0) y:(0) ``` --- /task --- @@ -28,13 +28,13 @@ x座標を (-150) 、y座標を (-150) にする ![宇宙船のスプライト](images/sprite-spaceship.png) ```blocks3 -⚑ が押されたとき -(0) 度に向ける -x座標を (-150) 、y座標を (-150) にする -[レッツゴー] と (2) 秒言う -(地球 v) へ向ける -+ (200) 回繰り返す - (2) 歩動かす +when flag clicked +point in direction (0) +go to x:(-150) y:(-150) +say [レッツゴー] for (2) seconds +point towards (地球 v) ++ repeat (200) + move (2) steps ``` コードをテストして保存します。宇宙船は以前とまったく同じように地球に向かって移動するはずですが、今回は`繰り返す`{:class="block3control"}ブロックを使用します。 @@ -50,15 +50,14 @@ x座標を (-150) 、y座標を (-150) にする ![宇宙船のスプライト](images/sprite-spaceship.png) ```blocks3 -⚑ が押されたとき -(0) 度に向ける -x座標を (-150) 、y座標を (-150) にする -[レッツゴー] と (2) 秒言う -(地球 v) へ向ける -(200) 回繰り返す - (2) 歩動かす - -+ [色 v] の効果を (25) ずつ変える +when flag clicked +point in direction (0) +go to x:(-150) y:(-150) +say [レッツゴー] for (2) seconds +point towards (地球 v) +repeat (200) + move (2) steps ++ change [色 v] effect by (25) ``` コードをテストして保存します。 @@ -87,9 +86,9 @@ x座標を (-150) 、y座標を (-150) にする ![宇宙船のスプライト](images/sprite-spaceship.png) ```blocks3 -大きさを (10) ずつ変える +change size by (10) -大きさを (100) %にする +set size to (100) % ``` --- /hint --- @@ -101,17 +100,16 @@ x座標を (-150) 、y座標を (-150) にする ![宇宙船のスプライト](images/sprite-spaceship.png) ```blocks3 -⚑ が押されたとき -大きさを (100) %にする -(0) 度に向ける -x座標を (-150) 、y座標を (-150) にする -[レッツゴー] と (2) 秒言う -(地球 v) へ向ける -(200) 回繰り返す - (2) 歩動かす - [色 v] の効果を (25) ずつ変える - -+ 大きさを (-3) ずつ変える +when flag clicked ++ set size to (100) % +point in direction (0) +go to x:(-150) y:(-150) +say [レッツゴー] for (2) seconds +point towards (地球 v) +repeat (200) + move (2) steps + change [色 v] effect by (25) ++ change size by (-0.3) ``` --- /hint --- diff --git a/ja-JP/step_5.md b/ja-JP/step_5.md index 48f8fd33..9e85cd13 100644 --- a/ja-JP/step_5.md +++ b/ja-JP/step_5.md @@ -42,12 +42,12 @@ 必要なコードブロックは次のとおりです。 ```blocks3 -ずっと +forever end -↻ (15) 度回す +turn cw (15) degrees -⚑ が押されたとき +when flag clicked ``` --- /hint --- --- hint --- @@ -57,10 +57,9 @@ end ![サルのスプライト](images/sprite-monkey.png) ```blocks3 -⚑ が押されたとき -ずっと - ↻ (1) 度回す -end +when flag clicked +forever + turn cw (1) degrees ``` --- /hint ------ /hints --- diff --git a/ja-JP/step_6.md b/ja-JP/step_6.md index bb93611c..f0e51ab2 100644 --- a/ja-JP/step_6.md +++ b/ja-JP/step_6.md @@ -26,22 +26,21 @@ 必要なコードブロックは次のとおりです。 ```blocks3 -(10) 歩動かす +move (10) steps -もし端に着いたら、跳ね返る +if on edge bounce -⚑ が押されたとき +when flag clicked -ずっと -end +forever ``` いずれかのブロックを使用して、岩のスプライトにもっと面白い開始方向を設定することもできます。 ```blocks3 -↻ (15) 度回す +turn cw (15) degrees -(地球 v) へ向ける +point towards (地球 v) ``` --- /hint --- --- hint --- @@ -51,12 +50,11 @@ end ![岩のスプライト](images/sprite-rock.png) ```blocks3 -⚑ が押されたとき -(地球 v) へ向ける -ずっと - (2) 歩動かす - もし端に着いたら、跳ね返る -end +when flag clicked +point towards (地球 v) +forever + move (2) steps + if on edge, bounce ``` --- /hint ------ /hints --- --- /task --- \ No newline at end of file diff --git a/ja-JP/step_7.md b/ja-JP/step_7.md index 0e7d4690..32256b81 100644 --- a/ja-JP/step_7.md +++ b/ja-JP/step_7.md @@ -26,20 +26,19 @@ 必要なコードブロックは次のとおりです。 ```blocks3 -(10) 回繰り返す +repeat (10) end -⚑ が押されたとき +when flag clicked -(10) 回繰り返す +repeat (10) end -大きさを (10) ずつ変える +change size by (10) -大きさを (10) ずつ変える +change size by (10) -ずっと -end +forever ``` --- /hint --- --- hint --- @@ -49,15 +48,14 @@ end ![星のスプライト](images/sprite-star.png) ```blocks3 -⚑ が押されたとき -ずっと - (20) 回繰り返す - 大きさを (2) ずつ変える - end - (20) 回繰り返す - 大きさを (-2) ずつ変える - end -end +when flag clicked +forever + repeat (20) + change size by (2) + end + repeat (20) + change size by (-2) + end ``` diff --git a/nl-NL/step_2.md b/nl-NL/step_2.md index cfe85fda..c601a12a 100644 --- a/nl-NL/step_2.md +++ b/nl-NL/step_2.md @@ -45,12 +45,12 @@ Als je de Scratch offline editor wilt downloaden en installeren dan kun je die v ![Ruimteschip sprite](images/sprite-spaceship.png) ```blocks3 -wanneer groene vlag wordt aangeklikt -richt naar (0) graden -ga naar x: (-150) y: (-150) -zeg [We gaan!] (2) sec. -richt naar (Earth v) -schuif in (1) sec. naar x: (0) y: (0) +when flag clicked +point in direction (0) +go to x:(-150) y:(-150) +say [We gaan!] for (2) seconds +point towards (Earth v) +glide (1) secs to x:(0) y:(0) ``` Wijzig de getallen in de codeblokken die je hebt toevoegd zodat de code precies hetzelfde is als hierboven. diff --git a/nl-NL/step_3.md b/nl-NL/step_3.md index 82a726e3..aa739831 100644 --- a/nl-NL/step_3.md +++ b/nl-NL/step_3.md @@ -10,7 +10,7 @@ Je moet de getallen in dit blok wijzigen: ![Rocketship sprite](images/sprite-spaceship.png) ```blocks3 -schuif in (1) sec. naar x: (0) y: (0) +glide (1) secs to x:(0) y:(0) ``` [[[generic-scratch3-coordinates]]] \ No newline at end of file diff --git a/nl-NL/step_4.md b/nl-NL/step_4.md index a3daa4c9..07a92f76 100644 --- a/nl-NL/step_4.md +++ b/nl-NL/step_4.md @@ -7,13 +7,12 @@ Een andere manier om het ruimteschip te laten bewegen is het te vertellen dat he ![Ruimteschip sprite](images/sprite-spaceship.png) ```blocks3 -wanneer groene vlag wordt aangeklikt -richt naar (0) graden -ga naar x: (-150) y: (-150) -zeg [We gaan!] (2) sec. -richt naar (Earth v) - -- schuif in (1) sec. naar x: (0) y: (0) +when flag clicked +point in direction (0) +go to x:(-150) y:(-150) +say [We gaan!] for (2) seconds +point towards (Earth v) +- glide (1) secs to x:(0) y:(0) ``` --- /task --- @@ -25,14 +24,13 @@ richt naar (Earth v) ![Ruimteschip sprite](images/sprite-spaceship.png) ```blocks3 -wanneer groene vlag wordt aangeklikt -richt naar (0) graden -ga naar x: (-150) y: (-150) -zeg [We gaan!] (2) sec. -richt naar (Aarde v) - -+ herhaal (200) - neem (2) stappen +when flag clicked +point in direction (0) +go to x:(-150) y:(-150) +say [We gaan!] for (2) seconds +point towards (Earth v) ++ repeat (200) + move (2) steps ``` Test en bewaar je code. Je ruimteschip zou nog steeds naar de aarde moeten bewegen, maar nu met een `herhaal`{:class="block3control"}-blok. @@ -46,14 +44,14 @@ Gebruik dit blok: ![Ruimteschip sprite](images/sprite-spaceship.png) ```blocks3 -wanneer groene vlag wordt aangeklikt -richt naar (0) graden -ga naar x: (-150) y: (-150) -zeg [We gaan!] (2) sec. -richt naar (Aarde v) -herhaal (200) - neem (2) stappen -+ verander [kleur v] -effect met (25) +when flag clicked +point in direction (0) +go to x:(-150) y:(-150) +say [We gaan!] for (2) seconds +point towards (Earth v) +repeat (200) + move (2) steps ++ change [kleur v] effect by (25) ``` Test en sla je code op. @@ -80,9 +78,9 @@ Je moet deze blokken toevoegen aan je code: ![Ruimteschip sprite](images/sprite-spaceship.png) ```blocks3 -verander grootte met (10) +change size by (10) -maak grootte (100) % +set size to (100) % ``` --- /hint --- @@ -94,16 +92,16 @@ Je code zou er als volgt uit moeten zien: ![Ruimteschip sprite](images/sprite-spaceship.png) ```blocks3 -wanneer groene vlag wordt aangeklikt -maak grootte (100) % -richt naar (0) graden -ga naar x: (-150) y: (-150) -zeg [We gaan!] (2) sec. -richt naar (Aarde v) -herhaal (200) - neem (2) stappen - verander [kleur v] -effect met (25) -+ verander grootte met (-3) +when flag clicked ++ set size to (100) % +point in direction (0) +go to x:(-150) y:(-150) +say [We gaan!] for (2) seconds +point towards (Earth v) +repeat (200) + move (2) steps + change [kleur v] effect by (25) ++ change size by (-0.3) ``` --- /hint --- diff --git a/nl-NL/step_5.md b/nl-NL/step_5.md index f1c0fcd4..de052917 100644 --- a/nl-NL/step_5.md +++ b/nl-NL/step_5.md @@ -32,12 +32,12 @@ Wanneer de **groene vlag wordt aangeklikt** zou je aap-sprite **herhaal**delijk Dit zijn de codeblokken die je nodig hebt: ```blocks3 -herhaal +forever end -draai naar rechts (15) graden +turn cw (15) degrees -wanneer op groene vlag wordt geklikt +when flag clicked ``` --- /hint --- --- hint --- @@ -47,9 +47,9 @@ Dit is de code om je aap te laten ronddraaien: ![Aap-sprite](images/sprite-monkey.png) ```blocks3 -wanneer groene vlag wordt aangeklikt -herhaal -draai (1) graden naar rechts +when flag clicked +forever + turn cw (1) degrees ``` --- /hint --- --- /hints --- diff --git a/nl-NL/step_6.md b/nl-NL/step_6.md index b517df13..b08af4e8 100644 --- a/nl-NL/step_6.md +++ b/nl-NL/step_6.md @@ -18,21 +18,21 @@ Nu zal je een zwevende ruimtesteen toevoegen aan je animatie. --- hint --- Dit zijn de codeblokken die je nodig hebt: ```blocks3 -neem (10) stappen +move (10) steps -keer om aan de rand +if on edge bounce -wanneer groene vlag wordt aangeklikt +when flag clicked -herhaal +forever ``` Je kunt ook een interessantere startrichting instellen voor de steen-sprite met één van deze blokken: ```blocks3 -draai (15) graden naar rechts +turn cw (15) degrees -richt naar (Earth v) +point towards (Earth v) ``` --- /hint --- --- hint --- @@ -42,11 +42,11 @@ Met deze code kan je je steen het speelveld rond laten stuiteren: ![Steen-sprite](images/sprite-rock.png) ```blocks3 -wanneer groene vlag wordt aangeklikt -richt naar (Earth v) -herhaal -neem (2) stappen -keer om aan de rand +when flag clicked +point towards (Earth v) +forever + move (2) steps + if on edge, bounce ``` --- /hint --- --- /hints --- --- /task --- \ No newline at end of file diff --git a/nl-NL/step_7.md b/nl-NL/step_7.md index 559ed843..ae94a46b 100644 --- a/nl-NL/step_7.md +++ b/nl-NL/step_7.md @@ -18,32 +18,32 @@ Nu ga je verschillende lussen combineren om een fonkelende ster te maken. --- hint --- Dit zijn de codeblokken die je nodig hebt: ```blocks3 -herhaal (10) +repeat (10) end -wanneer groene vlag wordt aangeklikt +when flag clicked -herhaal (10) +repeat (10) end -verander grootte met (10) +change size by (10) -verander grootte met (10) +change size by (10) -herhaal +forever ``` --- /hint --- --- hint --- Dit is de code die je nodig hebt om je ster groter en kleiner te maken: ![Ster-sprite](images/sprite-star.png) ```blocks3 -wanneer groene vlag wordt aangeklikt -herhaal -herhaal (20) -verander grootte met (2) -end -herhaal (20) -verander grootte met (-2) -end +when flag clicked +forever + repeat (20) + change size by (2) + end + repeat (20) + change size by (-2) + end ``` diff --git a/pl-PL/step_2.md b/pl-PL/step_2.md index bb29d7a7..f1927a22 100644 --- a/pl-PL/step_2.md +++ b/pl-PL/step_2.md @@ -45,12 +45,12 @@ Jeśli musisz pobrać i zainstalować edytor Scratcha, znajdziesz go na stronie ![Duszek Statku kosmicznego](images/sprite-spaceship.png) ```blocks3 -kiedy kliknięto zieloną flagę -ustaw kierunek na (0) -Idź do x: (-150) y: (-150) -powiedz [Chodźmy] przez (2) sekund -ustaw w kierunku duszka (Ziemia v) -leć przez (1) sekund do x: (0) y: (0) +when flag clicked +point in direction (0) +go to x:(-150) y:(-150) +say [Chodźmy] for (2) seconds +point towards (Ziemia v) +glide (1) secs to x:(0) y:(0) ``` Zmień liczby w dodanych blokach kodu, aby kod był dokładnie taki sam jak powyżej. diff --git a/pl-PL/step_3.md b/pl-PL/step_3.md index e98ffda7..bc62d846 100644 --- a/pl-PL/step_3.md +++ b/pl-PL/step_3.md @@ -10,7 +10,7 @@ Będziesz musiał zmienić liczby w tym bloku: ![Duszek Rakiety](images/sprite-spaceship.png) ```blocks3 -leć przez (1) sekund do x:(0) y:(0) +glide (1) secs to x:(0) y:(0) ``` [[[generic-scratch3-coordinates]]] \ No newline at end of file diff --git a/pl-PL/step_4.md b/pl-PL/step_4.md index 9a79bef8..592cea0d 100644 --- a/pl-PL/step_4.md +++ b/pl-PL/step_4.md @@ -7,12 +7,12 @@ Innym sposobem na ożywienie statku kosmicznego jest powiedzenie mu, aby przemie ![Duszek Statku kosmicznego](images/sprite-spaceship.png) ```blocks3 -kiedy kliknięto zieloną flagę -ustaw kierunek na (0) -Idź do x: (-150) y: (-150) -powiedz [Chodźmy] przez (2) sekund -ustaw w kierunku duszka (Ziemia v) -- leć przez (1) sekund do x: (0) y: (0) +when flag clicked +point in direction (0) +go to x:(-150) y:(-150) +say [Chodźmy] for (2) seconds +point towards (Ziemia v) +- glide (1) secs to x:(0) y:(0) ``` --- /task --- @@ -24,14 +24,13 @@ ustaw w kierunku duszka (Ziemia v) ![Duszek Statku kosmicznego](images/sprite-spaceship.png) ```blocks3 -kiedy kliknięto zieloną flagę -ustaw kierunek na (0) -Idź do x: (-150) y: (-150) -powiedz [Chodźmy] przez (2) sekund -ustaw w kierunku duszka (Ziemia v) -+ powtarzaj (200) - przesuń o (2) kroków -end +when flag clicked +point in direction (0) +go to x:(-150) y:(-150) +say [Chodźmy] for (2) seconds +point towards (Ziemia v) ++ repeat (200) + move (2) steps ``` Przetestuj i zapisz kod. Twój statek kosmiczny powinien zbliżyć się do Ziemi dokładnie tak jak poprzednio, ale tym razem używa bloku `powtarzaj`{:class="block3control"}. @@ -45,15 +44,14 @@ Użyj tego bloku: ![Duszek Statku kosmicznego](images/sprite-spaceship.png) ```blocks3 -kiedy kliknięto zieloną flagę -ustaw kierunek na (0) -Idź do x: (-150) y: (-150) -powiedz [Chodźmy] przez (2) sekund -ustaw w kierunku duszka (Ziemia v) -powtarzaj (200) - przesuń o (2) kroków -+ zmień efekt [kolor v] o (25) -end +when flag clicked +point in direction (0) +go to x:(-150) y:(-150) +say [Chodźmy] for (2) seconds +point towards (Ziemia v) +repeat (200) + move (2) steps ++ change [kolor v] effect by (25) ``` Przetestuj i zapisz kod. @@ -80,9 +78,9 @@ Musisz dodać te bloki do swojego kodu: ![Duszek Statku kosmicznego](images/sprite-spaceship.png) ```blocks3 -zmień rozmiar o (10) +change size by (10) -ustaw rozmiar na (100) % +set size to (100) % ``` --- /hint --- @@ -94,17 +92,16 @@ Twój kod powinien wyglądać tak: ![Duszek Statku kosmicznego](images/sprite-spaceship.png) ```blocks3 -kiedy kliknięto zieloną flagę -ustaw rozmiar na (100) % -ustaw kierunek na (0) -Idź do x: (-150) y: (-150) -powiedz [Chodźmy] przez (2) sekund -ustaw w kierunku duszka (Ziemia v) -powtarzaj (200) - przesuń o (2) kroków - zmień efekt [kolor v] o (25) -+ zmień rozmiar o (-3) -end +when flag clicked ++ set size to (100) % +point in direction (0) +go to x:(-150) y:(-150) +say [Chodźmy] for (2) seconds +point towards (Ziemia v) +repeat (200) + move (2) steps + change [kolor v] effect by (25) ++ change size by (-0.3) ``` --- /hint --- diff --git a/pl-PL/step_5.md b/pl-PL/step_5.md index 410fb923..37613094 100644 --- a/pl-PL/step_5.md +++ b/pl-PL/step_5.md @@ -32,12 +32,12 @@ Gdy zielona **flaga jest kliknięta**, twój duszek małpy powinien **obracać s Oto potrzebne bloki kodu: ```blocks3 -zawsze +forever end -obróć w prawo o (15) stopni +turn cw (15) degrees -kiedy kliknięto zieloną flagę +when flag clicked ``` --- /hint --- --- hint --- @@ -47,10 +47,9 @@ Oto kod, który sprawi, że twoja małpa się zakręci: ![Duszek małpy](images/sprite-monkey.png) ```blocks3 -kiedy kliknięto zieloną flagę -zawsze - obróć w prawo o (1) stopni -end +when flag clicked +forever + turn cw (1) degrees ``` --- /hint --- --- /hints --- diff --git a/pl-PL/step_6.md b/pl-PL/step_6.md index cedee6b9..b93230eb 100644 --- a/pl-PL/step_6.md +++ b/pl-PL/step_6.md @@ -15,21 +15,21 @@ Teraz dodasz latającą asteroidę do swojej animacji. --- hints --- --- hint --- Po kliknięciu zielonej **flagi**, twój duszek skały powinien **przesuwać** i **odbijać się** wokół sceny **zawsze**. --- /hint --- --- hint --- Oto potrzebne bloki kodu: ```blocks3 -przesuń o (10) kroków +move (10) steps -jeżeli na brzegu, odbij się +if on edge bounce -kiedy kliknięto zieloną flagę +when flag clicked -zawsze +forever ``` Możesz również ustawić bardziej interesujący kierunek początkowy dla sprite'a skalnego za pomocą jednego z tych bloków: ```blocks3 -obróć w prawo o (15) stopni +turn cw (15) degrees -ustaw w kierunku duszka (Ziemia v) +point towards (Ziemia v) ``` --- /hint --- --- hint --- @@ -39,12 +39,11 @@ Oto kod, dzięki któremu Twoja skała odbija się od sceny: ![Duszek skały](images/sprite-rock.png) ```blocks3 -kiedy kliknięto zieloną flagę -ustaw w kierunku duszka (Ziemia v) -zawsze - przesuń o (2) kroków - jeżeli na brzegu, odbij się -end +when flag clicked +point towards (Ziemia v) +forever + move (2) steps + if on edge, bounce ``` --- /hint --- --- /hints --- --- /task --- \ No newline at end of file diff --git a/pl-PL/step_7.md b/pl-PL/step_7.md index 71fb0b8c..54ee794d 100644 --- a/pl-PL/step_7.md +++ b/pl-PL/step_7.md @@ -15,32 +15,32 @@ Teraz wykorzystasz połączenie różnych pętli, żeby stworzyć świecącą gw --- hints --- --- hint --- Gdy zielona **flaga zostanie kliknięta**, twój duszek gwiazdy powinien **zmienić rozmiar** tak, aby powiększyć się kilkukrotnie, a następnie **zmienić rozmiar** tak, aby zmniejszyć się kilka razy. To powinno spowodować, że gwiazda **zawsze** powiększa się, a następnie zmniejsza, co powoduje, że wygląda jakby gwiazda świeciła. --- /hint --- --- hint --- Oto potrzebne bloki kodu: ```blocks3 -powtarzaj (10) -koniec +repeat (10) +end -kiedy kliknięto zieloną flagę +when flag clicked -powtarzaj (10) -koniec +repeat (10) +end -zmień rozmiar o (10) +change size by (10) -zmień rozmiar o (10) +change size by (10) -zawsze +forever ``` --- /hint --- --- hint --- Oto kod, dzięki któremu twoja gwiazda rośnie i zmniejsza się: ![Duszek gwiazdy](images/sprite-star.png) ```blocks3 -kiedy kliknięto zieloną flagę -zawsze - powtarzaj (20) - zmień rozmiar o (2) - koniec - powtarzaj (20) - zmień rozmiar o (-2) - koniec +when flag clicked +forever + repeat (20) + change size by (2) + end + repeat (20) + change size by (-2) + end ``` diff --git a/pt-BR/step_3.md b/pt-BR/step_3.md index 1721d1b8..dd2d3dfe 100644 --- a/pt-BR/step_3.md +++ b/pt-BR/step_3.md @@ -10,7 +10,7 @@ Você precisará alterar os números neste bloco: ![Ator da nave espacial](images/sprite-spaceship.png) ```blocks3 -desliza em (1) s para a posição x: (0) y: (0) +glide (1) secs to x:(0) y:(0) ``` [[[generic-scratch3-coordinates]]] \ No newline at end of file diff --git a/pt-BR/step_4.md b/pt-BR/step_4.md index 7c927f4e..d67a1011 100644 --- a/pt-BR/step_4.md +++ b/pt-BR/step_4.md @@ -10,11 +10,11 @@ Elimine o bloco `planar`{:class="block3motion"} do seu código. Para fazer isso, ```blocks3 when flag clicked -aponte para a direção (0) -vá para x: (-150) y: (-150) -diga [Vamos lá] por (2) segundos -aponte para (Earth v) --deslize por (1) segs. até x: (0) y: (0) +point in direction (0) +go to x:(-150) y:(-150) +say [Vamos lá] for (2) seconds +point towards (Earth v) +- glide (1) secs to x:(0) y:(0) ``` --- /task --- @@ -29,12 +29,12 @@ Agora use uma `repetição`{:class="block3control"} para mover a sua nave espaci ```blocks3 when flag clicked -aponte para a direção (0) -vá para x: (-150) y: (-150) -diga [Vamos lá] por (2) segundos -aponte para (Earth v) -+repita (200) vezes - mova (2) passos +point in direction (0) +go to x:(-150) y:(-150) +say [Vamos lá] for (2) seconds +point towards (Earth v) ++ repeat (200) + move (2) steps ``` Teste e salve o seu código. A sua nave espacial deve mover-se em direção à Terra exatamente como antes, mas desta vez ela utiliza um bloco de `repetição`{:class="block3control"}. @@ -51,13 +51,14 @@ Use este bloco: ```blocks3 when flag clicked -aponte para a direção (0) -vá para x: (-150) y: (-150) -diga [Vamos lá] por (2) segundos -aponte para (Earth v) -repita (200) vezes - mova (2) passos -+ mude (25) no efeito [cor v] +point in direction (0) +go to x:(-150) y:(-150) +say [Vamos lá] for (2) seconds +point towards (Earth v) +point towards (Earth v) +repeat (200) + move (2) steps ++ change [cor v] effect by (25) ``` Teste e salve seu código. @@ -86,7 +87,7 @@ Você precisará adicionar esses blocos ao seu código: ![Ator da nave espacial](images/sprite-spaceship.png) ```blocks3 -mude (10) no tamanho +change size by (10) set size to (100) % ``` @@ -100,16 +101,16 @@ Seu código deve ficar assim: ![Ator da nave espacial](images/sprite-spaceship.png) ```blocks3 -quando ⚑ for clicado -set size to (100) % -aponte para a direção (0) -vá para x: (-150) y: (-150) -diga [Vamos lá] por (2) segundos -aponte para (Earth v) -repita (200) vezes - mova (2) passos - mude (25) no efeito [cor v] -+ mude (-3) no tamanho +when flag clicked ++ set size to (100) % +point in direction (0) +go to x:(-150) y:(-150) +say[Vamos lá] for (2) seconds +point towards (Earth v) +repeat (200) + move (2) steps + change [cor v] effect by (25) ++ change size by (-0.3) ``` --- /hint --- diff --git a/pt-BR/step_5.md b/pt-BR/step_5.md index 94819c1e..d965b0ef 100644 --- a/pt-BR/step_5.md +++ b/pt-BR/step_5.md @@ -42,12 +42,12 @@ Quando a **bandeira verde é clicada**, o seu ator de macaco deve **girar** em c Aqui estão os blocos de código que você precisa: ```blocks3 -sempre +forever end -gire ↻ (15) graus +turn cw (15) degrees -quando ⚑ for clicado +when flag clicked ``` --- /hint --- --- hint --- @@ -57,10 +57,9 @@ Aqui está o código para fazer seu macaco girar: ![Ator de macaco](images/sprite-monkey.png) ```blocks3 -quando ⚑ for clicado -sempre - gire ↻ (1) graus -end +when flag clicked +forever + turn cw (1) degrees ``` --- /hint ------ /hints --- diff --git a/pt-BR/step_6.md b/pt-BR/step_6.md index a50b8729..9b90f9f2 100644 --- a/pt-BR/step_6.md +++ b/pt-BR/step_6.md @@ -26,21 +26,21 @@ Quando a **bandeira verde é clicada**, o asteroide deve se **mover** e **viajar Aqui estão os blocos de código que você precisa: ```blocks3 -mova (10) passos +move (10) steps -se tocar na borda, volte +if on edge bounce -quando ⚑ for clicado +when flag clicked -sempre +forever ``` Você também pode definir uma direção inicial mais interessante para o ator da rocha com um destes blocos: ```blocks3 -gire ↻ (15) graus +turn cw (15) degrees -aponte para (Earth v) +point towards (Earth v) ``` --- /hint --- --- hint --- @@ -50,11 +50,11 @@ Aqui está o código para fazer a sua rocha bater pelo palco: ![Ator de rocha](images/sprite-rock.png) ```blocks3 -quando ⚑ for clicado -aponte para (Earth v) -sempre - mova (2) passos - se tocar na borda, volte +when flag clicked +point towards (Earth v) +forever + move (2) steps + if on edge, bounce ``` --- /hint ------ /hints --- --- /task --- \ No newline at end of file diff --git a/pt-BR/step_7.md b/pt-BR/step_7.md index 4c9a71cc..11ece397 100644 --- a/pt-BR/step_7.md +++ b/pt-BR/step_7.md @@ -26,19 +26,19 @@ Quando a **bandeira verde é clicada**, sua estrela deve **mudar de tamanho** au Aqui estão os blocos de código que você precisa: ```blocks3 -repita (10) vezes +repeat (10) end -quando ⚑ for clicado +when flag clicked -repita (10) vezes +repeat (10) end -mude (10) no tamanho +change size by (10) -mude (10) no tamanho +change size by (10) -sempre +forever ``` --- /hint --- --- hint --- @@ -48,15 +48,14 @@ Aqui está o código para fazer a sua estrela crescer e encolher: ![Ator de estrela](images/sprite-star.png) ```blocks3 -quando ⚑ for clicado -sempre - repita (20) vezes - mude (2) no tamanho - end - repita (20) vezes - mude (-2) no tamanho - end -end +when flag clicked +forever + repeat (20) + change size by (2) + end + repeat (20) + change size by (-2) + end ```