zoukankan      html  css  js  c++  java
  • DragonBone在FlashDevelop编译

    http://dragonbones.github.io/

    dragonbones是一个强大的骨骼动画编辑器,基于Starling,用AS3语言编写,可以导出骨骼动画数据供其他程序使用。

    下面来讲一下怎么用FD把这玩意编译出来。

    1 首先需要starling的库

    https://github.com/PrimaryFeather/Starling-Framework

    "$(CompilerPath)incompc.bat" -include-sources "$(ProjectDir)src" -output "$(OutputDir)$(OutputName)"

    2 然后编译SkeletonAnimationLibrary,SkeletonAnimationLibrary是一个swc的库,引用了starling.swc。把Starling编译的swc拷贝到libs目录下,如果没有libs目录,创建一个。

    "$(CompilerPath)incompc.bat" -include-sources "$(ProjectDir)src" -include-libraries "$(ProjectDir)libsstarling.swc" -output "$(OutputDir)$(OutputName)"

    https://github.com/DragonBones/SkeletonAnimationLibrary

    3 编译SkeletonAnimationDesignPanel 这个工程,这里边有个坑,就是最好用下边这个SDK。否则会报各种诡异的错误。

    http://124.254.47.44/download/39421861/56054478/1/zip/195/164/1363684848067_676/flex_sdk_4.6.zip

    https://github.com/DragonBones/SkeletonAnimationDesignPanel

    这几个项目在我的github上都fork了,我把FD的工程文件都上传了。pull下来之后,需要修改SDK的路径,指向你电脑上的Flex SDK。

    https://github.com/wanghehacker

    FlashDevelop  技巧交流 插件开发
    QQ群:257978195
  • 相关阅读:
    [CF1039D]You Are Given a Tree
    [洛谷P2107]小Z的AK计划
    [CF409F]000001
    [洛谷P1801]黑匣子_NOI导刊2010提高(06)
    [洛谷P3377]【模板】左偏树(可并堆)
    [洛谷P2482][SDOI2010]猪国杀
    [CF45G]Prime Problem
    [CF735D]Taxes
    [洛谷P3413]SAC#1
    [洛谷P4124][CQOI2016]手机号码
  • 原文地址:https://www.cnblogs.com/wanghe/p/3593820.html
Copyright © 2011-2022 走看看