2014年4月30日

cocos2d: Cast name Layer doesn't include modular name which it belongs to,please add the modular name

摘要: cocos2d-x 3.0beta使用cocos2d-x + lua 中local layer = tolua.cast(node, "Layer") 出现以上的,虽然还是可以正常运行,但是还是想找到问题出在哪里搜索标题的关键字找不到,看来是lua中抛出的,那只能搜索tolua相关的函数,找到是 t... 阅读全文

posted @ 2014-04-30 15:02 影语者 阅读(584) 评论(0) 推荐(0) 编辑

关于cocos2dx+lua使用cocosbuilder乱弹

摘要: cocos2d-x 3.0 + cocosbuilder 3.0使用中发现每个按钮回调都要写一行对应的回调如:1 local function onMenuItemAClicked()2 ...3 end4 5 TestMenusLayer["onMenuItemAClicked"] = o... 阅读全文

posted @ 2014-04-30 07:48 影语者 阅读(1070) 评论(0) 推荐(0) 编辑

导航