ndee85 / coa_tools

COA Tools is a 2D Animation Suite for blender. It offers a 2D cutout animation workflow similar to programs like spine or spriter.
GNU General Public License v3.0
900 stars 139 forks source link

Some problems whith exported sample #67

Open 1vanK opened 7 years ago

1vanK commented 7 years ago

I exported stip.blend to json and opened it in Dragon Bones (I tried 4.9 and 5.0 versions). In armature mode all is fine, but in Animation mode some parts is missing.

3

3 -

Sorry if my question is stupid. I only get acquainted with this program.

p.s. Thank you for your great work!

1vanK commented 7 years ago

I think error here:

"slot": [
            {
              "name": "Foot_R.png",
              "frame": [
                {
                  "tweenEasing": 0.0,
                  "displayIndex": -1, // ------------------------- !!!!
                  "color": {

                  },
                  "duration": 0
                }
              ]
            },
pfirsich commented 7 years ago

I'm writing a löve importer right now and I identified this as an export issue too! The display indices are always -1. This not just breaks DragonBones, but also leaves out the information of different sprites for different informations all together.