DragonBonesCPP icon indicating copy to clipboard operation
DragonBonesCPP copied to clipboard

support cocos2d-js

Open tdtanvn opened this issue 8 years ago • 5 comments

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

tdtanvn avatar Dec 07 '16 16:12 tdtanvn

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

djwshh avatar Dec 08 '16 10:12 djwshh

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

tdtanvn avatar Dec 08 '16 12:12 tdtanvn

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.

djwshh avatar Dec 09 '16 13:12 djwshh

Thanks, i will try

On Fri, Dec 9, 2016, 8:36 PM djwshh [email protected] 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 .

tdtanvn avatar Dec 09 '16 15:12 tdtanvn

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

anhtran1989 avatar Mar 22 '17 16:03 anhtran1989