如果有人能向我解释occam-pi中的文本动画原理,我将不胜感激。谢谢。
发布于 2010-03-07 20:10:22
您将需要导入course库,并使用cursor.x.y在屏幕上移动光标以进行绘制,或者使用将产生动画效果的空白文本位进行覆盖。
http://occam-pi.org/occamdoc/course.html#name-cursor.x.y
即,为了将光标移动到3,3:
#INCLUDE "course.module"
cursor.x.y( 3, 3, scr )
-- where scr is your screen channel然后按照通常的方式写入屏幕
out.string( 'asdf', 0, scr )重复..。
https://stackoverflow.com/questions/1821448
复制相似问题