Code Monkey home page Code Monkey logo

csarmature's Introduction

CocoStudio website : http://studio.cocos2d-x.org/
DragonBones Reference : http://dragonbones.github.io/getting_started_cn.html

20130524 Armature_v0.1.4
1.Fix if DragonBone export data include Parent-child hierarchy, the display is incorrect.
2.Support DragonBone 2.1
3.Support Armature Nesting
4.Support Armature boundingBox
5.Support Armature setAnchorPoint
6.Fix memory leak, you need call cs::ArmatureDataManager::sharedArmatureDataManager()->purgeArmatureSystem() yourself.
I do this in AppDelegate::~AppDelegate().
7.Fix stack error if delete Armature immediately after creation

20130514 Armature_v0.1.3

  1. Adds support for .ExportJson file format.
  2. Fix animation pause(), resume() bug.
  3. Remove 'using namespace cocos2d' from .h header.
  4. Remove ComArmature interface.
  5. Fix set bone rotation bug.
  6. Fix do not set bone TransformDirty to false after bone update.

20130514 Armature_v0.1.2
1.Keeps the way to read collision as such as the Animation Editor.

20130510 Armature_v0.1.1

  1. Adds Collider(Test Box2D Detector) Demo to Test.
  2. Added support for setting position or scale of bone manually.

20130507 Armature_v0.1.0

  1. Added support for android.
  2. Update cocos2dx version to v2.1.3.

csarmature's People

Contributors

2youyou2 avatar chengstory avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

csarmature's Issues

position and size problem when CS::Armature added to CS::BatchNode

I create few insdences of Armature, and I add them in to a CS::BatchNode.

the problem was that the position, size , and etc information of these Armature's that added to the BatchNode ,all are same. they just one upon another one. whatever I change the property, It's doesn't work.

I did solve the problem by don't using batchNode, but I think it's not good to performance.

so.... whold you get me answer and fix that?

帧切换的时候会有一个额外的从(0,0)开始的缓动动画

类似这样的导出动画

        <b name="图层 1" sc="1" dl="0">
          <f x="10.35" y="-59" cocos2d_x="-55.15" cocos2d_y="-116" kX="0" kY="0" cX="1" cY="1" pX="65.5" pY="57" z="0" dI="0" dr="1"/>
          <f dr="3" dI="-1"/>
        </b>

显示的时候会有bug
位置偏移严重
改为以下方式就ok了

        <b name="图层 1" sc="1" dl="0">
          <f x="10.35" y="-59" cocos2d_x="-55.15" cocos2d_y="-116" kX="0" kY="0" cX="1" cY="1" pX="65.5" pY="57" z="0" dI="0" dr="1"/>
          <f x="10.35" y="-59" cocos2d_x="-55.15" cocos2d_y="-116" kX="0" kY="0" cX="1" cY="1" pX="65.5" pY="57" z="0" dr="3" dI="-1"/>
        </b>

关于CSArmature的几个问题

几个问题:

  1. FrameData * DataReaderHelper::decodeFrame中为什么不处理缩放呢?
        _helpNode.y = -_helpNode.y;
        _helpNode.skewX = CC_DEGREES_TO_RADIANS(_helpNode.skewX);
        _helpNode.skewY = CC_DEGREES_TO_RADIANS(-_helpNode.skewY);

        TransformHelp::transformFromParent(*frameData, _helpNode);
  1. 你是怎么把Flash的坐标系转换到GL的坐标系的呢?

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.