Call custom c++ from Lua cocos2d-x lua binds c++ class, class functions ,enum and some global functions to lua through auto-binding by bindings-generator(tools/bindings-generator) and some manual binding,so we can call custom c++ from lua convenientl
cocos2d-x lua 使用http(下载图片, POST JSON) version: cocos2d-x 3.6 1.使用http post json与服务器交互 require("src/cocos/cocos2d/json") require("src/cocos/network/NetworkConstants") -- post json local xhr = cc.XMLHttpRequest:new() xhr.responseType = c