DragonBones / DragonBonesCPP

DragonBones C++ Runtime
MIT License
397 stars 228 forks source link

support cocos2d-js #138

Open tdtanvn opened 7 years ago

tdtanvn commented 7 years ago

do you have plan to support cocos2d-js ? I hope you support it thanks

djwshh commented 7 years ago

use cocos2dx tool bind js should be not difficult,i bind lua myself

tdtanvn commented 7 years ago

Thanks for your reply. Could you give me an example you bind lua ?. Did you porting all file loader from c++ to lua script to use this tool

djwshh commented 7 years ago

use tools/tolua/genbindings.py.First you should create a file like cocos2dx_dragonbones.ini and add file name to genbindings.py. then run genbindings.py,but some others like event callback need code manually.search it from internet.

tdtanvn commented 7 years ago

Thanks, i will try

On Fri, Dec 9, 2016, 8:36 PM djwshh notifications@github.com wrote:

use tools/tolua/genbindings.py.First you should create a file like cocos2dx_dragonbones.ini and add file name to genbindings.py. then run genbindings.py,but some others like event callback need code manually.search it from internet.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/DragonBones/DragonBonesCPP/issues/138#issuecomment-266015297, or mute the thread https://github.com/notifications/unsubscribe-auth/ACBSlG2GEEtRMd-bQyUy_XGX_RiweEzhks5rGVlugaJpZM4LGy7o .

anhtran1989 commented 7 years ago

@tdtanvn Can you run DragonBones with Cocos2d js and Cocos studio. If your can, can you help me? I have a problem. Thanks