Статья FAQ, которую Вы желаете посетить, еще не переведена на русский язык. Пожалуйста, ознакомьтесь с англоязычной версией статьи. Мы опубликуем перевод статьи в скором времени. Благодарим Вас за понимание

Code blocks in Rabbids Coding

ВОПРОС:

What do the separate code blocks in Rabbids Coding do? 

ОТВЕТ:


To complete a level in Rabbids Coding, you will have to use the code blocks in the right combination to reach the goal.

Some code blocks have options, so called parameters, that you will have to adjust to find the right solution. You can change a parameter by left clicking and then selecting one of the displayed options.

Below you can find what each code block does: 
Action code blocks
 
Rabbids Coding Action Blocks
Action code blocks are red and allow you to perform actions like Drop a sausage or to move in a certain direction.

Some Action code blocks can have parameters e.g. the Turn. Click on it to see in which directions you can have the Rabbid or Robot turn.
Condition code blocks
 
Rabbids Coding Condition Blocks
Condition code blocks  are brown and allow you to execute sub blocks if a condition is true.

If the Robot is Above a Rabbid perform the Catch action. 
If code block
 
Rabbids Coding If Block
If code block are green and are used to check or test if a certain condition is true

You can add any code blocks inside the If code block and as long as the condition you are testing for is true, the code will be executed.

E.g. If the Rabbid can Move Foward, Move Forward.
If / else code block
 
Rabbids Coding If Else Block
Similar to the If code block the If / else code block is green too and checks if a condition is true.

If the condition is not true, also called false, the code inside the else bracket is executed.

E.g. You are testing if the Rabbid can Turn RightIf it can not Turn Left.
Repeat code block
 
Rabbids Coding Repeat Block
Repeat code blocks or "loops" make it possible to repeat
an action or action sequence a defined number of times.
The blocks to be repeated must be placed inside it.

It is possible to put loops inside other loops.

Once your actions have been performed the set number of times, it will continue to run the rest of the code.
Repeat while code block
 
Rabbids Coding Repeat While Block
The Repeat while code block is performing the same actions in a loop as long as a condition is true. 

So you can e.g. have the Rabbid Move forward as long as he can. 

There is also a parameter here that allows you to loop the steps until a condition is true

You can e.g. make the Rabbid Move Backward until he is standing Above An orange tile.

If you have any other questions or need further assistance, do not hesitate to contact us!




 

Для платформ

БЫЛА ЛИ СТАТЬЯ ВАМ ПОЛЕЗНОЙ?

Благодарим Вас за отзыв. Благодарим Вас за отзыв. Нам очень жаль, что предоставленные рекомендации не помогли разрешить возникшее затруднение.
Пожалуйста, создайте обращение и уточните чем мы можем Вам помочь

ДОПОЛНИТЕЛЬНЫЕ СТАТЬИ FAQ

По Вашему запросу статей FAQ не найдено для Вашего региона. Однако, мы нашли похожие статьи в другом регионе.