pixijs/pixi-haxe

View on GitHub
samples/assets/dragonbones/ReplaceSlotDisplay/ReplaceSlotDisplay.json

Summary

Maintainability
Test Coverage
{"frameRate":24,"isGlobal":0,"armature":[{"skin":[{"name":"","slot":[{"display":[{"type":"image","name":"display0001","transform":{}}],"name":"point"},{"display":[{"type":"image","name":"weapon_1004_1","transform":{"y":5,"x":65}}],"name":"weapon"},{"display":[{"width":270,"type":"mesh","vertices":[-135,-80,135,-80,-135,80,135,80,134.95,-31.85,134.95,31.45,73.3,31.25,73.2,-31.65,-121.4,-67.5,-122.1,66.7,88.45,66.3,89.25,-65.95,107.1,-80,106.3,-31.76,106.5,80,106.3,31.36],"transform":{"x":-200},"userEdges":[6,7,7,13,13,4,6,15,15,5,9,10,10,6,7,11,11,8,8,9],"triangles":[9,2,10,0,8,11,0,11,12,10,2,14,15,10,14,12,11,13,12,13,4,12,4,1,14,3,5,15,14,5,4,13,5,13,15,5,6,10,15,11,7,13,6,15,13,7,6,13,6,9,10,8,7,11,8,9,6,8,6,7,8,0,9,0,2,9],"height":160,"uvs":[0,0,1,0,0,1,1,1,0.99981,0.30094,0.99981,0.69656,0.77148,0.69531,0.77111,0.30219,0.05037,0.07813,0.04778,0.91687,0.82759,0.91438,0.83056,0.08781,0.89667,0,0.89369,0.30152,0.89444,1,0.89369,0.69598],"name":"display0005","edges":[2,0,1,4,4,5,5,3,0,12,12,1,3,14,14,2]}],"name":"mesh"},{"display":[{"type":"image","name":"display0009","transform":{"y":-0.1317,"x":104.9445}}],"name":"ball"}]}],"slot":[{"name":"point","parent":"point","color":{}},{"z":1,"name":"mesh","parent":"point","color":{}},{"z":2,"name":"ball","parent":"ball","color":{}},{"z":3,"name":"weapon","parent":"ball","color":{}}],"type":"Armature","bone":[{"name":"root","transform":{}},{"length":100,"transform":{},"parent":"root","name":"point"},{"length":100,"transform":{"x":100},"parent":"point","name":"ball"}],"defaultActions":[{"gotoAndPlay":"idle"}],"animation":[{"frame":[],"slot":[],"ffd":[{"frame":[{"offset":0,"vertices":[],"duration":10,"tweenEasing":0},{"offset":0,"vertices":[115.61,54.15,0,0,120.7,-60.04,0,0,0,0,0,0,0,0,0,0,113.3,49.94,119.03,-55.73,1,-5.66,-1.29,7.67,0,0,0,0,0,0,0,0],"duration":10,"tweenEasing":0},{"offset":0,"vertices":[-36.97,-85.96,0,0,-21.37,108.42,0,0,0,0,0,0,0,0,0,0,-39.88,-82.14,-19.5,95.39,2.53,5.56,0.38,-2.85,0,0,0,0,0,0,0,0],"duration":10,"tweenEasing":0},{"offset":0,"vertices":[],"duration":0,"tweenEasing":null}],"slot":"mesh","scale":1,"skin":"","offset":0,"name":"display0005"}],"bone":[{"frame":[{"transform":{},"duration":30,"tweenEasing":null}],"name":"root"},{"frame":[{"transform":{},"duration":10,"tweenEasing":0},{"transform":{"skX":120,"skY":120},"duration":10,"tweenEasing":0},{"transform":{"skX":-120,"skY":-120},"duration":10,"tweenEasing":0},{"transform":{},"duration":0,"tweenEasing":null}],"name":"ball"},{"frame":[{"transform":{},"duration":10,"tweenEasing":0},{"transform":{"skX":120,"skY":120},"duration":10,"tweenEasing":0},{"transform":{"skX":-120,"skY":-120},"duration":10,"tweenEasing":0},{"transform":{},"duration":0,"tweenEasing":null}],"name":"point"}],"playTimes":0,"name":"idle","duration":30}],"aabb":{"width":674.9445029807704,"y":-80.1317026506331,"height":160.1317026506331,"x":-335},"frameRate":24,"name":"MyArmature","ik":[]},{"skin":[{"name":"","slot":[{"display":[{"type":"image","name":"display0002","transform":{"y":64.6363,"x":104.7465}},{"type":"image","name":"display0004","transform":{"y":65.0185,"x":-105.0759}},{"type":"image","name":"display0009","transform":{"y":-0.5252,"x":104.8163}},{"type":"image","name":"display0006","transform":{"y":-65.668,"x":-105.3589}},{"type":"image","name":"display0010","transform":{}},{"type":"image","name":"display0005","transform":{"y":-0.8148,"x":-105.4037}},{"type":"image","name":"display0003","transform":{"y":64.552,"x":-0.4446}},{"type":"image","name":"display0007","transform":{"y":-65.3926,"x":-0.2229}},{"type":"image","name":"display0008","transform":{"y":-65.4336,"x":105.0409}},{"filterType":"armature","type":"armature","name":"MyArmature","transform":{}}],"name":"ball"}]}],"slot":[{"displayIndex":-1,"name":"ball","parent":"ball","color":{}}],"type":"MovieClip","bone":[{"name":"root","transform":{}},{"transform":{},"name":"ball","parent":"root"}],"defaultActions":[{"gotoAndPlay":"newAnimation"}],"animation":[{"frame":[],"slot":[{"frame":[{"duration":1,"tweenEasing":null,"color":{}},{"displayIndex":6,"duration":1,"tweenEasing":null,"color":{}},{"displayIndex":1,"duration":1,"tweenEasing":null,"color":{}},{"displayIndex":5,"duration":1,"tweenEasing":null,"color":{}},{"displayIndex":3,"duration":1,"tweenEasing":null,"color":{}},{"displayIndex":7,"duration":1,"tweenEasing":null,"color":{}},{"displayIndex":8,"duration":1,"tweenEasing":null,"color":{}},{"displayIndex":2,"duration":1,"tweenEasing":null,"color":{}},{"displayIndex":4,"duration":0,"tweenEasing":null,"color":{}}],"name":"ball"}],"ffd":[],"bone":[{"frame":[{"transform":{},"duration":8,"tweenEasing":null}],"name":"root"},{"frame":[{"transform":{"y":-70.4221,"x":-83.5006},"duration":1,"tweenEasing":null},{"transform":{"y":-64.552,"x":0.4446},"duration":1,"tweenEasing":null},{"transform":{"y":-65.0185,"x":105.0759},"duration":1,"tweenEasing":null},{"transform":{"y":0.8148,"x":105.4037},"duration":1,"tweenEasing":null},{"transform":{"y":65.668,"x":105.3589},"duration":1,"tweenEasing":null},{"transform":{"y":65.3926,"x":0.2229},"duration":1,"tweenEasing":null},{"transform":{"y":65.4336,"x":-105.0409},"duration":1,"tweenEasing":null},{"transform":{"y":0.5252,"x":-104.8163},"duration":1,"tweenEasing":null},{"transform":{},"duration":0,"tweenEasing":null}],"name":"ball"}],"playTimes":0,"name":"newAnimation","duration":8}],"aabb":{"width":0,"y":0,"height":0,"x":0},"frameRate":24,"name":"MyDisplay","ik":[]},{"skin":[{"name":"","slot":[{"display":[{"width":203,"type":"mesh","vertices":[-101.5,-14.5,297.95,-14.5,-101.5,14.5,296.75,14.5,29.55,-14.5,29.1,14.5,262.95,-14.5,261.75,14.5],"transform":{"y":5,"x":65},"userEdges":[],"triangles":[6,7,1,1,7,3,4,5,6,6,5,7,0,2,5,0,5,4],"height":29,"uvs":[0,0,1,0,0,1,1,1,0.64557,0,0.64335,1,0.83793,0,0.84384,1],"name":"weapon_1004_1","edges":[1,3,2,0,0,4,5,2,4,6,6,1,3,7,7,5]}],"name":"meshA"},{"display":[{"type":"image","name":"weapon_1004_1","transform":{"y":5,"x":65}}],"name":"mesh"},{"display":[{"width":203,"type":"mesh","vertices":[-101.35,-12.8,143.75,-70.95,-101.45,6.15,123.05,20,103.85,7,126.85,-44,13.75,-17.9,11.9,7.05,-46.25,-21.7,-44.75,20.2,-47.75,-9.4,-48.35,2.95,-101.5,5.9,-101.5,-12.15,-46.3,-10.75,-45.8,12.95,13.9,-25.51,26.61,16.69],"transform":{"y":5,"x":65},"userEdges":[7,4,4,5,5,6,6,7,12,11,10,11,10,13,14,6,7,15,14,15],"triangles":[6,5,1,16,6,1,4,17,3,1,5,3,5,4,3,6,4,5,6,7,4,7,17,4,15,9,17,8,14,16,11,9,15,11,15,14,10,11,14,0,10,8,10,14,8,12,2,9,0,13,10,12,9,11,10,13,11,13,12,11,14,7,6,15,17,7,14,15,7,16,14,6],"height":29,"uvs":[0,0,1,0,0,1,1,1,0.84852,0.6931,0.91256,0.26207,0.66034,0.2,0.59384,0.71379,0.27438,0.00172,0.26453,1,0.26478,0.17586,0.26182,0.60172,0,0.70345,0,0.08103,0.27685,0.2569,0.27906,0.67586,0.5734,0.00101,0.58153,1],"name":"weapon_1004_1","edges":[1,3,0,8,9,2,2,12,12,13,13,0,8,16,16,1,3,17,17,9]}],"name":"meshB"}]}],"slot":[{"name":"meshA","parent":"root","color":{}},{"z":1,"name":"meshB","parent":"root","color":{}},{"z":2,"name":"mesh","parent":"root","color":{}}],"type":"Armature","bone":[{"length":100,"name":"root","transform":{}}],"defaultActions":[{"gotoAndPlay":"newAnimation"}],"animation":[{"frame":[],"slot":[],"ffd":[],"bone":[{"frame":[{"transform":{},"duration":0,"tweenEasing":null}],"name":"root"}],"playTimes":0,"name":"newAnimation","duration":0}],"aabb":{"width":203,"y":-9.5,"height":29,"x":-36.5},"frameRate":24,"name":"MyMesh","ik":[]}],"name":"ReplaceSlotDisplay","version":"4.5"}