Lesson 1: Loops
Do
Loop
What does this mean? Well, anything thats inbetween the Do and the Loop basiclly loops over and over and over and over agian. Basiclly, its like telling the program to keep on doing something.
It looks like you basiclly got the hang of Wait Key and Print. So, lets try combinding the Print with a loop:
Do
Print "This is looped!"
Loop
This basiclly tells the program to keep on printing the text "This is looped!".
Lesson 2: X,Y
If you are in 5th or 6th grade, you may have learned about X,Y,Z. I did a while back when i was in 6th. Anyway, if you never learned about X,Y, then i will teach you about it. X and Y are VERY important in programming. It tells the program where to place things and other important things. It is also used in math. X is basiclly going accross and Y is basiclly going up and down.
[4]
[3] +
[2]
[1][2][3][4][5]
It is basiclly like a cordinite-graph. Do you see where the + is? It is located at 2,3. The first 3 is the X and the next is the Y.
Example:
6,6
If i wanted to place a picture at 6,6, i would be placing it at 6 pixcels away from the top of the screen and 6 pixcels away from the left of the screen.
Before i go on, do u get all this so far? Do you have any questions?
www.freewebs.com/mycomputergames