最近有點空閒,想學習lua了,這裏在cocos ide中運行lua-tests,其實有點坑了,這裏res的資源是不齊全的,需要把cpp-tests的資源複製過來
新建一個lua project
把lua-tests下的src和res的東西考到項目中
這裏需要把cpp-test的圖片資源複製過來,不然會找不到資源
最後還需要將controller.lua改爲main.lua
哈哈,運行看看
最近有點空閒,想學習lua了,這裏在cocos ide中運行lua-tests,其實有點坑了,這裏res的資源是不齊全的,需要把cpp-tests的資源複製過來
新建一個lua project
把lua-tests下的src和res的東西考到項目中
這裏需要把cpp-test的圖片資源複製過來,不然會找不到資源
最後還需要將controller.lua改爲main.lua
哈哈,運行看看