fix:编辑器文件导入. add:example,runtime
This commit is contained in:
@@ -0,0 +1 @@
|
||||
{"animator":"1.0.0","mainStateMachine":{"layerPos":[-68.23754226233478,-21.050174637417967],"layerScale":1.2000000000000002,"anyStatePos":[-300,300],"subStates":["sheep_hit","sheep_idle","sheep_run"],"subStateMachines":[]},"subStateMachines":[],"defaultState":"sheep_idle","anyState":{"transitions":[{"toState":"sheep_hit","hasExitTime":false,"conditions":[{"param":"hit","value":0,"logic":0}]}]},"states":[{"position":[210,60],"upStateMachine":"BaseLayer","state":"sheep_hit","motion":"sheep_hit","speed":1,"multiplier":"","loop":false,"transitions":[{"toState":"sheep_idle","hasExitTime":true,"conditions":[]}]},{"position":[-240,60],"upStateMachine":"BaseLayer","state":"sheep_idle","motion":"sheep_idle","speed":1,"multiplier":"","loop":true,"transitions":[{"toState":"sheep_run","hasExitTime":false,"conditions":[{"param":"speed","value":0,"logic":2}]}]},{"position":[-240,-120],"upStateMachine":"BaseLayer","state":"sheep_run","motion":"sheep_run","speed":1,"multiplier":"","loop":true,"transitions":[{"toState":"sheep_idle","hasExitTime":false,"conditions":[{"param":"speed","value":0,"logic":0}]}]}],"parameters":[{"param":"speed","type":2,"init":0},{"param":"hit","type":3,"init":0}]}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"ver": "1.0.0",
|
||||
"uuid": "43806a1f-7be5-4bf1-9477-95e699fea019",
|
||||
"subMetas": {}
|
||||
}
|
@@ -0,0 +1 @@
|
||||
{"defaultState":"sheep_idle","anyState":{"transitions":[{"toState":"sheep_hit","hasExitTime":false,"conditions":[{"param":"hit","value":0,"logic":0}]}]},"states":[{"state":"sheep_hit","motion":"sheep_hit","speed":1,"multiplier":"","loop":false,"transitions":[{"toState":"sheep_idle","hasExitTime":true,"conditions":[]}]},{"state":"sheep_idle","motion":"sheep_idle","speed":1,"multiplier":"","loop":true,"transitions":[{"toState":"sheep_run","hasExitTime":false,"conditions":[{"param":"speed","value":0,"logic":2}]}]},{"state":"sheep_run","motion":"sheep_run","speed":1,"multiplier":"","loop":true,"transitions":[{"toState":"sheep_idle","hasExitTime":false,"conditions":[{"param":"speed","value":0,"logic":0}]}]}],"parameters":[{"param":"speed","type":2,"init":0},{"param":"hit","type":3,"init":0}]}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"ver": "1.0.0",
|
||||
"uuid": "eafb4a36-50c1-4417-b90a-234e6a57e0ba",
|
||||
"subMetas": {}
|
||||
}
|
191
examples/example2-2-2/assets/res/animation/sheep.plist
Normal file
191
examples/example2-2-2/assets/res/animation/sheep.plist
Normal file
@@ -0,0 +1,191 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>frames</key>
|
||||
<dict>
|
||||
<key>sheep_down_0.png</key>
|
||||
<dict>
|
||||
<key>frame</key>
|
||||
<string>{{2,2},{224,87}}</string>
|
||||
<key>offset</key>
|
||||
<string>{0,-25}</string>
|
||||
<key>rotated</key>
|
||||
<false/>
|
||||
<key>sourceColorRect</key>
|
||||
<string>{{2,61},{224,87}}</string>
|
||||
<key>sourceSize</key>
|
||||
<string>{228,159}</string>
|
||||
</dict>
|
||||
<key>sheep_down_1.png</key>
|
||||
<dict>
|
||||
<key>frame</key>
|
||||
<string>{{326,367},{152,103}}</string>
|
||||
<key>offset</key>
|
||||
<string>{-6,-8}</string>
|
||||
<key>rotated</key>
|
||||
<false/>
|
||||
<key>sourceColorRect</key>
|
||||
<string>{{32,36},{152,103}}</string>
|
||||
<key>sourceSize</key>
|
||||
<string>{228,159}</string>
|
||||
</dict>
|
||||
<key>sheep_down_2.png</key>
|
||||
<dict>
|
||||
<key>frame</key>
|
||||
<string>{{2,335},{166,105}}</string>
|
||||
<key>offset</key>
|
||||
<string>{-7,-3}</string>
|
||||
<key>rotated</key>
|
||||
<false/>
|
||||
<key>sourceColorRect</key>
|
||||
<string>{{24,30},{166,105}}</string>
|
||||
<key>sourceSize</key>
|
||||
<string>{228,159}</string>
|
||||
</dict>
|
||||
<key>sheep_jump_0.png</key>
|
||||
<dict>
|
||||
<key>frame</key>
|
||||
<string>{{326,472},{144,151}}</string>
|
||||
<key>offset</key>
|
||||
<string>{-10,0}</string>
|
||||
<key>rotated</key>
|
||||
<true/>
|
||||
<key>sourceColorRect</key>
|
||||
<string>{{32,4},{144,151}}</string>
|
||||
<key>sourceSize</key>
|
||||
<string>{228,159}</string>
|
||||
</dict>
|
||||
<key>sheep_jump_1.png</key>
|
||||
<dict>
|
||||
<key>frame</key>
|
||||
<string>{{170,351},{154,131}}</string>
|
||||
<key>offset</key>
|
||||
<string>{-13,2}</string>
|
||||
<key>rotated</key>
|
||||
<false/>
|
||||
<key>sourceColorRect</key>
|
||||
<string>{{24,12},{154,131}}</string>
|
||||
<key>sourceSize</key>
|
||||
<string>{228,159}</string>
|
||||
</dict>
|
||||
<key>sheep_jump_2.png</key>
|
||||
<dict>
|
||||
<key>frame</key>
|
||||
<string>{{348,260},{160,105}}</string>
|
||||
<key>offset</key>
|
||||
<string>{-10,4}</string>
|
||||
<key>rotated</key>
|
||||
<false/>
|
||||
<key>sourceColorRect</key>
|
||||
<string>{{24,23},{160,105}}</string>
|
||||
<key>sourceSize</key>
|
||||
<string>{228,159}</string>
|
||||
</dict>
|
||||
<key>sheep_jump_3.png</key>
|
||||
<dict>
|
||||
<key>frame</key>
|
||||
<string>{{2,442},{152,115}}</string>
|
||||
<key>offset</key>
|
||||
<string>{-12,-2}</string>
|
||||
<key>rotated</key>
|
||||
<false/>
|
||||
<key>sourceColorRect</key>
|
||||
<string>{{26,24},{152,115}}</string>
|
||||
<key>sourceSize</key>
|
||||
<string>{228,159}</string>
|
||||
</dict>
|
||||
<key>sheep_jump_4.png</key>
|
||||
<dict>
|
||||
<key>frame</key>
|
||||
<string>{{360,119},{148,139}}</string>
|
||||
<key>offset</key>
|
||||
<string>{-12,-2}</string>
|
||||
<key>rotated</key>
|
||||
<false/>
|
||||
<key>sourceColorRect</key>
|
||||
<string>{{28,12},{148,139}}</string>
|
||||
<key>sourceSize</key>
|
||||
<string>{228,159}</string>
|
||||
</dict>
|
||||
<key>sheep_run_0.png</key>
|
||||
<dict>
|
||||
<key>frame</key>
|
||||
<string>{{178,236},{168,113}}</string>
|
||||
<key>offset</key>
|
||||
<string>{-4,0}</string>
|
||||
<key>rotated</key>
|
||||
<false/>
|
||||
<key>sourceColorRect</key>
|
||||
<string>{{26,23},{168,113}}</string>
|
||||
<key>sourceSize</key>
|
||||
<string>{228,159}</string>
|
||||
</dict>
|
||||
<key>sheep_run_1.png</key>
|
||||
<dict>
|
||||
<key>frame</key>
|
||||
<string>{{182,119},{176,115}}</string>
|
||||
<key>offset</key>
|
||||
<string>{1,2}</string>
|
||||
<key>rotated</key>
|
||||
<false/>
|
||||
<key>sourceColorRect</key>
|
||||
<string>{{27,20},{176,115}}</string>
|
||||
<key>sourceSize</key>
|
||||
<string>{228,159}</string>
|
||||
</dict>
|
||||
<key>sheep_run_2.png</key>
|
||||
<dict>
|
||||
<key>frame</key>
|
||||
<string>{{228,2},{178,115}}</string>
|
||||
<key>offset</key>
|
||||
<string>{1,11}</string>
|
||||
<key>rotated</key>
|
||||
<false/>
|
||||
<key>sourceColorRect</key>
|
||||
<string>{{26,11},{178,115}}</string>
|
||||
<key>sourceSize</key>
|
||||
<string>{228,159}</string>
|
||||
</dict>
|
||||
<key>sheep_run_3.png</key>
|
||||
<dict>
|
||||
<key>frame</key>
|
||||
<string>{{2,91},{178,113}}</string>
|
||||
<key>offset</key>
|
||||
<string>{2,1}</string>
|
||||
<key>rotated</key>
|
||||
<false/>
|
||||
<key>sourceColorRect</key>
|
||||
<string>{{27,22},{178,113}}</string>
|
||||
<key>sourceSize</key>
|
||||
<string>{228,159}</string>
|
||||
</dict>
|
||||
<key>sheep_touch_0.png</key>
|
||||
<dict>
|
||||
<key>frame</key>
|
||||
<string>{{2,206},{174,127}}</string>
|
||||
<key>offset</key>
|
||||
<string>{-5,16}</string>
|
||||
<key>rotated</key>
|
||||
<false/>
|
||||
<key>sourceColorRect</key>
|
||||
<string>{{22,0},{174,127}}</string>
|
||||
<key>sourceSize</key>
|
||||
<string>{228,159}</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>metadata</key>
|
||||
<dict>
|
||||
<key>format</key>
|
||||
<integer>2</integer>
|
||||
<key>realTextureFileName</key>
|
||||
<string>sheep.png</string>
|
||||
<key>size</key>
|
||||
<string>{512,1024}</string>
|
||||
<key>smartupdate</key>
|
||||
<string>$TexturePacker:SmartUpdate:a7b82875050232ffbd24deccd7e379b7:847cb78fe45f863139518baf3831526a:13084b924613a7ef2ca9c6df3339651b$</string>
|
||||
<key>textureFileName</key>
|
||||
<string>sheep.png</string>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
298
examples/example2-2-2/assets/res/animation/sheep.plist.meta
Normal file
298
examples/example2-2-2/assets/res/animation/sheep.plist.meta
Normal file
@@ -0,0 +1,298 @@
|
||||
{
|
||||
"ver": "1.2.4",
|
||||
"uuid": "679478cf-f911-402f-9ad6-75649317cc25",
|
||||
"rawTextureUuid": "a82bf3f7-5244-411c-b8dc-7b800b3bab3c",
|
||||
"size": {
|
||||
"width": 512,
|
||||
"height": 1024
|
||||
},
|
||||
"type": "Texture Packer",
|
||||
"subMetas": {
|
||||
"sheep_down_0.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "19964863-36eb-437c-92e1-edff001c640b",
|
||||
"rawTextureUuid": "a82bf3f7-5244-411c-b8dc-7b800b3bab3c",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": -25,
|
||||
"trimX": 2,
|
||||
"trimY": 2,
|
||||
"width": 224,
|
||||
"height": 87,
|
||||
"rawWidth": 228,
|
||||
"rawHeight": 159,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"spriteType": "normal",
|
||||
"subMetas": {}
|
||||
},
|
||||
"sheep_down_1.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "d3dc5491-96af-489a-bd07-94fb66a4d390",
|
||||
"rawTextureUuid": "a82bf3f7-5244-411c-b8dc-7b800b3bab3c",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -6,
|
||||
"offsetY": -8,
|
||||
"trimX": 326,
|
||||
"trimY": 367,
|
||||
"width": 152,
|
||||
"height": 103,
|
||||
"rawWidth": 228,
|
||||
"rawHeight": 159,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"spriteType": "normal",
|
||||
"subMetas": {}
|
||||
},
|
||||
"sheep_down_2.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "36311098-60f7-4dbd-823f-d4b65bba51ac",
|
||||
"rawTextureUuid": "a82bf3f7-5244-411c-b8dc-7b800b3bab3c",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -7,
|
||||
"offsetY": -3,
|
||||
"trimX": 2,
|
||||
"trimY": 335,
|
||||
"width": 166,
|
||||
"height": 105,
|
||||
"rawWidth": 228,
|
||||
"rawHeight": 159,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"spriteType": "normal",
|
||||
"subMetas": {}
|
||||
},
|
||||
"sheep_jump_0.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "f99dcc0a-21fe-4a8b-83d4-ae2c6086f2bb",
|
||||
"rawTextureUuid": "a82bf3f7-5244-411c-b8dc-7b800b3bab3c",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": true,
|
||||
"offsetX": -10,
|
||||
"offsetY": 0,
|
||||
"trimX": 326,
|
||||
"trimY": 472,
|
||||
"width": 144,
|
||||
"height": 151,
|
||||
"rawWidth": 228,
|
||||
"rawHeight": 159,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"spriteType": "normal",
|
||||
"subMetas": {}
|
||||
},
|
||||
"sheep_jump_1.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "b0f22f00-acd5-4281-8237-5a5537be01eb",
|
||||
"rawTextureUuid": "a82bf3f7-5244-411c-b8dc-7b800b3bab3c",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -13,
|
||||
"offsetY": 2,
|
||||
"trimX": 170,
|
||||
"trimY": 351,
|
||||
"width": 154,
|
||||
"height": 131,
|
||||
"rawWidth": 228,
|
||||
"rawHeight": 159,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"spriteType": "normal",
|
||||
"subMetas": {}
|
||||
},
|
||||
"sheep_jump_2.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "bea82e28-c68e-469e-8a2e-f960bfd6fd83",
|
||||
"rawTextureUuid": "a82bf3f7-5244-411c-b8dc-7b800b3bab3c",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -10,
|
||||
"offsetY": 4,
|
||||
"trimX": 348,
|
||||
"trimY": 260,
|
||||
"width": 160,
|
||||
"height": 105,
|
||||
"rawWidth": 228,
|
||||
"rawHeight": 159,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"spriteType": "normal",
|
||||
"subMetas": {}
|
||||
},
|
||||
"sheep_jump_3.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "13d1ac9b-9adb-4bc2-94ea-6d5cc86c4576",
|
||||
"rawTextureUuid": "a82bf3f7-5244-411c-b8dc-7b800b3bab3c",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -12,
|
||||
"offsetY": -2,
|
||||
"trimX": 2,
|
||||
"trimY": 442,
|
||||
"width": 152,
|
||||
"height": 115,
|
||||
"rawWidth": 228,
|
||||
"rawHeight": 159,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"spriteType": "normal",
|
||||
"subMetas": {}
|
||||
},
|
||||
"sheep_jump_4.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "4a35b378-ad2b-46cd-ae2a-52e34773b1e9",
|
||||
"rawTextureUuid": "a82bf3f7-5244-411c-b8dc-7b800b3bab3c",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -12,
|
||||
"offsetY": -2,
|
||||
"trimX": 360,
|
||||
"trimY": 119,
|
||||
"width": 148,
|
||||
"height": 139,
|
||||
"rawWidth": 228,
|
||||
"rawHeight": 159,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"spriteType": "normal",
|
||||
"subMetas": {}
|
||||
},
|
||||
"sheep_run_0.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "b483caae-e5fd-4067-ac76-bd2b7227af39",
|
||||
"rawTextureUuid": "a82bf3f7-5244-411c-b8dc-7b800b3bab3c",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -4,
|
||||
"offsetY": 0,
|
||||
"trimX": 178,
|
||||
"trimY": 236,
|
||||
"width": 168,
|
||||
"height": 113,
|
||||
"rawWidth": 228,
|
||||
"rawHeight": 159,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"spriteType": "normal",
|
||||
"subMetas": {}
|
||||
},
|
||||
"sheep_run_1.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "641ca71a-5ade-4f52-a845-9105b17e0d85",
|
||||
"rawTextureUuid": "a82bf3f7-5244-411c-b8dc-7b800b3bab3c",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 1,
|
||||
"offsetY": 2,
|
||||
"trimX": 182,
|
||||
"trimY": 119,
|
||||
"width": 176,
|
||||
"height": 115,
|
||||
"rawWidth": 228,
|
||||
"rawHeight": 159,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"spriteType": "normal",
|
||||
"subMetas": {}
|
||||
},
|
||||
"sheep_run_2.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "d98cc8d8-8bc1-48e1-a8c1-941df564e02c",
|
||||
"rawTextureUuid": "a82bf3f7-5244-411c-b8dc-7b800b3bab3c",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 1,
|
||||
"offsetY": 11,
|
||||
"trimX": 228,
|
||||
"trimY": 2,
|
||||
"width": 178,
|
||||
"height": 115,
|
||||
"rawWidth": 228,
|
||||
"rawHeight": 159,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"spriteType": "normal",
|
||||
"subMetas": {}
|
||||
},
|
||||
"sheep_run_3.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "237ec4a7-7729-43d5-90d2-1e5b629aad69",
|
||||
"rawTextureUuid": "a82bf3f7-5244-411c-b8dc-7b800b3bab3c",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 2,
|
||||
"offsetY": 1,
|
||||
"trimX": 2,
|
||||
"trimY": 91,
|
||||
"width": 178,
|
||||
"height": 113,
|
||||
"rawWidth": 228,
|
||||
"rawHeight": 159,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"spriteType": "normal",
|
||||
"subMetas": {}
|
||||
},
|
||||
"sheep_touch_0.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "5d309671-90b5-42bd-b193-4aee80a602d1",
|
||||
"rawTextureUuid": "a82bf3f7-5244-411c-b8dc-7b800b3bab3c",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -5,
|
||||
"offsetY": 16,
|
||||
"trimX": 2,
|
||||
"trimY": 206,
|
||||
"width": 174,
|
||||
"height": 127,
|
||||
"rawWidth": 228,
|
||||
"rawHeight": 159,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"spriteType": "normal",
|
||||
"subMetas": {}
|
||||
}
|
||||
}
|
||||
}
|
BIN
examples/example2-2-2/assets/res/animation/sheep.png
Normal file
BIN
examples/example2-2-2/assets/res/animation/sheep.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 250 KiB |
12
examples/example2-2-2/assets/res/animation/sheep.png.meta
Normal file
12
examples/example2-2-2/assets/res/animation/sheep.png.meta
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"ver": "2.3.3",
|
||||
"uuid": "a82bf3f7-5244-411c-b8dc-7b800b3bab3c",
|
||||
"type": "raw",
|
||||
"wrapMode": "clamp",
|
||||
"filterMode": "bilinear",
|
||||
"premultiplyAlpha": false,
|
||||
"genMipmaps": false,
|
||||
"packable": true,
|
||||
"platformSettings": {},
|
||||
"subMetas": {}
|
||||
}
|
43
examples/example2-2-2/assets/res/animation/sheep_hit.anim
Normal file
43
examples/example2-2-2/assets/res/animation/sheep_hit.anim
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"__type__": "cc.AnimationClip",
|
||||
"_name": "sheep_hit",
|
||||
"_objFlags": 0,
|
||||
"_native": "",
|
||||
"_duration": 0.5166666666666667,
|
||||
"sample": 60,
|
||||
"speed": 1,
|
||||
"wrapMode": 1,
|
||||
"curveData": {
|
||||
"comps": {
|
||||
"cc.Sprite": {
|
||||
"spriteFrame": [
|
||||
{
|
||||
"frame": 0,
|
||||
"value": {
|
||||
"__uuid__": "5d309671-90b5-42bd-b193-4aee80a602d1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"frame": 0.16666666666666666,
|
||||
"value": {
|
||||
"__uuid__": "19964863-36eb-437c-92e1-edff001c640b"
|
||||
}
|
||||
},
|
||||
{
|
||||
"frame": 0.3333333333333333,
|
||||
"value": {
|
||||
"__uuid__": "d3dc5491-96af-489a-bd07-94fb66a4d390"
|
||||
}
|
||||
},
|
||||
{
|
||||
"frame": 0.5,
|
||||
"value": {
|
||||
"__uuid__": "36311098-60f7-4dbd-823f-d4b65bba51ac"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"events": []
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"ver": "2.1.0",
|
||||
"uuid": "24d1963d-df84-4647-9b79-6d34ae17a827",
|
||||
"subMetas": {}
|
||||
}
|
25
examples/example2-2-2/assets/res/animation/sheep_idle.anim
Normal file
25
examples/example2-2-2/assets/res/animation/sheep_idle.anim
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"__type__": "cc.AnimationClip",
|
||||
"_name": "sheep_idle",
|
||||
"_objFlags": 0,
|
||||
"_native": "",
|
||||
"_duration": 0.016666666666666666,
|
||||
"sample": 60,
|
||||
"speed": 1,
|
||||
"wrapMode": 2,
|
||||
"curveData": {
|
||||
"comps": {
|
||||
"cc.Sprite": {
|
||||
"spriteFrame": [
|
||||
{
|
||||
"frame": 0,
|
||||
"value": {
|
||||
"__uuid__": "36311098-60f7-4dbd-823f-d4b65bba51ac"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"events": []
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"ver": "2.1.0",
|
||||
"uuid": "1a1afca2-6657-476f-a923-411df0b0333d",
|
||||
"subMetas": {}
|
||||
}
|
44
examples/example2-2-2/assets/res/animation/sheep_run.anim
Normal file
44
examples/example2-2-2/assets/res/animation/sheep_run.anim
Normal file
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"__type__": "cc.AnimationClip",
|
||||
"_name": "sheep_run",
|
||||
"_objFlags": 0,
|
||||
"_native": "",
|
||||
"_duration": 0.4,
|
||||
"sample": 10,
|
||||
"speed": 1,
|
||||
"wrapMode": 2,
|
||||
"curveData": {
|
||||
"comps": {
|
||||
"cc.Sprite": {
|
||||
"spriteFrame": [
|
||||
{
|
||||
"frame": 0,
|
||||
"value": {
|
||||
"__uuid__": "b483caae-e5fd-4067-ac76-bd2b7227af39"
|
||||
}
|
||||
},
|
||||
{
|
||||
"frame": 0.1,
|
||||
"value": {
|
||||
"__uuid__": "641ca71a-5ade-4f52-a845-9105b17e0d85"
|
||||
}
|
||||
},
|
||||
{
|
||||
"frame": 0.2,
|
||||
"value": {
|
||||
"__uuid__": "d98cc8d8-8bc1-48e1-a8c1-941df564e02c"
|
||||
}
|
||||
},
|
||||
{
|
||||
"frame": 0.3,
|
||||
"value": {
|
||||
"__uuid__": "237ec4a7-7729-43d5-90d2-1e5b629aad69"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"props": {}
|
||||
},
|
||||
"events": []
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"ver": "2.1.0",
|
||||
"uuid": "365c3f76-afc4-4db0-ad85-ddb95fa6d4b9",
|
||||
"subMetas": {}
|
||||
}
|
Reference in New Issue
Block a user