Friday, April 21, 2017

Algo Code Ep 3 - Knowing the Program

Welcome back, readers!

Today, I will introduce to you the functions and variables in Algo Code*.

1. text(word,x,y)
-write text on the canvas

2. rect(x,y,width,height)
-draw rectangles or squares

3. conssay(word)
-write text on the console

4. cnvscls()
-clear the canvas

5. conscls()
-clear the console

6. cngCol(color)
-change color used

7. var n=0
-set variables

Also, here are the variables in Algo Code.
1. WIDTH
-width of the canvas

2. HEIGHT
-height of the canvas

3. pressingkey
-if a key on the keyboard is pressed

For pressingkey, you can use 
1. pressingUp
2. pressingDown
3. pressingLeft
4. pressingRight
5. pressingA
6. pressingB
7. pressingC

These are the functions and variables for Algo Code.


* Note: This  guide is for V 1.0.0

Thanks for drinking!

21-04-2017

No comments:

Post a Comment