摘要: 前两天使用到每帧都更新动画的scheduleUpdate()方法,但通过cclog,我发现,scheduleUpdate()是执行了.但update()方法并没有被调用。那是因为在CCLayer中重载了onEnter().去掉onEnter()就可以了。http://stackoverflow.com/questions/17162260/seems-scheduleupdate-not-workingI forgot to invoke the CCNode::onEnter in my own onEnter function.Thus,all we need to do is invok 阅读全文
posted @ 2013-10-25 14:40 wanqi 阅读(1690) 评论(0) 推荐(0) 编辑