ceebot-a-e.pdf

(2205 KB) Pobierz
ceebot-e-pdf.PDF
1 Introduction
1.1 Minimal requirements
CeeBot requires an up-to-date and powerful computer. It is particularly important to have
a good 3D graphic adapter for maximum performance.
o 300 MHz CPU, 64 Mb RAM
o 3D graphic card with 16 Mb RAM
o 100 Mb free disk space
o Windows XP, 2000, ME, 98 or 95
o DirectX 8 (If necessary, CeeBot will install DirectX 8)
Recommended graphic cards :
o nVidia GeForce 2, 3 or 4
o Matrox G400, G450, G550 or Parhelia
3dfx Voodoo graphic adapters are not officially supported, but they may work (no
guarantee).
Some graphic chips in notebooks will not provide satisfactory performance.
1.2 To install CeeBot
o Insert the CeeBot-A CD-ROM in the drive
Normally, it should start automatically after some ten seconds or so.
Click Install
If the autorun doesn't start, follow these steps :
o Double-click My computer
o Open the D : drive (where D: is the letter of your CD-ROM drive)
o Double-click Install
The installation process will check if you have DirectX 8a. If this is not the case, you'll be
prompted to install it.
If you have a previous version of CeeBot, a new installation in the same folder will
overwrite all data, saved games or programs.
1.3 To uninstall CeeBot
o Double-click My computer.
o Double-click Control panel .
o Double-click Add or Remove programs .
o Double-click CeeBot-A in the list.
1
79018507.081.png 79018507.092.png 79018507.103.png 79018507.114.png 79018507.001.png 79018507.012.png 79018507.023.png 79018507.034.png 79018507.035.png 79018507.036.png 79018507.037.png 79018507.038.png 79018507.039.png 79018507.040.png 79018507.041.png 79018507.042.png 79018507.043.png 79018507.044.png 79018507.045.png 79018507.046.png 79018507.047.png 79018507.048.png 79018507.049.png 79018507.050.png 79018507.051.png 79018507.052.png 79018507.053.png 79018507.054.png 79018507.055.png 79018507.056.png 79018507.057.png 79018507.058.png 79018507.059.png 79018507.060.png 79018507.061.png 79018507.062.png 79018507.063.png 79018507.064.png 79018507.065.png 79018507.066.png 79018507.067.png 79018507.068.png 79018507.069.png 79018507.070.png 79018507.071.png 79018507.072.png 79018507.073.png 79018507.074.png 79018507.075.png 79018507.076.png 79018507.077.png 79018507.078.png 79018507.079.png 79018507.080.png 79018507.082.png 79018507.083.png 79018507.084.png 79018507.085.png 79018507.086.png 79018507.087.png 79018507.088.png 79018507.089.png 79018507.090.png 79018507.091.png 79018507.093.png 79018507.094.png 79018507.095.png 79018507.096.png 79018507.097.png 79018507.098.png 79018507.099.png 79018507.100.png 79018507.101.png 79018507.102.png 79018507.104.png 79018507.105.png 79018507.106.png 79018507.107.png 79018507.108.png 79018507.109.png 79018507.110.png 79018507.111.png 79018507.112.png 79018507.113.png 79018507.115.png 79018507.116.png 79018507.117.png 79018507.118.png 79018507.119.png 79018507.120.png 79018507.121.png 79018507.122.png 79018507.123.png 79018507.124.png 79018507.002.png 79018507.003.png 79018507.004.png 79018507.005.png 79018507.006.png 79018507.007.png 79018507.008.png 79018507.009.png 79018507.010.png 79018507.011.png 79018507.013.png 79018507.014.png 79018507.015.png 79018507.016.png 79018507.017.png 79018507.018.png 79018507.019.png 79018507.020.png 79018507.021.png 79018507.022.png 79018507.024.png
2 First approach
In this section, we're going to tke a close look at the second exercise. The detailed
explanations will be found in the follwing chapters. This is your very first contact, to help
you get familiar with CeeBot.
The first thing CeeBot needs is the
player's name. It is better if each player
gives a separate name, because CeeBot
saves your programs and keeps track o
your progress.
So just type in your pseudo or name and
it will then appear in the list. You can
select it and click OK.
Then click
CeeBot now lists the various exercises.
The left column shows the different
chapters, and the right column is the list
of the exercises in the selected chapter.
The tick means the exercise has been
done successfully.
The exercises are progressively more
difficult. We suggest you try them in that
order, even though this isn't compulsory.
Choose « 1: Basics » and « 2: The
straight line », click « Play ».
The green text at the top of the screen
asks you to press « F1 » to check your
Sat Com . That's where you'll find all the
instructions you need to complete the
exercise.
You can also press this button, at the
bottom of the screen :
2
79018507.025.png 79018507.026.png 79018507.027.png
Read this carefully, as it explains exactly
what you must do. When you've finished,
press the button in the bottom left corner.
If necessary, you can come back to this
screen at any time by pressing « F1 ».
You can tell the exercise bot is already
selected by the orange icon in the top left
corner. If this wasn't the case, all you
need to do is to click it.
You can also click on the robot itself.
Select the first program in the list. Each
bot can have up to 10 programs. This can
be handy when you're testing different
solutions. All these programs are saved
automatically in each player's profile.
Program nr 4 is the solution so you'll
never be stuck. But try not to give in too
soon!
To enter the program editor, click {..} .
The editor comes up with an empty shell
ready for you to write your new program.
The text cursor is between the braces.
Do not alter the first line or the braces.
3
79018507.028.png 79018507.029.png 79018507.030.png
Your job is to draw a red line 20 meters
long, right up to the blue cross. Your first
instruction is to lower the virtual red pen :
pendown(Red);
Make sure you type a capital "R" for Red.
The rest is in lower case.
Notice the ; at the end of the instruction.
Now you need a second instruction telling
the bot to move forwards 20 meters. Your
program will be easier to read if you go to
the next line.
move(20);
Don't forget the ;
Click OK
If you've made a mistake, it will be
highlighted in blue, and a message will be
displayed at the bottom of the screen.
In this example, we forgot the ; at the end
of the first line.
If everything is correct, when you click OK
the editor is closed.
Click this icon to run your new program.
The robot should drive up to the blue
cross, leaving a red trail behind.
Congratulations, you've just completed
your very first program.
4
79018507.031.png
3 Main menu
3.1 Exercises
In this part of CeeBot-A, you can learn how to program the bots, even
if you don't know anything about programming. The exercises are
gathered into chapters, and progressively introduce the basic concepts
of programming in a structured and object-oriented language. You can
do the exercises in any order, but it's better to start with the easier
ones.
3.2 Challenges
Each challenge is a mission you must try to fulfill. You need a pretty
good knowledge of the CeeBot programming language to succeed.
Challenges are a good way of checking the skills acquired in the programming
exercises.
3.3 Options
Click « Options » to access various settings separated into 5 categories.
3.3.1 Display
The first time you run CeeBot, it is set to use a 640 x 480 x 16 display. On many
computers, you can get a much better graphic result by changing the default settings.
Drivers:
It's best to choose a HAL driver (Hardware Abstraction Layer), and avoid "Emulation" or
"T&L" drivers.
Resolution:
The first and the second figure stand for the size of the image on your screen.
The third number influences the number of colors used:
5
79018507.032.png 79018507.033.png
Zgłoś jeśli naruszono regulamin