Code Monkey home page Code Monkey logo

dragonbones-for-cocos2d-x's People

Contributors

mutoo avatar zrong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dragonbones-for-cocos2d-x's Issues

导出时plist中图片的key命名

感谢zrong制作coco2d-x专用的这个插件,使用后带来了很大的方便!

现在我遇到了一个问题,在将动画加入到程序时,发现单个的动画是ok的,但是当遇到两个以上的动画文件时就会出现贴图错误.

经过分析发现多个动画的plist文件中的图片key是一致的,这样多个动画文件会找到同一张图片进行贴图!

      <key>head.png</key> //就是这个地方,多个动画的会对应同一张head图片
      <dict>
        <key>frame</key>
        <string>{{137,0},{89,58}}</string>
        <key>offset</key>
        <string>{0,0}</string>
        <key>rotated</key>
        <false/>
        <key>sourceColorRect</key>
        <string>{{0,0},{89,58}}</string>
        <key>sourceSize</key>
        <string>{89,58}</string>
      </dict>

这样的话可否在导出合并大图时在head.png的前面加上导出的名字,变为xxx_head.png?确保不会重复

或者是我的用法不对?在讲图片添加到flash的资源库中时就要手动保证不会重复?

我现在的是写了一个python脚本批量添加的,但每次改变动画后,都需要执行一次,略显麻烦!

导入plist压缩包失败

个人环境:WIN7 + FLASH CS6
将动画导出为PLIST+PNG+XML,然后原封不动的选择导入,提示

导入失败!
未知的数据格式错误!

请问这个应该怎么解决?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.