CR的代码文本

all for learning about the world
  订阅 订阅  :: 管理

2011年10月31日

摘要: sprite和cast member 当演员在舞台上出现的时候,演员就不再是演员,而是它演绎的角色. 介,就是cast member和sprite的关系。 sprite和channel 演员sprite在舞台上的前后关系是由channel定的。站在channel 1的演员会被2上演员挡住。 channel数字越大,离观众越近。 场景中最多有1000个channel。 sprite描述了些啥 就是s... 阅读全文

posted @ 2011-10-31 14:31 mumuliang 阅读(287) 评论(0) 推荐(0) 编辑

摘要: Lingo中的Parent和Child,官方文档中称之为Parent Script和Child Object,实际上就是类和类的实例。 构造new后返回me 说child object是parent script的self-contained,独立完备的一个实例。 区别实例用的地址,这个地址,就是me。 因此在每个parent script的构造函数new的最后,最重要的语句就是return me... 阅读全文

posted @ 2011-10-31 13:20 mumuliang 阅读(252) 评论(0) 推荐(0) 编辑