Open 0xJimmyBeh opened 9 years ago
I'm trying to use Data class to pass image array bytes from Cocos2d-X to Cocos2d-JS.
http://www.cocos2d-x.org/reference/native-cpp/V3.5/d5/dda/classcocos2d_1_1_data.html#a200bf583c97d8da48febc89218d3bef2
The document only show C++ but don't have JS and Lua.
Thanks.
I also notice that. So I am writing my own C++ class and JS binding to do that.
I'm trying to use Data class to pass image array bytes from Cocos2d-X to Cocos2d-JS.
http://www.cocos2d-x.org/reference/native-cpp/V3.5/d5/dda/classcocos2d_1_1_data.html#a200bf583c97d8da48febc89218d3bef2
The document only show C++ but don't have JS and Lua.
Thanks.