文件名称:Cocos2d-JS-Dragonbones
文件大小:28KB
文件格式:ZIP
更新时间:2024-07-08 00:10:30
JavaScript
Cocos2d-JS-Dragonbones var factory = new dragonBones.DBCCFactory(); factory.loadTextureAtlas(TexturePath, AtlasName); factory.loadDragonBonesData(SkeletonPath, SkeletonName); var avatar = factory.buildArmature(armatureName, skinName, animationName, dragonBonesName, textureAtlasName); this.addChild(avatar.getDisplay()); avatar.getAnimation().gotoAndPlay(animationName); TODO 提供一个工具,能够将DragonBones的配置
【文件预览】:
Cocos2d-JS-Dragonbones-master
----README.md(617B)
----DragonBones.js(153KB)