# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: DATE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: One-char language identifier #: levels-po/exercises/chapter002/level001/scene_langchar.txt:1 #, no-wrap msgid "E" msgstr "" #. type: Title-text #: levels/exercises/chapter002/level001/scene.txt:1 #, no-wrap msgid "Barrage Fire" msgstr "" #. type: Resume-text #: levels/exercises/chapter002/level001/scene.txt:2 #, no-wrap msgid "Set the power of the different motors in order to achieve a barrage fire." msgstr "" #. type: ScriptName-text #: levels/exercises/chapter002/level001/scene.txt:3 #, no-wrap msgid "Move" msgstr "" #. type: \b; header #: levels/exercises/chapter002/level001/help/help.E.txt:1 #, no-wrap msgid "Objective" msgstr "" #. type: Plain text #: levels/exercises/chapter002/level001/help/help.E.txt:3 #, no-wrap msgid "" "As a defense against several giant ants attacking from the north, rotate the " "bot when shooting in order to perform barrage fire." msgstr "" #. type: \t; header #: levels/exercises/chapter002/level001/help/help.E.txt:4 #, no-wrap msgid "Program" msgstr "" #. type: Plain text #: levels/exercises/chapter002/level001/help/help.E.txt:6 #, no-wrap msgid "" "When you are radio-guiding a bot, you can rotate the cannon during the burst " "in order to sweep a whole zone. You can also do this when programming the " "bot, but you have to turn the whole bot with the instruction motor( , ). This instruction asks for two numbers: the " "speed of the left-hand motor, and the speed of the right-hand motor. These " "numbers must range between -1 and +1. motor(1,1); moves the bot " "forward with maximum speed (both motors at full power). " "motor(-1,-1); moves the bot backward with maximum speed. " "motor(1,0.9); moves the bot forward with a slight turn to the right: the " "left-hand motor turns a little faster than the right-hand motor. And " "motor(1,-1); will turn the bot clockwise on the spot: the left-hand " "motor moves forward, the right-hand motor moves backward." msgstr "" #. type: Plain text #: levels/exercises/chapter002/level001/help/help.E.txt:8 #, no-wrap msgid "" "After a motor instruction the motors will keep this speed " "until the next motor, move, " "turn or goto " "instruction. For example, if you perform a rotation on the spot with " "motor(1,-1); and afterward you shoot with fire(1);, the bot " "will continue to turn during the burst, and will sweep a whole zone." msgstr "" #. type: Plain text #: levels/exercises/chapter002/level001/help/help.E.txt:10 #, no-wrap msgid "" "The ants attack from the north. In order to sweep the whole zone north of " "the bot, first turn 90 degrees left with turn(90);, then repeat " "always with while (true) the following " "instructions:\n" msgstr "" #. type: Bullet: 'o' #: levels/exercises/chapter002/level001/help/help.E.txt:10 #, no-wrap msgid "rotate clockwise with motor(1,-1);" msgstr "" #. type: Bullet: 'o' #: levels/exercises/chapter002/level001/help/help.E.txt:11 #, no-wrap msgid "a 2 seconds burst with fire(2);" msgstr "" #. type: Bullet: 'o' #: levels/exercises/chapter002/level001/help/help.E.txt:12 #, no-wrap msgid "rotate counter-clockwise with motor(-1,1);" msgstr "" #. type: Bullet: 'o' #: levels/exercises/chapter002/level001/help/help.E.txt:13 #, no-wrap msgid "a 2 seconds burst." msgstr "" #. type: \t; header #: levels/exercises/chapter002/level001/help/help.E.txt:15 #, no-wrap msgid "See also" msgstr "" #. type: Plain text #: levels/exercises/chapter002/level001/help/help.E.txt:16 #, no-wrap msgid "" "Programming, types and categories." msgstr ""