CR的代码文本

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

2011年11月4日

摘要: director,lingo中.mousedown的repeat中貌似每次都需要有足够的等待时间,否则会很难响应。下面repeat中的首句put删除以后,3d场景的响应效率反而会非常低下。疑问!onmouseDownmep_lastdownH=themouseHp_angle=0repeatwhilethemousedownputthemouseh_angle=(themouseH-p_lastdownH).float*0.1pScene.model("MyCube").rotate(0,0,_angle)updateStagep_lastdownH=themouseHp_ 阅读全文

posted @ 2011-11-04 18:00 mumuliang 阅读(226) 评论(0) 推荐(0) 编辑

摘要: 又复习Lingo中关于Script的各种概念。Behavior:"Behavior是一组Handler的集合"。Handler:"是处理Event的方法/函数"。Event:"系统或用户定义的特定情况。"嗯,没错,这里的Event确实分为system和user-defined两类。就system而言,又分成两类,一类是会自动发生的,一类是需要人为触发的(mouseUp..)。这个区分没多大意思,这么分只是为了下面的"自动发生的system Event的执行顺序"。自动发生的System Event的顺序movie开 阅读全文

posted @ 2011-11-04 10:40 mumuliang 阅读(348) 评论(0) 推荐(0) 编辑