mirror of
https://github.com/u0u0/Quick-Cocos2dx-Community.git
synced 2026-05-10 15:44:56 +08:00
Add new Lua Binding for spSkeletonData. Integrate win32 Player. Add "exact_fit" mode for display
18 lines
351 B
Lua
18 lines
351 B
Lua
|
|
if cc.bPlugin_ then
|
|
luaj = require("cocos.cocos2d.luaj")
|
|
else
|
|
luaj = require(cc.PACKAGE_NAME .. ".luaj")
|
|
end
|
|
|
|
function io.exists(path)
|
|
return cc.FileUtils:getInstance():isFileExist(path)
|
|
end
|
|
|
|
function io.readfile(path)
|
|
return cc.HelperFunc:getFileData(path)
|
|
end
|
|
|
|
function device.showAlertAndroid(title, message, buttonLabels, listener)
|
|
end
|