diff --git a/Binaries/Output/Release_Windows/Examples/SkeletonTest.gdg b/Binaries/Output/Release_Windows/Examples/SkeletonTest.gdg new file mode 100644 index 0000000000..89ac5fa2bc --- /dev/null +++ b/Binaries/Output/Release_Windows/Examples/SkeletonTest.gdg @@ -0,0 +1,1864 @@ + + + + + Project + + 400 + 300 + + 60 + 10 + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + GDevelop JS platform + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BuiltinCommonInstructions::Standard + + + + + + + + + + + + + + Skeleton + = + 0.2 + + + + + + + Skeleton + = + 0.2 + + + + + + + + BuiltinCommonInstructions::Standard + + + + + + Left + + + + + + + + + Skeleton + PlatformerObject + + + + + + + Skeleton + = + 0.2 + + + + + + + + BuiltinCommonInstructions::Standard + + + + + + Right + + + + + + + + + Skeleton + PlatformerObject + + + + + + + Skeleton + = + -0.2 + + + + + + + + BuiltinCommonInstructions::Standard + + + + + Skeleton + PlatformerObject + + + + + + + + BuiltinCommonInstructions::Standard + + + + + Skeleton + PlatformerObject + + + + + + + + + Skeleton + "stand" + 0.2 + + + + + + + + + BuiltinCommonInstructions::Standard + + + + + Skeleton + PlatformerObject + + + + + + + + + Skeleton + "walk" + 0.2 + + + + + + + + + BuiltinCommonInstructions::Standard + + + + + + Up + + + + + + + + + Skeleton + PlatformerObject + + + + + + + Skeleton + "jump" + 0.2 + + + + + + + + + + + BuiltinCommonInstructions::Standard + + + + + Skeleton + PlatformerObject + + + + + + + + + Skeleton + "fall" + 0.2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Text + + 12 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 255 + 0 + 0 + + + false + + + + + BuiltinCommonInstructions::Comment + + Initial scale + + + + BuiltinCommonInstructions::Standard + + + + + + + + + + + + + + Skeleton + = + 0.2 + + + + + + + Skeleton + = + 0.2 + + + + + + + scale_dir + = + 1 + + + + + + + + BuiltinCommonInstructions::Comment + + Move object + + + + BuiltinCommonInstructions::Standard + + + + + + Left + + + + + + + + + Skeleton + - + 100*TimeDelta() + + + + + + + + BuiltinCommonInstructions::Standard + + + + + + Right + + + + + + + + + Skeleton + + + 100*TimeDelta() + + + + + + + + BuiltinCommonInstructions::Standard + + + + + + Up + + + + + + + + + Skeleton + - + 100*TimeDelta() + + + + + + + + BuiltinCommonInstructions::Standard + + + + + + Down + + + + + + + + + Skeleton + + + 100*TimeDelta() + + + + + + + + BuiltinCommonInstructions::Comment + + Change scale over time + + + + BuiltinCommonInstructions::Standard + + + + + + Skeleton + * + 1 + Variable(scale_dir)*TimeDelta()/10 + + + + + + + Skeleton + * + 1 + Variable(scale_dir)*TimeDelta()/10 + + + + + + + BuiltinCommonInstructions::Standard + + + + + Skeleton + > + 0.4 + + + + + + + + + scale_dir + = + -1 + + + + + + + + BuiltinCommonInstructions::Standard + + + + + Skeleton + < + 0.05 + + + + + + + + + scale_dir + = + 1 + + + + + + + + + + BuiltinCommonInstructions::Comment + + Transform bones + + + + BuiltinCommonInstructions::Standard + + + + + + Numpad4 + + + + + + + + + Skeleton + "head" + = + 50 + + + + + + + + BuiltinCommonInstructions::Standard + + + + + + Numpad6 + + + + + + + + + Skeleton + "FlameA" + = + 300 + + + + + + + + BuiltinCommonInstructions::Standard + + + + + + Numpad8 + + + + + + + + + Skeleton + "armR" + = + 50 + + + + + + + + BuiltinCommonInstructions::Standard + + + + + + Numpad5 + + + + + + + + + Skeleton + "bone1/bone" + = + 250 + + + + + + + + BuiltinCommonInstructions::Standard + + + + + + Numpad7 + + + + + + + + + Skeleton + "head" + = + -45 + + + + + + + + BuiltinCommonInstructions::Standard + + + + + + Numpad9 + + + + + + + + + Skeleton + "head" + = + 45 + + + + + + + + BuiltinCommonInstructions::Standard + + + + + + Numpad1 + + + + + + + + + Skeleton + "head" + = + 0.5 + + + + + + + + BuiltinCommonInstructions::Standard + + + + + + Numpad2 + + + + + + + + + + + + + + Skeleton + "head" + * + 2 + + + + + + + + BuiltinCommonInstructions::Standard + + + + + + Numpad0 + + + + + + + + + Skeleton + "head" + + + + + + + + BuiltinCommonInstructions::Comment + + Non-uniform object scale + + + + BuiltinCommonInstructions::Standard + + + + + + Space + + + + + + + + + + + + + + Skeleton + = + 50 + + + + + + + Skeleton + = + 25 + + + + + + + + BuiltinCommonInstructions::Comment + + Set animations + + + + BuiltinCommonInstructions::Standard + + + + + + Num1 + + + + + + + + + + + + + + Skeleton + "stand" + + + + + + + + + + BuiltinCommonInstructions::Standard + + + + + + Num2 + + + + + + + + + + + + + + Skeleton + = + 1 + + + + + + + + + + BuiltinCommonInstructions::Standard + + + + + + Num3 + + + + + + + + + + + + + + Skeleton + "jump" + + + + + + + + + + BuiltinCommonInstructions::Standard + + + + + + Num4 + + + + + + + + + + + + + + Skeleton + "fall" + + + + + + + + + + BuiltinCommonInstructions::Standard + + + + + + Num4 + + + + + + + + + + + + + + Skeleton + = + -1 + + + + + + + + + + BuiltinCommonInstructions::Standard + + + + + + Num6 + + + + + + + + + + + + + + Skeleton + = + 8 + + + + + + + + + + BuiltinCommonInstructions::Standard + + + + + + Num67 + + + + + + + + + + + + + + Skeleton + "giovanni giorgio" + + + + + + + + + + BuiltinCommonInstructions::Comment + + Check animations + + + + BuiltinCommonInstructions::Standard + + + + + + + "30;30;30" + + + + + + + BuiltinCommonInstructions::Standard + + + + + Skeleton + = + 1 + + + + + + + + + + + + + + + "0;100;0" + + + + + + + + BuiltinCommonInstructions::Standard + + + + + Skeleton + = + "fall" + + + + + + + + + + + + + + + "0;0;100" + + + + + + + + + + BuiltinCommonInstructions::Comment + + Set animation smooth + + + + BuiltinCommonInstructions::Standard + + + + + + s + + + + + + + + + + + + + + else + = + 1 + + + + + + + BuiltinCommonInstructions::Standard + + + + + Skeleton + + + + + + + + + Skeleton + no + + + + + + + else + = + 0 + + + + + + + + BuiltinCommonInstructions::Standard + + + + + else + = + 1 + + + + + + + + + Skeleton + yes + + + + + + + + + + BuiltinCommonInstructions::Comment + + Animation time scale + + + + BuiltinCommonInstructions::Standard + + + + + + q + + + + + + + + + Skeleton + - + TimeDelta() + + + + + + + + BuiltinCommonInstructions::Standard + + + + + + e + + + + + + + + + Skeleton + + + TimeDelta() + + + + + + + + BuiltinCommonInstructions::Comment + + Set slot color + + + + BuiltinCommonInstructions::Standard + + + + + + c + + + + + + + + + Skeleton + "clothes" + ToString(Random(255)) + ";" + ToString(Random(255)) + ";" + ToString(Random(255)) + + + + + + + + BuiltinCommonInstructions::Comment + + Point inside slot test + + + + BuiltinCommonInstructions::Standard + + + + + Skeleton + "bone1_Triangle" + MouseX("",0) + MouseY("",0) + + + + + + + + + + "100;0;0" + + + + + + + + BuiltinCommonInstructions::Comment + + Update debug text data + + + + BuiltinCommonInstructions::Standard + + + + + + Debug + = + "Animation index: " + ToString(Skeleton.AnimationIndex()) + NewLine() + "Animation name: " + Skeleton.AnimationName() + NewLine() + "Animation time: " + ToString(round(Skeleton.AnimationTime()*100)/100) + " / " + ToString(Skeleton.AnimationTimeLength()) + NewLine() + "Animation frame: " + ToString(round(Skeleton.AnimationFrame()*100)/100) + " / " + ToString(Skeleton.AnimationFrameLength()) + NewLine() + "Animation time scale: " + ToString(Skeleton.AnimationTimeScale()) + NewLine() + "Animation smooth: " + + + + + + + BuiltinCommonInstructions::Standard + + + + + Skeleton + + + + + + + + + Debug + + + "true" + + + + + + + + BuiltinCommonInstructions::Standard + + + + + Skeleton + + + + + + + + + Debug + + + "false" + + + + + + + + + + BuiltinCommonInstructions::Comment + + Object -Slot collision test + + + + BuiltinCommonInstructions::Standard + + + + + + Block + = + MouseX("",0) + = + MouseY("",0) + + + + + + + BuiltinCommonInstructions::Standard + + + + + Skeleton + "head" + Block + + + + + + + + + + Block + ToString(Random(255)) + ";" + ToString(Random(255)) + ";" + ToString(Random(255)) + + + + + + + + + + BuiltinCommonInstructions::Comment + + Slot -Slot collision test (not tested, two instances needed, but I have confidence in my abilities) + + + + BuiltinCommonInstructions::Standard + + + + + Skeleton + "armR" + Skeleton2 + "tail" + + + + + + + + + + Skeleton2 + "tail" + ToString(Random(255)) + ";" + ToString(Random(255)) + ";" + ToString(Random(255)) + + + + + + + + BuiltinCommonInstructions::Comment + + Raycast collision test + + + + BuiltinCommonInstructions::Standard + + + + + + contact + = + 0 + + + + + + + BuiltinCommonInstructions::Standard + + + + + Skeleton + "bone1_Polygon" + Ray.X() + Ray.Y() + -160 + 300 + contactX + contactY + + + + + + + + + + Skeleton + "tailTip" + "255;0;0" + + + + + + + Ray + 0 + 0 + Variable(contactX) - Ray.X() + Variable(contactY) - Ray.Y() + 1 + + + + + + + contact + = + 1 + + + + + + + + BuiltinCommonInstructions::Standard + + + + + contact + = + 0 + + + + + + + + + Skeleton + "tailTip" + "255;255;255" + + + + + + + Ray + 0 + 0 + 300*cos(ToRad(-160)) + 300*sin(ToRad(-160)) + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Binaries/Output/Release_Windows/Examples/skeleton.json b/Binaries/Output/Release_Windows/Examples/skeleton.json new file mode 100644 index 0000000000..926a829455 --- /dev/null +++ b/Binaries/Output/Release_Windows/Examples/skeleton.json @@ -0,0 +1 @@ +{"armature":[{"slot":[{"name":"tailTip","parent":"tailTip","color":{}},{"z":1,"name":"armUpperL","parent":"armUpperL","color":{}},{"z":2,"name":"armL","parent":"armL","color":{}},{"z":3,"displayIndex":-1,"name":"handL","parent":"handL","color":{}},{"z":4,"name":"legL","parent":"legL","color":{}},{"z":5,"name":"body","parent":"body","color":{}},{"z":6,"name":"tail","parent":"tail","color":{}},{"z":7,"name":"clothes","parent":"clothes","color":{}},{"z":8,"name":"hair","parent":"hair","color":{}},{"z":9,"name":"head","parent":"head","color":{}},{"z":10,"name":"eyeL","parent":"eyeL","color":{}},{"z":11,"name":"eyeR","parent":"eyeR","color":{}},{"z":12,"name":"legR","parent":"legR","color":{}},{"z":13,"name":"armUpperR","parent":"armUpperR","color":{}},{"z":14,"name":"armR","parent":"armR","color":{}},{"z":15,"name":"handR","parent":"handR","color":{}},{"z":16,"name":"beardL","parent":"beardL","color":{}},{"z":17,"name":"beardR","parent":"beardR","color":{}},{"z":18,"parent":"bone","actions":[{"gotoAndPlay":"animtion0"}],"name":"bone1","color":{"bM":0,"rM":0}},{"z":19,"name":"bone1_Polygon","parent":"bone1","color":{}},{"z":20,"name":"bone1_Box","parent":"bone1","color":{}},{"z":21,"name":"bone1_Triangle","parent":"bone1","color":{}},{"z":22,"name":"bone2","parent":"bone2","color":{"bM":42,"rM":28,"gM":71}},{"z":23,"name":"tailTip1","parent":"Flame","color":{}}],"ik":[],"type":"Armature","name":"Dragon","aabb":{"width":878.6312542242642,"y":-431.81395140042207,"height":769.5863484320666,"x":-311.8476999190912},"animation":[{"slot":[{"displayFrame":[{"duration":30},{"duration":0}],"colorFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"name":"armUpperL"},{"displayFrame":[{"value":-1,"duration":10},{"duration":12},{"value":-1,"duration":8}],"colorFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"name":"handL"},{"displayFrame":[{"duration":30},{"duration":0}],"colorFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"name":"legL"},{"displayFrame":[{"duration":8},{"duration":12},{"duration":8},{"duration":2},{"duration":0}],"colorFrame":[{"duration":8,"tweenEasing":0},{"duration":12,"tweenEasing":0},{"duration":8,"tweenEasing":0},{"duration":2},{"duration":0}],"name":"body"},{"displayFrame":[{"duration":12},{"duration":17},{"duration":1},{"duration":0}],"colorFrame":[{"duration":12,"tweenEasing":0},{"duration":17,"tweenEasing":0},{"duration":1},{"duration":0}],"name":"clothes"},{"displayFrame":[{"duration":12},{"duration":8},{"duration":8},{"duration":2},{"duration":0}],"colorFrame":[{"duration":12,"tweenEasing":0},{"duration":8,"tweenEasing":0},{"duration":8,"tweenEasing":0},{"duration":2},{"duration":0}],"name":"hair"},{"displayFrame":[{"duration":30},{"duration":0}],"colorFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"name":"head"},{"displayFrame":[{"duration":8},{"duration":12},{"duration":8},{"duration":2},{"duration":0}],"colorFrame":[{"duration":8,"tweenEasing":0},{"duration":12,"tweenEasing":0},{"duration":8,"tweenEasing":0},{"duration":2},{"duration":0}],"name":"eyeL"},{"displayFrame":[{"duration":30},{"duration":0}],"colorFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"name":"legR"},{"displayFrame":[{"duration":30},{"duration":0}],"colorFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"name":"armUpperR"},{"displayFrame":[{"duration":30},{"duration":0}],"colorFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"name":"armR"},{"displayFrame":[{"duration":30},{"duration":0}],"colorFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"name":"handR"},{"displayFrame":[{"duration":7},{"duration":8},{"duration":12},{"duration":1},{"duration":2},{"duration":0}],"colorFrame":[{"duration":7,"tweenEasing":0},{"duration":8,"tweenEasing":0},{"duration":12,"tweenEasing":0},{"duration":1,"tweenEasing":0},{"duration":2},{"duration":0}],"name":"beardL"},{"displayFrame":[{"duration":7},{"duration":8},{"duration":12},{"duration":1},{"duration":2},{"duration":0}],"colorFrame":[{"duration":7,"tweenEasing":0},{"duration":8,"tweenEasing":0},{"duration":12,"tweenEasing":0},{"duration":1,"tweenEasing":0},{"duration":2},{"duration":0}],"name":"beardR"},{"displayFrame":[{"duration":15},{"value":-1,"duration":10},{"duration":5}],"colorFrame":[{"duration":5,"tweenEasing":0},{"duration":5,"tweenEasing":0,"color":{"aM":25}},{"duration":20}],"name":"tailTip"},{"displayFrame":[],"colorFrame":[],"name":"armL"},{"displayFrame":[],"colorFrame":[],"name":"tail"},{"displayFrame":[],"colorFrame":[],"name":"eyeR"},{"displayFrame":[{"duration":3},{"actions":[{"gotoAndPlay":"flip"}],"duration":9},{"duration":8},{"value":-1,"duration":2},{"duration":8}],"colorFrame":[{"duration":16},{"duration":14,"tweenEasing":0,"color":{"rM":0,"gM":14}},{"duration":0}],"name":"bone1"},{"displayFrame":[],"colorFrame":[],"name":"bone1_Polygon"},{"displayFrame":[],"colorFrame":[],"name":"bone1_Box"},{"displayFrame":[],"colorFrame":[],"name":"bone1_Triangle"},{"displayFrame":[],"colorFrame":[],"name":"bone2"},{"displayFrame":[],"colorFrame":[],"name":"tailTip1"}],"frame":[{"duration":18,"tweenEasing":null},{"action":"walk","duration":0,"tweenEasing":null}],"duration":30,"zOrder":{"frame":[{"duration":12,"tweenEasing":null,"zOrder":[]},{"duration":8,"tweenEasing":null,"zOrder":[7,-2,9,-3,14,1]},{"duration":5,"tweenEasing":null,"zOrder":[14,1]},{"duration":5,"tweenEasing":null,"zOrder":[]}]},"playTimes":0,"bone":[{"translateFrame":[{"duration":30}],"scaleFrame":[{"duration":30}],"rotateFrame":[{"duration":30}],"name":"root"},{"translateFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"scaleFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"name":"body"},{"translateFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"scaleFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"name":"legR"},{"translateFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"scaleFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"name":"armUpperR"},{"translateFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"scaleFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"name":"legL"},{"translateFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"scaleFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"name":"head"},{"translateFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"scaleFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"name":"armUpperL"},{"translateFrame":[{"duration":8,"tweenEasing":0},{"duration":22,"tweenEasing":0,"x":-4},{"duration":0}],"scaleFrame":[{"duration":8,"tweenEasing":0},{"duration":22,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":8,"tweenEasing":0},{"duration":22,"tweenEasing":0,"rotate":4.95},{"duration":0}],"name":"tail"},{"translateFrame":[{"duration":12,"tweenEasing":0},{"y":-2,"duration":18,"tweenEasing":0,"x":-2},{"duration":0}],"scaleFrame":[{"duration":12,"tweenEasing":0},{"duration":18,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":12,"tweenEasing":0},{"duration":18,"tweenEasing":0},{"duration":0}],"name":"clothes"},{"translateFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"scaleFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"name":"armL"},{"translateFrame":[{"duration":8,"tweenEasing":0},{"y":-2,"duration":22,"tweenEasing":0},{"duration":0}],"scaleFrame":[{"duration":8,"tweenEasing":0},{"duration":22,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":8,"tweenEasing":0},{"duration":22,"tweenEasing":0},{"duration":0}],"name":"eyeR"},{"translateFrame":[{"duration":8,"tweenEasing":0},{"y":-8.0574,"duration":22,"tweenEasing":0,"x":5.1348},{"duration":0}],"scaleFrame":[{"duration":8,"tweenEasing":0},{"duration":22,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":8,"tweenEasing":0},{"duration":22,"tweenEasing":0,"rotate":-12.64},{"duration":0}],"name":"tailTip"},{"translateFrame":[{"duration":8,"tweenEasing":0},{"y":-2,"duration":22,"tweenEasing":0},{"duration":0}],"scaleFrame":[{"duration":8,"tweenEasing":0},{"duration":22,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":8,"tweenEasing":0},{"duration":22,"tweenEasing":0},{"duration":0}],"name":"eyeL"},{"translateFrame":[{"duration":15,"tweenEasing":0},{"duration":15,"tweenEasing":0},{"duration":0}],"scaleFrame":[{"duration":15,"tweenEasing":0},{"duration":15,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":15,"tweenEasing":0,"rotate":9.6205},{"duration":15,"tweenEasing":0,"rotate":-1.4848},{"duration":0,"rotate":9.6205}],"name":"beardL"},{"translateFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"scaleFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"name":"armR"},{"translateFrame":[{"duration":15,"tweenEasing":0},{"duration":15,"tweenEasing":0},{"duration":0}],"scaleFrame":[{"duration":15,"tweenEasing":0},{"duration":15,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":15,"tweenEasing":0},{"duration":15,"tweenEasing":0,"rotate":5.44},{"duration":0}],"name":"beardR"},{"translateFrame":[{"duration":12,"tweenEasing":0},{"y":-4,"duration":18,"tweenEasing":0,"x":2},{"duration":0}],"scaleFrame":[{"duration":12,"tweenEasing":0},{"duration":18,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":12,"tweenEasing":0},{"duration":18,"tweenEasing":0},{"duration":0}],"name":"hair"},{"translateFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"scaleFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"name":"handR"},{"translateFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"scaleFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":30,"tweenEasing":0},{"duration":0}],"name":"handL"},{"translateFrame":[],"scaleFrame":[{"duration":8},{"duration":8,"tweenEasing":0},{"y":2,"duration":12,"tweenEasing":0,"x":2},{"y":1.5,"duration":2,"x":1.5}],"rotateFrame":[],"name":"bone"},{"translateFrame":[],"scaleFrame":[],"rotateFrame":[],"name":"bone1"},{"translateFrame":[],"scaleFrame":[],"rotateFrame":[],"name":"bone2"},{"translateFrame":[],"scaleFrame":[],"rotateFrame":[{"duration":6,"tweenEasing":0},{"duration":15,"tweenEasing":0,"rotate":-19.6457},{"duration":9,"tweenEasing":0,"rotate":10.7751},{"duration":0}],"name":"Flame"},{"translateFrame":[],"scaleFrame":[],"rotateFrame":[{"duration":6,"tweenEasing":0},{"duration":15,"tweenEasing":0,"rotate":35.2228},{"duration":9,"tweenEasing":0,"rotate":-35.3764},{"duration":0}],"name":"FlameA"},{"translateFrame":[],"scaleFrame":[],"rotateFrame":[{"duration":6,"tweenEasing":0},{"duration":15,"tweenEasing":0,"rotate":44.4843},{"duration":9,"tweenEasing":0,"rotate":-44.3248},{"duration":0}],"name":"FlameB"}],"ffd":[{"slot":"bone2","frame":[{"offset":8,"duration":8,"vertices":[-1.58,-186.92,0,0,0,0,0,0],"tweenEasing":0},{"offset":0,"duration":16,"vertices":[-9.11,-7.78,-16.75,-3.98,0,0,0,0,67.46,-177.41,0,0,0,0,0,0],"tweenEasing":0},{"offset":0,"duration":6,"vertices":[65.48,7.26,37.61,7.52,0,0,0,0,14.35,-169.34,0,0,0,0,0,0],"tweenEasing":0},{"offset":8,"duration":0,"vertices":[-1.58,-186.92,0,0,0,0,0,0],"tweenEasing":null}],"scale":1,"skin":"","offset":0,"name":"parts/tailTip"}],"name":"stand"},{"slot":[{"displayFrame":[{"duration":10},{"duration":10},{"duration":0}],"colorFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0},{"duration":0}],"name":"tailTip"},{"displayFrame":[{"duration":10},{"duration":10},{"duration":0}],"colorFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0},{"duration":0}],"name":"armUpperL"},{"displayFrame":[{"duration":10},{"duration":10},{"duration":0}],"colorFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0},{"duration":0}],"name":"armL"},{"displayFrame":[{"duration":10},{"duration":10},{"duration":0}],"colorFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0},{"duration":0}],"name":"handL"},{"displayFrame":[{"duration":10},{"duration":10},{"duration":0}],"colorFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0},{"duration":0}],"name":"legL"},{"displayFrame":[{"duration":10},{"duration":10},{"duration":0}],"colorFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0},{"duration":0}],"name":"body"},{"displayFrame":[{"duration":10},{"duration":10},{"duration":0}],"colorFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0},{"duration":0}],"name":"tail"},{"displayFrame":[{"duration":5},{"duration":5},{"duration":5},{"duration":5},{"duration":0}],"colorFrame":[{"duration":5,"tweenEasing":0},{"duration":5,"tweenEasing":0},{"duration":5,"tweenEasing":0},{"duration":5,"tweenEasing":0},{"duration":0}],"name":"clothes"},{"displayFrame":[{"duration":10},{"duration":10},{"duration":0}],"colorFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0},{"duration":0}],"name":"hair"},{"displayFrame":[{"duration":10},{"duration":10},{"duration":0}],"colorFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0},{"duration":0}],"name":"head"},{"displayFrame":[{"duration":10},{"duration":10},{"duration":0}],"colorFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0},{"duration":0}],"name":"eyeL"},{"displayFrame":[{"duration":10},{"duration":10},{"duration":0}],"colorFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0},{"duration":0}],"name":"eyeR"},{"displayFrame":[{"duration":10},{"duration":10},{"duration":0}],"colorFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0},{"duration":0}],"name":"legR"},{"displayFrame":[{"duration":10},{"duration":10},{"duration":0}],"colorFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0},{"duration":0}],"name":"armUpperR"},{"displayFrame":[{"duration":10},{"duration":10},{"duration":0}],"colorFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0},{"duration":0}],"name":"armR"},{"displayFrame":[{"duration":10},{"duration":10},{"duration":0}],"colorFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0},{"duration":0}],"name":"handR"},{"displayFrame":[{"duration":10},{"duration":10},{"duration":0}],"colorFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0},{"duration":0}],"name":"beardL"},{"displayFrame":[{"duration":10},{"duration":10},{"duration":0}],"colorFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0},{"duration":0}],"name":"beardR"},{"displayFrame":[{"duration":6},{"actions":[{"gotoAndPlay":"flip"}],"duration":6},{"duration":8}],"colorFrame":[],"name":"bone1"},{"displayFrame":[],"colorFrame":[],"name":"bone1_Polygon"},{"displayFrame":[],"colorFrame":[],"name":"bone1_Box"},{"displayFrame":[{"duration":20}],"colorFrame":[],"name":"bone1_Triangle"},{"displayFrame":[],"colorFrame":[],"name":"bone2"},{"displayFrame":[],"colorFrame":[],"name":"tailTip1"}],"frame":[],"duration":20,"playTimes":0,"bone":[{"translateFrame":[{"duration":20},{"duration":0}],"scaleFrame":[{"duration":20},{"duration":0}],"rotateFrame":[{"duration":20},{"duration":0}],"name":"root"},{"translateFrame":[{"y":-4,"duration":10,"tweenEasing":0},{"y":-2,"duration":10,"tweenEasing":0},{"y":-4,"duration":0}],"scaleFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0},{"duration":0}],"name":"body"},{"translateFrame":[{"y":-14,"duration":10,"tweenEasing":0,"x":-6},{"y":-2,"duration":10,"tweenEasing":0,"x":-3.9},{"y":-14,"duration":0,"x":-6}],"scaleFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":10,"tweenEasing":0,"rotate":-30},{"duration":10,"tweenEasing":0,"rotate":30},{"duration":0,"rotate":-30}],"name":"legR"},{"translateFrame":[{"y":14,"duration":10,"tweenEasing":0,"x":-6},{"y":2,"duration":10,"tweenEasing":0},{"y":14,"duration":0,"x":-6}],"scaleFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":10,"tweenEasing":0,"rotate":45.5},{"duration":10,"tweenEasing":0,"rotate":-22.15},{"duration":0,"rotate":45.5}],"name":"armUpperR"},{"translateFrame":[{"y":28.4011,"duration":10,"tweenEasing":0,"x":-40.3442},{"y":-8.9278,"duration":10,"tweenEasing":0,"x":-22.5206},{"y":28.4011,"duration":0,"x":-40.3442}],"scaleFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":10,"tweenEasing":0,"rotate":49.67},{"duration":10,"tweenEasing":0,"rotate":-19.23},{"duration":0,"rotate":49.67}],"name":"legL"},{"translateFrame":[{"y":4,"duration":10,"tweenEasing":0},{"y":2,"duration":10,"tweenEasing":0},{"y":4,"duration":0}],"scaleFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0,"rotate":2.95},{"duration":0}],"name":"head"},{"translateFrame":[{"y":4,"duration":10,"tweenEasing":0},{"y":2,"duration":10,"tweenEasing":0},{"y":4,"duration":0}],"scaleFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":10,"tweenEasing":0,"rotate":-21.2},{"duration":10,"tweenEasing":0,"rotate":30},{"duration":0,"rotate":-21.2}],"name":"armUpperL"},{"translateFrame":[{"duration":10,"tweenEasing":0,"x":-8},{"y":-6,"duration":10,"tweenEasing":0,"x":-12},{"duration":0,"x":-8}],"scaleFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0,"rotate":-8.7},{"duration":0}],"name":"tail"},{"translateFrame":[{"duration":5,"tweenEasing":0},{"y":-2,"duration":5,"tweenEasing":0,"x":-2},{"duration":5,"tweenEasing":0},{"y":-2,"duration":5,"tweenEasing":0,"x":-2},{"duration":0}],"scaleFrame":[{"duration":5,"tweenEasing":0},{"duration":5,"tweenEasing":0},{"duration":5,"tweenEasing":0},{"duration":5,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":5,"tweenEasing":0},{"duration":5,"tweenEasing":0},{"duration":5,"tweenEasing":0},{"duration":5,"tweenEasing":0},{"duration":0}],"name":"clothes"},{"translateFrame":[{"y":-2.2012,"duration":10,"tweenEasing":0,"x":-13.0387},{"y":-5.8451,"duration":10,"tweenEasing":0,"x":3.9043},{"y":-2.2012,"duration":0,"x":-13.0387}],"scaleFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":10,"tweenEasing":0,"rotate":-38.8},{"duration":10,"tweenEasing":0,"rotate":38.55},{"duration":0,"rotate":-38.8}],"name":"armL"},{"translateFrame":[{"y":0.5,"duration":10,"tweenEasing":0,"x":1.7},{"y":-0.2773,"duration":10,"tweenEasing":0,"x":-4.1136},{"y":0.5,"duration":0,"x":1.7}],"scaleFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0,"rotate":-2.95},{"duration":0}],"name":"eyeR"},{"translateFrame":[{"y":-0.5359,"duration":10,"tweenEasing":0,"x":8.9282},{"y":10.0761,"duration":10,"tweenEasing":0,"x":-2.9969},{"y":-0.5359,"duration":0,"x":8.9282}],"scaleFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0,"rotate":17.93},{"duration":0}],"name":"tailTip"},{"translateFrame":[{"duration":10,"tweenEasing":0},{"y":4.1907,"duration":10,"tweenEasing":0,"x":-7.5499},{"duration":0}],"scaleFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0,"rotate":-2.95},{"duration":0}],"name":"eyeL"},{"translateFrame":[{"duration":10,"tweenEasing":0},{"y":-5.5174,"duration":10,"tweenEasing":0,"x":-3.5187},{"duration":0}],"scaleFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0,"rotate":6.04},{"duration":0}],"name":"beardL"},{"translateFrame":[{"y":9.9555,"duration":5,"tweenEasing":0,"x":-2.5742},{"y":4.9989,"duration":5,"tweenEasing":0,"x":-2.7325},{"y":0.0424,"duration":5,"tweenEasing":0,"x":-2.8907},{"y":-5.611,"duration":5,"tweenEasing":0,"x":-0.2247},{"y":9.9555,"duration":0,"x":-2.5742}],"scaleFrame":[{"duration":5,"tweenEasing":0},{"duration":5,"tweenEasing":0},{"duration":5,"tweenEasing":0},{"duration":5,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":5,"tweenEasing":0,"rotate":21.72},{"duration":5,"tweenEasing":0,"rotate":31.7897},{"duration":5,"tweenEasing":0,"rotate":-15.63},{"duration":5,"tweenEasing":0,"rotate":-19.6672},{"duration":0,"rotate":21.72}],"name":"armR"},{"translateFrame":[{"duration":10,"tweenEasing":0},{"y":1.6594,"duration":10,"tweenEasing":0,"x":-1.4456},{"duration":0}],"scaleFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0,"rotate":-10.45},{"duration":0}],"name":"beardR"},{"translateFrame":[{"duration":10,"tweenEasing":0},{"y":-7.1738,"duration":10,"tweenEasing":0,"x":1.1289},{"duration":0}],"scaleFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0,"rotate":-2.95},{"duration":0}],"name":"hair"},{"translateFrame":[{"y":2.0245,"duration":10,"tweenEasing":0,"x":-16.2659},{"y":2.1665,"duration":10,"tweenEasing":0,"x":1.4963},{"y":2.0245,"duration":0,"x":-16.2659}],"scaleFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":10,"tweenEasing":0,"rotate":-45.48},{"duration":10,"tweenEasing":0,"rotate":-0.48},{"duration":0,"rotate":-45.48}],"name":"handR"},{"translateFrame":[{"y":0.9027,"duration":10,"tweenEasing":0,"x":-1.6657},{"y":3.3992,"duration":10,"tweenEasing":0,"x":-2.7762},{"y":0.9027,"duration":0,"x":-1.6657}],"scaleFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":10,"tweenEasing":0,"rotate":15},{"duration":10,"tweenEasing":0,"rotate":6.45},{"duration":0,"rotate":15}],"name":"handL"},{"translateFrame":[],"scaleFrame":[],"rotateFrame":[],"name":"bone"},{"translateFrame":[],"scaleFrame":[],"rotateFrame":[],"name":"bone1"},{"translateFrame":[],"scaleFrame":[],"rotateFrame":[],"name":"bone2"},{"translateFrame":[],"scaleFrame":[],"rotateFrame":[],"name":"Flame"},{"translateFrame":[],"scaleFrame":[],"rotateFrame":[],"name":"FlameA"},{"translateFrame":[],"scaleFrame":[],"rotateFrame":[],"name":"FlameB"}],"ffd":[{"slot":"bone2","frame":[{"offset":0,"duration":5,"vertices":[],"tweenEasing":0},{"offset":2,"duration":5,"vertices":[68.7,12.24,0,0,0,0,24.25,-179.92,0,0,0,0,0,0],"tweenEasing":0},{"offset":2,"duration":4,"vertices":[-30.27,1.52,0,0,0,0,24.25,-179.92,0,0,0,0,0,0],"tweenEasing":0},{"offset":2,"duration":3,"vertices":[15.87,2.38,0,0,0,0,14.55,-107.95,0,0,0,0,0,0],"tweenEasing":0},{"offset":2,"duration":3,"vertices":[-20.44,1.29,0,0,0,0,7.27,-53.98,0,0,0,0,0,0],"tweenEasing":0},{"offset":0,"duration":0,"vertices":[],"tweenEasing":null}],"scale":1,"skin":"","offset":0,"name":"parts/tailTip"}],"name":"walk"},{"slot":[{"displayFrame":[{"duration":2},{"duration":3},{"duration":0}],"colorFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"name":"tailTip"},{"displayFrame":[{"duration":2},{"duration":3},{"duration":0}],"colorFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"name":"armUpperL"},{"displayFrame":[{"duration":5},{"duration":0}],"colorFrame":[{"duration":5,"tweenEasing":0},{"duration":0}],"name":"armL"},{"displayFrame":[{"duration":5},{"duration":0}],"colorFrame":[{"duration":5,"tweenEasing":0},{"duration":0}],"name":"handL"},{"displayFrame":[{"duration":2},{"duration":3},{"duration":0}],"colorFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"name":"legL"},{"displayFrame":[{"duration":5},{"duration":0}],"colorFrame":[{"duration":5,"tweenEasing":0},{"duration":0}],"name":"body"},{"displayFrame":[{"duration":2},{"duration":3},{"duration":0}],"colorFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"name":"tail"},{"displayFrame":[{"duration":2},{"duration":3},{"duration":0}],"colorFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"name":"clothes"},{"displayFrame":[{"duration":2},{"duration":3},{"duration":0}],"colorFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"name":"hair"},{"displayFrame":[{"duration":5},{"duration":0}],"colorFrame":[{"duration":5,"tweenEasing":0},{"duration":0}],"name":"head"},{"displayFrame":[{"duration":2},{"duration":3},{"duration":0}],"colorFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"name":"eyeL"},{"displayFrame":[{"duration":2},{"duration":3},{"duration":0}],"colorFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"name":"eyeR"},{"displayFrame":[{"duration":2},{"duration":3},{"duration":0}],"colorFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"name":"legR"},{"displayFrame":[{"duration":2},{"duration":3},{"duration":0}],"colorFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"name":"armUpperR"},{"displayFrame":[{"duration":5},{"duration":0}],"colorFrame":[{"duration":5,"tweenEasing":0},{"duration":0}],"name":"armR"},{"displayFrame":[{"duration":5},{"duration":0}],"colorFrame":[{"duration":5,"tweenEasing":0},{"duration":0}],"name":"handR"},{"displayFrame":[{"duration":2},{"duration":3},{"duration":0}],"colorFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"name":"beardL"},{"displayFrame":[{"duration":2},{"duration":3},{"duration":0}],"colorFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"name":"beardR"},{"displayFrame":[],"colorFrame":[],"name":"bone1"},{"displayFrame":[],"colorFrame":[],"name":"bone1_Polygon"},{"displayFrame":[],"colorFrame":[],"name":"bone1_Box"},{"displayFrame":[],"colorFrame":[],"name":"bone1_Triangle"},{"displayFrame":[],"colorFrame":[],"name":"bone2"},{"displayFrame":[],"colorFrame":[],"name":"tailTip1"}],"frame":[],"duration":5,"playTimes":0,"bone":[{"translateFrame":[{"duration":5}],"scaleFrame":[{"duration":5}],"rotateFrame":[{"duration":5}],"name":"root"},{"translateFrame":[{"y":-66,"duration":5,"tweenEasing":0},{"y":-66,"duration":0}],"scaleFrame":[{"duration":5,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":5,"tweenEasing":0},{"duration":0}],"name":"body"},{"translateFrame":[{"y":1.0328,"duration":2,"tweenEasing":0,"x":1.1757},{"y":0.6594,"duration":3,"tweenEasing":0,"x":-3.122},{"y":1.0328,"duration":0,"x":1.1757}],"scaleFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":2,"tweenEasing":0,"rotate":-27.69},{"duration":3,"tweenEasing":0,"rotate":-27.69},{"duration":0,"rotate":-27.69}],"name":"legR"},{"translateFrame":[{"y":10,"duration":2,"tweenEasing":0},{"y":9.7511,"duration":3,"tweenEasing":0,"x":-2.8651},{"y":10,"duration":0}],"scaleFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":2,"tweenEasing":0,"rotate":-24.65},{"duration":3,"tweenEasing":0,"rotate":-23.1904},{"duration":0,"rotate":-24.65}],"name":"armUpperR"},{"translateFrame":[{"y":38.2873,"duration":2,"tweenEasing":0,"x":-20.6204},{"y":37.7894,"duration":3,"tweenEasing":0,"x":-26.3507},{"y":38.2873,"duration":0,"x":-20.6204}],"scaleFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":2,"tweenEasing":0,"rotate":-15.2954},{"duration":3,"tweenEasing":0,"rotate":-15.2954},{"duration":0,"rotate":-15.2954}],"name":"legL"},{"translateFrame":[{"y":1.9,"duration":5,"tweenEasing":0,"x":3.6},{"y":1.9,"duration":0,"x":3.6}],"scaleFrame":[{"duration":5,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":5,"tweenEasing":0,"rotate":10},{"duration":0,"rotate":10}],"name":"head"},{"translateFrame":[{"y":4,"duration":2,"tweenEasing":0},{"y":3.6266,"duration":3,"tweenEasing":0,"x":-4.2977},{"y":4,"duration":0}],"scaleFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":2,"tweenEasing":0,"rotate":15},{"duration":3,"tweenEasing":0,"rotate":15},{"duration":0,"rotate":15}],"name":"armUpperL"},{"translateFrame":[{"y":-10,"duration":2,"tweenEasing":0,"x":-24},{"y":-10,"duration":3,"tweenEasing":0,"x":-24},{"y":-10,"duration":0,"x":-24}],"scaleFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":2,"tweenEasing":0,"rotate":9.3457},{"duration":3,"tweenEasing":0,"rotate":13.7283},{"duration":0,"rotate":9.3457}],"name":"tail"},{"translateFrame":[{"y":-4.5108,"duration":2,"tweenEasing":0,"x":-4.7682},{"y":-4.8842,"duration":3,"tweenEasing":0,"x":-9.0659},{"y":-4.5108,"duration":0,"x":-4.7682}],"scaleFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"name":"clothes"},{"translateFrame":[{"y":2.5528,"duration":5,"tweenEasing":0,"x":-0.5979},{"y":2.5528,"duration":0,"x":-0.5979}],"scaleFrame":[{"duration":5,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":5,"tweenEasing":0,"rotate":8.55},{"duration":0,"rotate":8.55}],"name":"armL"},{"translateFrame":[{"y":-8.7028,"duration":2,"tweenEasing":0,"x":8.8815},{"y":-9.0585,"duration":3,"tweenEasing":0,"x":8.1208},{"y":-7.7261,"duration":0,"x":9.013}],"scaleFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":2,"tweenEasing":0,"rotate":-10},{"duration":3,"tweenEasing":0,"rotate":-10},{"duration":0,"rotate":-10}],"name":"eyeR"},{"translateFrame":[{"y":6.3001,"duration":2,"tweenEasing":0,"x":2.1698},{"y":-0.896,"duration":3,"tweenEasing":0,"x":0.6375},{"y":6.3001,"duration":0,"x":2.1698}],"scaleFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":2,"tweenEasing":0,"rotate":2.89},{"duration":3,"tweenEasing":0,"rotate":8.91},{"duration":0,"rotate":2.89}],"name":"tailTip"},{"translateFrame":[{"y":-6.3014,"duration":2,"tweenEasing":0,"x":8.9391},{"y":-9.0585,"duration":3,"tweenEasing":0,"x":8.1208},{"y":-6.3014,"duration":0,"x":8.9391}],"scaleFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":2,"tweenEasing":0,"rotate":-10},{"duration":3,"tweenEasing":0,"rotate":-10},{"duration":0,"rotate":-10}],"name":"eyeL"},{"translateFrame":[{"y":19.2267,"duration":2,"tweenEasing":0,"x":-19.7777},{"y":19.2267,"duration":3,"tweenEasing":0,"x":-19.7777},{"y":19.2267,"duration":0,"x":-19.7777}],"scaleFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":2,"tweenEasing":0,"rotate":-50.29},{"duration":3,"tweenEasing":0,"rotate":-58.5649},{"duration":0,"rotate":-50.29}],"name":"beardL"},{"translateFrame":[{"y":1.1591,"duration":5,"tweenEasing":0,"x":-8.0809},{"y":1.1591,"duration":0,"x":-8.0809}],"scaleFrame":[{"duration":5,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":5,"tweenEasing":0,"rotate":-13.13},{"duration":0,"rotate":-13.13}],"name":"armR"},{"translateFrame":[{"y":6.7484,"duration":2,"tweenEasing":0,"x":-8.1489},{"y":6.8295,"duration":3,"tweenEasing":0,"x":-8.0331},{"y":6.7484,"duration":0,"x":-8.1489}],"scaleFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":2,"tweenEasing":0,"rotate":42.5},{"duration":3,"tweenEasing":0,"rotate":50.23},{"duration":0,"rotate":42.5}],"name":"beardR"},{"translateFrame":[{"y":-6.0436,"duration":2,"tweenEasing":0,"x":-0.8181},{"y":-2.7989,"duration":3,"tweenEasing":0,"x":3.8157},{"y":-6.0436,"duration":0,"x":-0.8181}],"scaleFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":2,"tweenEasing":0,"rotate":-10},{"duration":3,"tweenEasing":0,"rotate":-10},{"duration":0,"rotate":-10}],"name":"hair"},{"translateFrame":[{"y":2.1665,"duration":5,"tweenEasing":0,"x":1.4963},{"y":2.1665,"duration":0,"x":1.4963}],"scaleFrame":[{"duration":5,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":5,"tweenEasing":0,"rotate":-0.48},{"duration":0,"rotate":-0.48}],"name":"handR"},{"translateFrame":[{"y":-3.8513,"duration":5,"tweenEasing":0,"x":-14.1093},{"y":-3.8513,"duration":0,"x":-14.1093}],"scaleFrame":[{"duration":5,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":5,"tweenEasing":0,"rotate":-8.55},{"duration":0,"rotate":-8.55}],"name":"handL"},{"translateFrame":[],"scaleFrame":[],"rotateFrame":[],"name":"bone"},{"translateFrame":[],"scaleFrame":[],"rotateFrame":[],"name":"bone1"},{"translateFrame":[],"scaleFrame":[],"rotateFrame":[],"name":"bone2"},{"translateFrame":[],"scaleFrame":[],"rotateFrame":[],"name":"Flame"},{"translateFrame":[],"scaleFrame":[],"rotateFrame":[],"name":"FlameA"},{"translateFrame":[],"scaleFrame":[],"rotateFrame":[],"name":"FlameB"}],"ffd":[],"name":"jump"},{"slot":[{"displayFrame":[{"duration":2},{"duration":3},{"duration":0}],"colorFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"name":"tailTip"},{"displayFrame":[{"duration":2},{"duration":3},{"duration":0}],"colorFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"name":"armUpperL"},{"displayFrame":[{"duration":5},{"duration":0}],"colorFrame":[{"duration":5,"tweenEasing":0},{"duration":0}],"name":"armL"},{"displayFrame":[{"duration":5},{"duration":0}],"colorFrame":[{"duration":5,"tweenEasing":0},{"duration":0}],"name":"handL"},{"displayFrame":[{"duration":2},{"duration":3},{"duration":0}],"colorFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"name":"legL"},{"displayFrame":[{"duration":5},{"duration":0}],"colorFrame":[{"duration":5,"tweenEasing":0},{"duration":0}],"name":"body"},{"displayFrame":[{"duration":2},{"duration":3},{"duration":0}],"colorFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"name":"tail"},{"displayFrame":[{"duration":2},{"duration":3},{"duration":0}],"colorFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"name":"clothes"},{"displayFrame":[{"duration":2},{"duration":3},{"duration":0}],"colorFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"name":"hair"},{"displayFrame":[{"duration":5},{"duration":0}],"colorFrame":[{"duration":5,"tweenEasing":0},{"duration":0}],"name":"head"},{"displayFrame":[{"duration":2},{"duration":3},{"duration":0}],"colorFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"name":"eyeL"},{"displayFrame":[{"duration":2},{"duration":3},{"duration":0}],"colorFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"name":"eyeR"},{"displayFrame":[{"duration":2},{"duration":3},{"duration":0}],"colorFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"name":"legR"},{"displayFrame":[{"duration":2},{"duration":3},{"duration":0}],"colorFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"name":"armUpperR"},{"displayFrame":[{"duration":5},{"duration":0}],"colorFrame":[{"duration":5,"tweenEasing":0},{"duration":0}],"name":"armR"},{"displayFrame":[{"duration":5},{"duration":0}],"colorFrame":[{"duration":5,"tweenEasing":0},{"duration":0}],"name":"handR"},{"displayFrame":[{"duration":2},{"duration":3},{"duration":0}],"colorFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"name":"beardL"},{"displayFrame":[{"duration":2},{"duration":3},{"duration":0}],"colorFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"name":"beardR"},{"displayFrame":[],"colorFrame":[],"name":"bone1"},{"displayFrame":[],"colorFrame":[],"name":"bone1_Polygon"},{"displayFrame":[],"colorFrame":[],"name":"bone1_Box"},{"displayFrame":[],"colorFrame":[],"name":"bone1_Triangle"},{"displayFrame":[],"colorFrame":[],"name":"bone2"},{"displayFrame":[],"colorFrame":[],"name":"tailTip1"}],"frame":[],"duration":5,"playTimes":0,"bone":[{"translateFrame":[{"duration":5}],"scaleFrame":[{"duration":5}],"rotateFrame":[{"duration":5}],"name":"root"},{"translateFrame":[{"y":-66,"duration":5,"tweenEasing":0},{"y":-66,"duration":0}],"scaleFrame":[{"duration":5,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":5,"tweenEasing":0},{"duration":0}],"name":"body"},{"translateFrame":[{"y":8.9644,"duration":2,"tweenEasing":0,"x":6.1797},{"y":8.576,"duration":3,"tweenEasing":0,"x":1.7095},{"y":8.9644,"duration":0,"x":6.1797}],"scaleFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":2,"tweenEasing":0,"rotate":27.76},{"duration":3,"tweenEasing":0,"rotate":27.76},{"duration":0,"rotate":27.76}],"name":"legR"},{"translateFrame":[{"y":10,"duration":2,"tweenEasing":0},{"y":9.8705,"duration":3,"tweenEasing":0,"x":-1.49},{"y":10,"duration":0}],"scaleFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":2,"tweenEasing":0,"rotate":-69.64},{"duration":3,"tweenEasing":0,"rotate":-66.683},{"duration":0,"rotate":-69.64}],"name":"armUpperR"},{"translateFrame":[{"y":7.9,"duration":2,"tweenEasing":0,"x":22.6},{"y":7.6411,"duration":3,"tweenEasing":0,"x":19.6199},{"y":7.9,"duration":0,"x":22.6}],"scaleFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":2,"tweenEasing":0,"rotate":50.73},{"duration":3,"tweenEasing":0,"rotate":50.73},{"duration":0,"rotate":50.73}],"name":"legL"},{"translateFrame":[{"y":-3.4,"duration":5,"tweenEasing":0,"x":11},{"y":-3.4,"duration":0,"x":11}],"scaleFrame":[{"duration":5,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":5,"tweenEasing":0,"rotate":-8.73},{"duration":0,"rotate":-8.73}],"name":"head"},{"translateFrame":[{"y":4,"duration":2,"tweenEasing":0},{"y":4.2589,"duration":3,"tweenEasing":0,"x":2.9801},{"y":4,"duration":0}],"scaleFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":2,"tweenEasing":0,"rotate":92.45},{"duration":3,"tweenEasing":0,"rotate":89.9735},{"duration":0,"rotate":92.45}],"name":"armUpperL"},{"translateFrame":[{"y":-6.1,"duration":2,"tweenEasing":0,"x":-3.9},{"y":-6.1,"duration":3,"tweenEasing":0,"x":-3.9},{"y":-6.1,"duration":0,"x":-3.9}],"scaleFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":2,"tweenEasing":0,"rotate":-18.47},{"duration":3,"tweenEasing":0,"rotate":-22.44},{"duration":0,"rotate":-18.47}],"name":"tail"},{"translateFrame":[{"y":-4.8621,"duration":2,"tweenEasing":0,"x":-6.0066},{"y":-4.4737,"duration":3,"tweenEasing":0,"x":-1.5365},{"y":-4.8621,"duration":0,"x":-6.0066}],"scaleFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"name":"clothes"},{"translateFrame":[{"y":5.8138,"duration":5,"tweenEasing":0,"x":4.3491},{"y":5.8138,"duration":0,"x":4.3491}],"scaleFrame":[{"duration":5,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":5,"tweenEasing":0,"rotate":-53.9},{"duration":0,"rotate":-53.9}],"name":"armL"},{"translateFrame":[{"y":-4.6145,"duration":2,"tweenEasing":0,"x":-17.7606},{"y":-3.0052,"duration":3,"tweenEasing":0,"x":-14.8289},{"y":-4.6145,"duration":0,"x":-17.7606}],"scaleFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":2,"tweenEasing":0,"rotate":8.73},{"duration":3,"tweenEasing":0,"rotate":8.73},{"duration":0,"rotate":8.73}],"name":"eyeR"},{"translateFrame":[{"y":-1.156,"duration":2,"tweenEasing":0,"x":2.7983},{"y":1.7886,"duration":3,"tweenEasing":0,"x":1.817},{"y":-1.156,"duration":0,"x":2.7983}],"scaleFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":2,"tweenEasing":0,"rotate":0.14},{"duration":3,"tweenEasing":0,"rotate":-0.83},{"duration":0,"rotate":0.14}],"name":"tailTip"},{"translateFrame":[{"y":-8.1532,"duration":2,"tweenEasing":0,"x":-13.0014},{"y":-5.9369,"duration":3,"tweenEasing":0,"x":-13.2195},{"y":-8.1532,"duration":0,"x":-13.0014}],"scaleFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":2,"tweenEasing":0,"rotate":8.73},{"duration":3,"tweenEasing":0,"rotate":8.73},{"duration":0,"rotate":8.73}],"name":"eyeL"},{"translateFrame":[{"y":7.7817,"duration":2,"tweenEasing":0,"x":0.3247},{"y":7.7817,"duration":3,"tweenEasing":0,"x":0.3247},{"y":7.7817,"duration":0,"x":0.3247}],"scaleFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":2,"tweenEasing":0,"rotate":-2.54},{"duration":3,"tweenEasing":0,"rotate":25.1339},{"duration":0,"rotate":-2.54}],"name":"beardL"},{"translateFrame":[{"y":-3.1965,"duration":5,"tweenEasing":0,"x":-11.2069},{"y":-3.1965,"duration":0,"x":-11.2069}],"scaleFrame":[{"duration":5,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":5,"tweenEasing":0,"rotate":-13.14},{"duration":0,"rotate":-13.14}],"name":"armR"},{"translateFrame":[{"y":5.251,"duration":2,"tweenEasing":0,"x":-7.8667},{"y":5.251,"duration":3,"tweenEasing":0,"x":-7.8667},{"y":5.251,"duration":0,"x":-7.8667}],"scaleFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":2,"tweenEasing":0,"rotate":8.96},{"duration":3,"tweenEasing":0,"rotate":-6.04},{"duration":0,"rotate":8.96}],"name":"beardR"},{"translateFrame":[{"y":7.2382,"duration":2,"tweenEasing":0,"x":0.5909},{"y":0.2075,"duration":3,"tweenEasing":0,"x":-6.3221},{"y":7.2382,"duration":0,"x":0.5909}],"scaleFrame":[{"duration":2,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":2,"tweenEasing":0,"rotate":-6.27},{"duration":3,"tweenEasing":0,"rotate":-7.09},{"duration":0,"rotate":-6.27}],"name":"hair"},{"translateFrame":[{"y":-1.3692,"duration":5,"tweenEasing":0,"x":-3.9387},{"y":-1.3692,"duration":0,"x":-3.9387}],"scaleFrame":[{"duration":5,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":5,"tweenEasing":0,"rotate":29.52},{"duration":0,"rotate":29.52}],"name":"handR"},{"translateFrame":[{"y":1.4681,"duration":5,"tweenEasing":0,"x":-3.5985},{"y":1.4681,"duration":0,"x":-3.5985}],"scaleFrame":[{"duration":5,"tweenEasing":0},{"duration":0}],"rotateFrame":[{"duration":5,"tweenEasing":0,"rotate":21.45},{"duration":0,"rotate":21.45}],"name":"handL"},{"translateFrame":[],"scaleFrame":[],"rotateFrame":[],"name":"bone"},{"translateFrame":[],"scaleFrame":[],"rotateFrame":[],"name":"bone1"},{"translateFrame":[],"scaleFrame":[],"rotateFrame":[],"name":"bone2"},{"translateFrame":[],"scaleFrame":[],"rotateFrame":[],"name":"Flame"},{"translateFrame":[],"scaleFrame":[],"rotateFrame":[],"name":"FlameA"},{"translateFrame":[],"scaleFrame":[],"rotateFrame":[],"name":"FlameB"}],"ffd":[],"name":"fall"}],"skin":[{"name":"","slot":[{"display":[{"width":112,"height":210,"type":"mesh","vertices":[-53.44,-32.93,55.05,-31.44,-42.76,91.42,23.15,95.65,-4.17,49.25,-12.12,104.99,51.48,42.94,-55.9,47.31],"transform":{},"edges":[0,4,4,1,3,5,5,2,1,6,6,3,2,7,7,0],"path":"parts/tailTip","userEdges":[],"triangles":[0,7,6,0,6,1,4,0,1,7,3,6,7,2,5,7,5,3],"name":"parts/tailTip","uvs":[0.02282,0.34318,1,0.35026,0.12104,0.93544,0.707,0.9538,0.51738,0,0.39973,1,0.96442,0.70346,0,0.72499]}],"name":"bone2"},{"display":[{"path":"parts/legR","type":"image","name":"parts/legR","transform":{"y":-6.0098,"x":82.5819,"skX":-94.0239,"skY":-94.0239}}],"name":"legR"},{"display":[{"type":"boundingBox","vertices":[-56.79999999999994,-15.02999999999997,-58.09999999999995,47.47000000000002,41.90000000000005,47.47000000000002,59.3,-0.7697290213053658,63.699999999999974,-78.62999999999998],"transform":{"y":0.0429,"x":70.8463,"skX":83.4696,"skY":83.4696},"subType":"polygon","path":"bone1_boundingBox","name":"bone1_boundingBox"}],"name":"bone1_Polygon"},{"display":[{"path":"parts/armL","type":"image","name":"parts/armL","transform":{"y":-2.8771,"x":26.6948,"skX":98.2989,"skY":98.2989}}],"name":"armL"},{"display":[{"path":"parts/beardR","type":"image","name":"parts/beardR","transform":{"y":0.2,"x":61.6}}],"name":"beardR"},{"display":[{"path":"parts/tailTip","type":"image","name":"parts/tailTip","transform":{"y":-0.8219,"x":81.6504,"skX":82.7421,"skY":82.7421}}],"name":"tailTip"},{"display":[{"path":"parts/handR","type":"image","name":"parts/handR","transform":{"y":5.0626,"x":23.0456,"skX":-88.1106,"skY":-88.1106}}],"name":"handR"},{"display":[{"path":"parts/armUpperR","type":"image","name":"parts/armUpperR","transform":{"y":4.7392,"x":56.5203,"skX":13.9232,"skY":13.9232}}],"name":"armUpperR"},{"display":[{"path":"parts/legL","type":"image","name":"parts/legL","transform":{"y":-6.446,"x":101.115,"skX":-146.9135,"skY":-146.9135}}],"name":"legL"},{"display":[{"path":"parts/eyeR","type":"image","name":"parts/eyeR","transform":{"y":-0.5,"x":1.5}}],"name":"eyeR"},{"display":[{"path":"parts/head","type":"image","name":"parts/head","transform":{"y":-10.5387,"x":122.955,"skX":80.4531,"skY":80.4531}}],"name":"head"},{"display":[{"path":"parts/clothes1","type":"image","name":"parts/clothes1","transform":{"y":16.0499,"x":32.3981,"skX":132.4995,"skY":132.4995}}],"name":"clothes"},{"display":[{"triangles":[1,0,6,0,4,6,4,7,6,8,3,7,4,8,7,8,2,3,5,0,1],"vertices":[-44.8,-59.75,43.35,-56.85,-12.05,105.2,26.2,94.15,-56,12.45,0,-105,55.65,-11.05,50.72,45.76,-47.6,82.35],"uvs":[0.1,0.21548,0.88705,0.22929,0.39241,1.00095,0.73393,0.94833,0,0.55929,0.5,0,0.99688,0.44738,0.95289,0.71788,0.075,0.89214],"slotPose":[0.8534828447305008,0.5211209396586667,-0.5211209396586667,0.8534828447305008,515.5270896088624,-130.37825545263655],"path":"parts/tailTip","userEdges":[],"bonePose":[22,0.6054051249886484,-0.7959174797913908,0.7959174797913908,0.6054051249886484,478.9950322896637,-82.08163730183118,24,0.33176705094745074,-0.9433613432326085,0.9433613432326085,0.33176705094745074,470.910807561336,-121.49223285242827,23,0.8897137512203974,-0.4565188286252042,0.4565188286252042,0.8897137512203974,525.6477458260542,-89.10480753456585,11,0.6054051249886484,-0.7959174797913908,0.7959174797913908,0.6054051249886484,354.09408629632713,90.44229506857896],"weights":[2,22,0.22,24,0.78,2,22,0.16,23,0.84,2,11,0.76,22,0.24,2,22,0.47,11,0.53,2,22,0.24,24,0.76,1,22,1,2,22,0.09,23,0.91,2,22,0.65,23,0.35000000000000003,2,22,0.52,11,0.48],"type":"mesh","transform":{"y":-0.1625,"x":60.5568,"skX":84.1495,"skY":84.1495},"width":112,"height":210,"name":"parts/tailTip","edges":[3,2,4,0,0,5,5,1,1,6,6,7,7,3,2,8,8,4]}],"name":"tailTip1"},{"display":[{"path":"parts/body","type":"image","name":"parts/body","transform":{"y":0.6195,"x":-0.9572,"skX":94.9653,"skY":94.9653}}],"name":"body"},{"display":[{"type":"boundingBox","vertices":[-50,-50,-50,50,50,50,50,-50],"transform":{"y":-59.8047,"x":-6.846,"skX":83.4696,"skY":83.4696},"subType":"polygon","path":"bone1_boundingBox1","name":"bone1_boundingBox1"}],"name":"bone1_Box"},{"display":[{"path":"parts/handL","type":"image","name":"parts/handL","transform":{"y":-1.4511,"x":34.7325,"skX":146.6156,"skY":146.6156}}],"name":"handL"},{"display":[{"transform":{},"path":"Arm","type":"armature","name":"Arm","filterType":null}],"actions":[{"gotoAndPlay":"animtion0"}],"name":"bone1"},{"display":[{"path":"parts/armUpperL","type":"image","name":"parts/armUpperL","transform":{"y":4.3217,"x":27.8984,"skX":-148.2623,"skY":-148.2623}}],"name":"armUpperL"},{"display":[{"path":"parts/beardL","type":"image","name":"parts/beardL","transform":{"y":-4.3543,"x":49.9847,"skX":-174.0434,"skY":-174.0434}}],"name":"beardL"},{"display":[{"path":"parts/armR","type":"image","name":"parts/armR","transform":{"y":2.7905,"x":14.2173,"skX":-85.2356,"skY":-85.2356}}],"name":"armR"},{"display":[{"type":"boundingBox","vertices":[-66.66666666666671,33.33333333333333,33.33333333333335,33.333333333333336,33.33333333333335,-66.6666666666667],"transform":{"y":18.454,"x":-14.663,"skX":83.4696,"skY":83.4696},"subType":"polygon","path":"bone1_boundingBox2","name":"bone1_boundingBox2"}],"name":"bone1_Triangle"},{"display":[{"path":"parts/eyeL","type":"image","name":"parts/eyeL","transform":{"y":0.4,"x":0.3}}],"name":"eyeL"},{"display":[{"path":"parts/hair","type":"image","name":"parts/hair","transform":{"y":0.3975,"x":0.045,"skX":-4.9086,"skY":-4.9086}}],"name":"hair"},{"display":[{"path":"parts/tail","type":"image","name":"parts/tail","transform":{"y":-0.3072,"x":120.9881,"skX":45.2229,"skY":45.2229}}],"name":"tail"}]}],"bone":[{"name":"root","transform":{}},{"length":150,"transform":{"y":50.5419,"x":26.0941,"skX":-94.9653,"skY":-94.9653},"parent":"root","name":"body"},{"length":120,"transform":{"y":46.9,"x":-95.6182,"skX":-156.0107,"skY":-156.0107},"parent":"body","name":"legR"},{"length":150,"transform":{"y":31.3927,"x":80.5853,"skX":159.9921,"skY":159.9921},"parent":"body","name":"armUpperR"},{"length":150,"transform":{"y":-60.2758,"x":-71.0496,"skX":-154.3312,"skY":-154.3312},"parent":"body","name":"legL"},{"length":150,"transform":{"y":-5.8037,"x":163.1145,"skX":11.4957,"skY":11.4957},"parent":"body","name":"head"},{"length":70,"transform":{"y":-93.6047,"x":74.4813,"skX":-171.7742,"skY":-171.7742},"parent":"body","name":"armUpperL"},{"length":250,"transform":{"y":70.127,"x":-117.1092,"skX":79.7425,"skY":79.7425},"parent":"body","name":"tail"},{"length":80,"transform":{"y":-31.7416,"x":1.423,"skX":-37.5342,"skY":-37.5342},"parent":"body","name":"clothes"},{"length":60,"transform":{"y":2.2256,"x":66.7632,"skX":30.7088,"skY":30.7088},"parent":"armUpperL","name":"armL"},{"transform":{"y":-23.9957,"x":140.2628,"skX":80.4531,"skY":80.4531},"name":"eyeR","parent":"head"},{"length":150,"transform":{"y":-3.1008,"x":257.8621,"skX":-37.5192,"skY":-37.5192},"parent":"tail","name":"tailTip"},{"transform":{"y":-101.188,"x":133.7701,"skX":80.4531,"skY":80.4531},"name":"eyeL","parent":"head"},{"length":80,"transform":{"y":-133.6248,"x":7.4588,"skX":-105.5036,"skY":-105.5036},"parent":"head","name":"beardL"},{"length":50,"transform":{"y":0.5285,"x":138.7492,"skX":35.2088,"skY":35.2088},"parent":"armUpperR","name":"armR"},{"length":80,"transform":{"y":-35.857,"x":23.2753,"skX":80.4531,"skY":80.4531},"parent":"head","name":"beardR"},{"length":50,"transform":{"y":80.6309,"x":104.8249,"skX":86.9099,"skY":86.9099},"parent":"head","name":"hair"},{"length":100,"transform":{"y":149.4893,"x":177.1122},"parent":"head","name":"bone"},{"transform":{"y":-224.4336,"x":133.0404},"name":"bone1","parent":"head"},{"transform":{"y":209.0563,"x":23.9313,"skX":96.6544,"skY":96.6544},"name":"bone2","parent":"head"},{"length":40,"transform":{"y":1.1079,"x":43.3874,"skX":17.875,"skY":17.875},"parent":"armR","name":"handR"},{"length":80,"transform":{"y":-0.4273,"x":66.6309,"skX":4.4133,"skY":4.4133},"parent":"armL","name":"handL"},{"length":70,"transform":{"y":-5.036,"x":212.9305},"parent":"tailTip","name":"Flame"},{"length":25,"transform":{"y":32.8798,"x":33.8337,"skX":25.5793,"skY":25.5793},"parent":"Flame","name":"FlameA"},{"length":25,"transform":{"y":-30.2938,"x":26.4734,"skX":-17.8819,"skY":-17.8819},"parent":"Flame","name":"FlameB"}],"frameRate":24,"defaultActions":[{"gotoAndPlay":"stand"}]},{"slot":[{"name":"beardR","parent":"bone","color":{}},{"z":1,"name":"tail","parent":"bone1","color":{"bM":0,"rM":0,"gM":38}}],"ik":[],"type":"Armature","name":"Arm","aabb":{"width":216,"y":-142.5548,"height":278,"x":-24.074600000000004},"animation":[{"slot":[{"displayFrame":[],"colorFrame":[],"name":"beardR"},{"displayFrame":[],"colorFrame":[],"name":"tail"}],"frame":[],"duration":0,"playTimes":0,"bone":[{"translateFrame":[],"scaleFrame":[],"rotateFrame":[],"name":"root"},{"translateFrame":[],"scaleFrame":[],"rotateFrame":[],"name":"bone"},{"translateFrame":[],"scaleFrame":[],"rotateFrame":[],"name":"bone1"}],"ffd":[],"name":"animtion0"},{"slot":[{"displayFrame":[],"colorFrame":[],"name":"beardR"},{"displayFrame":[],"colorFrame":[],"name":"tail"}],"frame":[{"action":"flip","duration":0,"tweenEasing":null}],"duration":8,"bone":[{"translateFrame":[],"scaleFrame":[],"rotateFrame":[],"name":"root"},{"translateFrame":[],"scaleFrame":[],"rotateFrame":[{"duration":2,"tweenEasing":0},{"duration":2,"tweenEasing":0,"rotate":-91.1104},{"duration":2,"tweenEasing":0,"rotate":-168.0005},{"duration":2,"tweenEasing":0,"rotate":99.2371},{"duration":0}],"name":"bone"},{"translateFrame":[],"scaleFrame":[],"rotateFrame":[],"name":"bone1"}],"ffd":[],"name":"flip"}],"skin":[{"name":"","slot":[{"display":[{"path":"parts/tail","type":"image","name":"parts/tail","transform":{"y":-28.6972,"x":-3.9165,"skX":95.8642,"scY":0.2182,"skY":95.8642,"scX":0.2867}}],"name":"tail"},{"display":[{"path":"parts/beardR","type":"image","name":"parts/beardR","transform":{"y":-0.7033,"x":3.8682,"scX":0.5}}],"name":"beardR"}]}],"bone":[{"name":"root","transform":{"y":-18.6819,"x":11.4782}},{"transform":{"y":-12.5377,"x":54.7538},"name":"bone","parent":"root"},{"transform":{"y":56.362,"x":21.6099},"name":"bone1","parent":"bone"}],"frameRate":24,"defaultActions":[{"gotoAndPlay":"animtion0"}]},{"slot":[{"name":"head","parent":"root","color":{}}],"ik":[],"type":"Armature","name":"HeadArm","aabb":{"width":338,"y":-198.6704,"height":394,"x":-167.3176},"animation":[{"slot":[{"displayFrame":[],"colorFrame":[],"name":"head"}],"frame":[],"duration":0,"playTimes":0,"bone":[{"translateFrame":[],"scaleFrame":[],"rotateFrame":[],"name":"root"}],"ffd":[],"name":"animtion0"}],"skin":[{"name":"","slot":[{"display":[{"path":"parts/head","type":"image","name":"parts/head","transform":{"y":-1.6704,"x":1.6824,"scY":0.2,"scX":0.2}}],"name":"head"}]}],"bone":[{"name":"root","transform":{}}],"frameRate":24,"defaultActions":[{"gotoAndPlay":"animtion0"}]}],"frameRate":24,"name":"dragon","version":"5.5","isGlobal":0} \ No newline at end of file diff --git a/Binaries/Output/Release_Windows/Examples/skeleton_texture.json b/Binaries/Output/Release_Windows/Examples/skeleton_texture.json new file mode 100644 index 0000000000..a33a83fab5 --- /dev/null +++ b/Binaries/Output/Release_Windows/Examples/skeleton_texture.json @@ -0,0 +1 @@ +{"SubTexture":[{"frameY":0,"y":234,"frameWidth":112,"frameX":0,"frameHeight":210,"width":111,"height":209,"name":"parts/tailTip","x":456},{"width":112,"y":234,"height":86,"name":"parts/armUpperL","x":340},{"width":48,"y":859,"height":80,"name":"parts/armL","x":373},{"width":96,"y":922,"height":78,"name":"parts/handL","x":1},{"frameY":0,"y":677,"frameWidth":204,"frameX":0,"frameHeight":180,"width":203,"height":180,"name":"parts/legL","x":238},{"frameY":0,"y":397,"frameWidth":236,"frameX":0,"frameHeight":348,"width":235,"height":347,"name":"parts/body","x":1},{"width":216,"y":397,"height":278,"name":"parts/tail","x":238},{"width":208,"y":746,"height":174,"name":"parts/clothes1","x":1},{"width":124,"y":677,"height":282,"name":"parts/hair","x":443},{"frameY":0,"y":1,"frameWidth":338,"frameX":0,"frameHeight":394,"width":337,"height":394,"name":"parts/head","x":1},{"width":28,"y":961,"height":46,"name":"parts/eyeL","x":459},{"frameY":0,"y":961,"frameWidth":38,"frameX":0,"frameHeight":58,"width":37,"height":58,"name":"parts/eyeR","x":420},{"frameY":0,"y":1,"frameWidth":180,"frameX":0,"frameHeight":232,"width":180,"height":231,"name":"parts/legR","x":340},{"width":160,"y":859,"height":94,"name":"parts/armUpperR","x":211},{"frameY":0,"y":941,"frameWidth":46,"frameX":0,"frameHeight":78,"width":45,"height":77,"name":"parts/armR","x":373},{"width":98,"y":322,"height":58,"name":"parts/handR","x":340},{"frameY":0,"y":955,"frameWidth":120,"frameX":0,"frameHeight":36,"width":119,"height":36,"name":"parts/beardL","x":237},{"width":136,"y":955,"height":36,"name":"parts/beardR","x":99}],"width":1024,"height":1024,"name":"dragon","imagePath":"dragon_tex.png"} \ No newline at end of file diff --git a/Binaries/Output/Release_Windows/Examples/skeleton_texture.png b/Binaries/Output/Release_Windows/Examples/skeleton_texture.png new file mode 100644 index 0000000000..02cc390989 Binary files /dev/null and b/Binaries/Output/Release_Windows/Examples/skeleton_texture.png differ diff --git a/Extensions/SkeletonObject/Bskeletonruntimeobject-cocos-renderer.js b/Extensions/SkeletonObject/Bskeletonruntimeobject-cocos-renderer.js index bb4cc04f56..973b8f67ed 100644 --- a/Extensions/SkeletonObject/Bskeletonruntimeobject-cocos-renderer.js +++ b/Extensions/SkeletonObject/Bskeletonruntimeobject-cocos-renderer.js @@ -18,6 +18,7 @@ gdjs.sk.CocosDataLoader.prototype.getData = function(dataName){ gdjs.sk.CocosDataLoader.prototype.loadDragonBones = function(runtimeScene, objectData){ var textureData = this.getData(objectData.textureDataFilename); var texture = runtimeScene.getGame().getImageManager().getTexture(objectData.textureName); + if(!textureData || !texture._textureLoaded) return; for(var i=0; i texture.width) frame.x = 0; + if(frame.y > texture.height) frame.y = 0; + if(frame.x + frame.width > texture.width) frame.width = texture.width - frame.x; + if(frame.y + frame.height > texture.height) frame.height = texture.height - frame.y; + this.textures[subTex.name] = new PIXI.Texture(texture.baseTexture, frame=frame); } }; diff --git a/Extensions/SkeletonObject/Eskarmature.js b/Extensions/SkeletonObject/Eskarmature.js index 4be825a3ad..5746613315 100644 --- a/Extensions/SkeletonObject/Eskarmature.js +++ b/Extensions/SkeletonObject/Eskarmature.js @@ -147,6 +147,13 @@ gdjs.sk.Armature.prototype.loadData = function(armatureData, skeletalData, debug this.setRenderers(); }; +gdjs.sk.Armature.prototype.setAsRoot = function(){ + this.isRoot = true; + // Create an empty shared data, in case nothing is loaded + this.shared = new gdjs.sk.SharedArmature(); + this.shared.aabb = [[0,0], [0,0], [0,0], [0,0]]; +}; + gdjs.sk.Armature.prototype.getRenderer = function(){ return this.renderer; }; diff --git a/Extensions/SkeletonObject/Extension.cpp b/Extensions/SkeletonObject/Extension.cpp index 65d2b48092..9f6711b894 100644 --- a/Extensions/SkeletonObject/Extension.cpp +++ b/Extensions/SkeletonObject/Extension.cpp @@ -661,7 +661,7 @@ void DeclareSkeletonObjectExtension(gd::PlatformExtension & extension) extension.AddCondition("RaycastSlot", _("Raycast slot"), _("Same as Raycast, but intersects specific slots instead."), - _("Raycast _PARAM2_:_PARAM3_ from _PARAM1_;_PARAM2_"), + _("Raycast _PARAM0_:_PARAM1_ from _PARAM2_;_PARAM3_"), _("Collision"), "res/conditions/collision24.png", "res/conditions/collision.png") diff --git a/Extensions/SkeletonObject/Gskeletonruntimeobject.js b/Extensions/SkeletonObject/Gskeletonruntimeobject.js index cbd31c6115..5e9320776d 100644 --- a/Extensions/SkeletonObject/Gskeletonruntimeobject.js +++ b/Extensions/SkeletonObject/Gskeletonruntimeobject.js @@ -18,7 +18,7 @@ gdjs.SkeletonRuntimeObject = function(runtimeScene, objectData){ this.rootArmature = new gdjs.sk.Armature(this); this.rootArmature.getRenderer().putInScene(this, runtimeScene); - this.rootArmature.isRoot = true; + this.rootArmature.setAsRoot(); this.animationPlaying = true; this.animationSmooth = true; this.timeScale = 1.0; @@ -91,6 +91,13 @@ gdjs.SkeletonRuntimeObject.prototype.update = function(runtimeScene){ this.rootArmature.update(); }; +gdjs.SkeletonRuntimeObject.prototype.getDrawableX = function(){ + return this.getX() - this.rootArmature.shared.aabb[0][0] * Math.abs(this.scaleX); +}; +gdjs.SkeletonRuntimeObject.prototype.getDrawableY = function(){ + return this.getY() - this.rootArmature.shared.aabb[0][1] * Math.abs(this.scaleY); +}; + // Object instructions gdjs.SkeletonRuntimeObject.prototype.getScaleX = function(){ return this.scaleX; @@ -322,6 +329,8 @@ gdjs.SkeletonRuntimeObject.prototype.setSlotZOrder = function(slotPath, z){ gdjs.SkeletonRuntimeObject.prototype.isPointInsideSlot = function(slotPath, x, y){ var hitBoxes = this.getPolygons(slotPath); + if(!hitBoxes) return false; + for(var i = 0; i < this.hitBoxes.length; ++i) { if ( gdjs.Polygon.isPointInside(hitBoxes[i], x, y) ) return true; @@ -332,24 +341,17 @@ gdjs.SkeletonRuntimeObject.prototype.isPointInsideSlot = function(slotPath, x, y // Extension instructions gdjs.SkeletonRuntimeObject.prototype.raycastSlot = function(slotPath, x, y, angle, dist, closest){ - var objW = this.getWidth(); - var objH = this.getHeight(); - var diffX = this.getDrawableX()+this.getCenterX() - x; - var diffY = this.getDrawableY()+this.getCenterY() - y; - var boundingRadius = Math.sqrt(objW*objW + objH*objH)/2.0; - var result = gdjs.Polygon.raycastTest._statics.result; result.collision = false; - - if ( Math.sqrt(diffX*diffX + diffY*diffY) > boundingRadius + dist ) - return result; var endX = x + dist*Math.cos(angle*Math.PI/180.0); var endY = y + dist*Math.sin(angle*Math.PI/180.0); var testSqDist = closest ? dist*dist : 0; var hitBoxes = this.getPolygons(slotPath); - for (var i=0; i obj1BoundingRadius + obj2BoundingRadius ) - return false; - - //Do a real check if necessary. var hitBoxes1 = skl.getPolygons(slotPath); + if(!hitBoxes1) return false; + var hitBoxes2 = obj.getHitBoxes(); - for(var k = 0, lenBoxes1 = hitBoxes1.length;k obj1BoundingRadius + obj2BoundingRadius ) - return false; - - //Do a real check if necessary. var hitBoxes1 = skl1.getPolygons(slotPaths[0]); var hitBoxes2 = skl2.getPolygons(slotPaths[1]); - for(var k = 0, lenBoxes1 = hitBoxes1.length;k