tags:

views:

24

answers:

1

I'd appreciate it if someone would explain to me the principles of text animation in occam-pi. Thanks.

A: 

You'll want to import the course library, and use cursor.x.y to move the cursor around the screen to draw, or overwrite with whitespace bits of text which will result in animation.

http://occam-pi.org/occamdoc/course.html#name-cursor.x.y

Ie, move cursor to 3, 3:

cursor.x.y(3,3, scr)

--where scr is your screen channel

and then just write to the screen the usual way

out.string('asdf',0,scr)

Repeat...

Damian