• 如何做dragonbones的lua绑定(xcode)


     
     a. 将dragonbones(cocos2d_libs), lua_dragonbones_auto.cpp,lua_dragonbones_auto.hpp(cocos2d_lua_bindings/auto)添加到工程
     b.  cocos2d_libs/project/Build Settings/Search Paths/User Header Search Paths增加
       $(SRCROOT)/../cocos/editor-support/dragonbones
       $(SRCROOT)/../cocos/editor-support/dragonbones/renderer/cocos2d-x-3.x
       $(SRCROOT)/../external/lua/lua
       $(SRCROOT)/../external/lua/tolua
       $(SRCROOT)/../cocos/scripting/lua-bindings/manual
     c.   cocos2d_lua_bindings/project/Build Settings/Search Paths/User Header Search Paths增加
       $(SRCROOT)/../../../editor-support/dragonbones
       $(SRCROOT)/../../../editor-support/dragonbones/renderer/cocos2d-x-3.x
     d.   项目工程/project/Build Settings/Search Paths/User Header Search Paths增加
       $(SRCROOT)/../../cocos2d-x/cocos/scripting/lua-bindings/manual
       $(SRCROOT)/../../cocos2d-x/cocos/scripting/lua-bindings/auto
     e.   cocos2d_libs/PROJECT/Apple LLVM 6.1 - Preprocessing/Preprocessor Macros/Debug(Release) 增加
       DRAGON_BONES_ENABLE_LUA=1
           cocos2d_lua_bindings/PROJECT/Apple LLVM 6.1 - Preprocessing/Preprocessor Macros/Debug(Release) 增加
           DRAGON_BONES_ENABLE_LUA=1
  • 相关阅读:
    《javascript设计模式》2接口
    对css类名className的一些操作的函数
    js设计模式方法的链式调用及回调
    js设计模式封装
    ajax的封装
    js设计模式单体(Singleton)
    js设计模式继承
    metasploit
    使用 AsyncCallback 处理异步调用
    log4net 的使用
  • 原文地址:https://www.cnblogs.com/ColaZhang/p/4822925.html
Copyright © 2020-2023  润新知