Cocos Code Ide中运行TestLua


新建TestLua工程


1.右键New Cocos Project,选择Create From Existing Resource,在Resource Location中输入testLua工程的路径,选择所有资源



2.点击Next,选择设备信息,点击Finish。


3.修改config.json配置文件中的entry字段值为:"src/controller.lua"(testLua的入口文件)




项目结构如下:




运行TestLua工程


选中TestLua工程,点击Debug Wn32按钮或F11运行



运行效果:




posted on 2014-09-28 21:48  linchaolong  阅读(188)  评论(0编辑  收藏  举报

导航