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,11 @@
|
||||
{
|
||||
"ver": "1.0.0",
|
||||
"importer": "json",
|
||||
"imported": true,
|
||||
"uuid": "cdbc148d-945c-4ee8-b9f2-cb0bc1fa01f4",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
@@ -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,11 @@
|
||||
{
|
||||
"ver": "1.0.0",
|
||||
"importer": "json",
|
||||
"imported": true,
|
||||
"uuid": "fb16e83f-22fc-409a-9341-aa34e16e1d22",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
191
examples/example3-0rc/assets/res/animation/sheep.plist
Normal file
191
examples/example3-0rc/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>
|
837
examples/example3-0rc/assets/res/animation/sheep.plist.meta
Normal file
837
examples/example3-0rc/assets/res/animation/sheep.plist.meta
Normal file
@@ -0,0 +1,837 @@
|
||||
{
|
||||
"ver": "1.0.6",
|
||||
"importer": "sprite-atlas",
|
||||
"imported": true,
|
||||
"uuid": "efc1bbab-8753-4506-859f-0558eb86db31",
|
||||
"files": [
|
||||
".plist",
|
||||
".json"
|
||||
],
|
||||
"subMetas": {
|
||||
"52715": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "efc1bbab-8753-4506-859f-0558eb86db31@52715",
|
||||
"displayName": "",
|
||||
"id": "52715",
|
||||
"name": "sheep_jump_0",
|
||||
"userData": {
|
||||
"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,
|
||||
"packable": true,
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "83e05166-d611-452a-ac2f-4cbf5c3d5a06@6c48a",
|
||||
"atlasUuid": "efc1bbab-8753-4506-859f-0558eb86db31"
|
||||
},
|
||||
"ver": "1.0.9",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
},
|
||||
"sheep_down_0.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "bb17971e-c86f-4b8f-ab66-84baf1704b64",
|
||||
"rawTextureUuid": "83e05166-d611-452a-ac2f-4cbf5c3d5a06",
|
||||
"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": {},
|
||||
"importer": "*",
|
||||
"imported": false,
|
||||
"files": [],
|
||||
"userData": {},
|
||||
"displayName": "",
|
||||
"id": "",
|
||||
"name": ""
|
||||
},
|
||||
"sheep_down_1.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "9f1c8acd-ed6c-4328-9a0d-16dc5c57b3a0",
|
||||
"rawTextureUuid": "83e05166-d611-452a-ac2f-4cbf5c3d5a06",
|
||||
"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": {},
|
||||
"importer": "*",
|
||||
"imported": false,
|
||||
"files": [],
|
||||
"userData": {},
|
||||
"displayName": "",
|
||||
"id": "",
|
||||
"name": ""
|
||||
},
|
||||
"sheep_down_2.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "449c763b-2b89-4afc-89ca-e7b8d189d6e2",
|
||||
"rawTextureUuid": "83e05166-d611-452a-ac2f-4cbf5c3d5a06",
|
||||
"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": {},
|
||||
"importer": "*",
|
||||
"imported": false,
|
||||
"files": [],
|
||||
"userData": {},
|
||||
"displayName": "",
|
||||
"id": "",
|
||||
"name": ""
|
||||
},
|
||||
"sheep_jump_0.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "1d89d22e-a3da-44c8-b3aa-591b40fa714d",
|
||||
"rawTextureUuid": "83e05166-d611-452a-ac2f-4cbf5c3d5a06",
|
||||
"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": {},
|
||||
"importer": "*",
|
||||
"imported": false,
|
||||
"files": [],
|
||||
"userData": {},
|
||||
"displayName": "",
|
||||
"id": "",
|
||||
"name": ""
|
||||
},
|
||||
"sheep_jump_1.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "42041434-3d6c-46ed-acb7-272b5a383576",
|
||||
"rawTextureUuid": "83e05166-d611-452a-ac2f-4cbf5c3d5a06",
|
||||
"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": {},
|
||||
"importer": "*",
|
||||
"imported": false,
|
||||
"files": [],
|
||||
"userData": {},
|
||||
"displayName": "",
|
||||
"id": "",
|
||||
"name": ""
|
||||
},
|
||||
"sheep_jump_2.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "6224a554-fc2b-4b9d-a2de-43fd81a31850",
|
||||
"rawTextureUuid": "83e05166-d611-452a-ac2f-4cbf5c3d5a06",
|
||||
"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": {},
|
||||
"importer": "*",
|
||||
"imported": false,
|
||||
"files": [],
|
||||
"userData": {},
|
||||
"displayName": "",
|
||||
"id": "",
|
||||
"name": ""
|
||||
},
|
||||
"sheep_jump_3.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "a31dfd3f-1734-4fc2-a75e-acf961ab7b85",
|
||||
"rawTextureUuid": "83e05166-d611-452a-ac2f-4cbf5c3d5a06",
|
||||
"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": {},
|
||||
"importer": "*",
|
||||
"imported": false,
|
||||
"files": [],
|
||||
"userData": {},
|
||||
"displayName": "",
|
||||
"id": "",
|
||||
"name": ""
|
||||
},
|
||||
"sheep_jump_4.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "e50f8a41-9ab5-450a-a125-2ebefa30854e",
|
||||
"rawTextureUuid": "83e05166-d611-452a-ac2f-4cbf5c3d5a06",
|
||||
"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": {},
|
||||
"importer": "*",
|
||||
"imported": false,
|
||||
"files": [],
|
||||
"userData": {},
|
||||
"displayName": "",
|
||||
"id": "",
|
||||
"name": ""
|
||||
},
|
||||
"sheep_run_0.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "7ccb784f-7c51-4a0b-a59e-e95da40f3013",
|
||||
"rawTextureUuid": "83e05166-d611-452a-ac2f-4cbf5c3d5a06",
|
||||
"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": {},
|
||||
"importer": "*",
|
||||
"imported": false,
|
||||
"files": [],
|
||||
"userData": {},
|
||||
"displayName": "",
|
||||
"id": "",
|
||||
"name": ""
|
||||
},
|
||||
"sheep_run_1.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "c2037678-65b3-4b0b-8b66-fee835a46f94",
|
||||
"rawTextureUuid": "83e05166-d611-452a-ac2f-4cbf5c3d5a06",
|
||||
"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": {},
|
||||
"importer": "*",
|
||||
"imported": false,
|
||||
"files": [],
|
||||
"userData": {},
|
||||
"displayName": "",
|
||||
"id": "",
|
||||
"name": ""
|
||||
},
|
||||
"sheep_run_2.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "9563cb61-be04-40b0-9b0a-c721c057f21d",
|
||||
"rawTextureUuid": "83e05166-d611-452a-ac2f-4cbf5c3d5a06",
|
||||
"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": {},
|
||||
"importer": "*",
|
||||
"imported": false,
|
||||
"files": [],
|
||||
"userData": {},
|
||||
"displayName": "",
|
||||
"id": "",
|
||||
"name": ""
|
||||
},
|
||||
"sheep_run_3.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "73034713-ab4b-4fba-953b-5f7d4c36320c",
|
||||
"rawTextureUuid": "83e05166-d611-452a-ac2f-4cbf5c3d5a06",
|
||||
"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": {},
|
||||
"importer": "*",
|
||||
"imported": false,
|
||||
"files": [],
|
||||
"userData": {},
|
||||
"displayName": "",
|
||||
"id": "",
|
||||
"name": ""
|
||||
},
|
||||
"sheep_touch_0.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "8026fa0b-21e9-4784-8044-cd7ac2819df6",
|
||||
"rawTextureUuid": "83e05166-d611-452a-ac2f-4cbf5c3d5a06",
|
||||
"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": {},
|
||||
"importer": "*",
|
||||
"imported": false,
|
||||
"files": [],
|
||||
"userData": {},
|
||||
"displayName": "",
|
||||
"id": "",
|
||||
"name": ""
|
||||
},
|
||||
"7cc6b": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "efc1bbab-8753-4506-859f-0558eb86db31@7cc6b",
|
||||
"displayName": "",
|
||||
"id": "7cc6b",
|
||||
"name": "sheep_down_0",
|
||||
"userData": {
|
||||
"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,
|
||||
"packable": true,
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "83e05166-d611-452a-ac2f-4cbf5c3d5a06@6c48a",
|
||||
"atlasUuid": "efc1bbab-8753-4506-859f-0558eb86db31"
|
||||
},
|
||||
"ver": "1.0.9",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
},
|
||||
"d1ecf": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "efc1bbab-8753-4506-859f-0558eb86db31@d1ecf",
|
||||
"displayName": "",
|
||||
"id": "d1ecf",
|
||||
"name": "sheep_down_1",
|
||||
"userData": {
|
||||
"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,
|
||||
"packable": true,
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "83e05166-d611-452a-ac2f-4cbf5c3d5a06@6c48a",
|
||||
"atlasUuid": "efc1bbab-8753-4506-859f-0558eb86db31"
|
||||
},
|
||||
"ver": "1.0.9",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
},
|
||||
"acab0": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "efc1bbab-8753-4506-859f-0558eb86db31@acab0",
|
||||
"displayName": "",
|
||||
"id": "acab0",
|
||||
"name": "sheep_down_2",
|
||||
"userData": {
|
||||
"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,
|
||||
"packable": true,
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "83e05166-d611-452a-ac2f-4cbf5c3d5a06@6c48a",
|
||||
"atlasUuid": "efc1bbab-8753-4506-859f-0558eb86db31"
|
||||
},
|
||||
"ver": "1.0.9",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
},
|
||||
"6982f": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "efc1bbab-8753-4506-859f-0558eb86db31@6982f",
|
||||
"displayName": "",
|
||||
"id": "6982f",
|
||||
"name": "sheep_jump_1",
|
||||
"userData": {
|
||||
"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,
|
||||
"packable": true,
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "83e05166-d611-452a-ac2f-4cbf5c3d5a06@6c48a",
|
||||
"atlasUuid": "efc1bbab-8753-4506-859f-0558eb86db31"
|
||||
},
|
||||
"ver": "1.0.9",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
},
|
||||
"d19ec": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "efc1bbab-8753-4506-859f-0558eb86db31@d19ec",
|
||||
"displayName": "",
|
||||
"id": "d19ec",
|
||||
"name": "sheep_jump_2",
|
||||
"userData": {
|
||||
"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,
|
||||
"packable": true,
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "83e05166-d611-452a-ac2f-4cbf5c3d5a06@6c48a",
|
||||
"atlasUuid": "efc1bbab-8753-4506-859f-0558eb86db31"
|
||||
},
|
||||
"ver": "1.0.9",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
},
|
||||
"123b8": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "efc1bbab-8753-4506-859f-0558eb86db31@123b8",
|
||||
"displayName": "",
|
||||
"id": "123b8",
|
||||
"name": "sheep_jump_3",
|
||||
"userData": {
|
||||
"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,
|
||||
"packable": true,
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "83e05166-d611-452a-ac2f-4cbf5c3d5a06@6c48a",
|
||||
"atlasUuid": "efc1bbab-8753-4506-859f-0558eb86db31"
|
||||
},
|
||||
"ver": "1.0.9",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
},
|
||||
"2f938": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "efc1bbab-8753-4506-859f-0558eb86db31@2f938",
|
||||
"displayName": "",
|
||||
"id": "2f938",
|
||||
"name": "sheep_jump_4",
|
||||
"userData": {
|
||||
"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,
|
||||
"packable": true,
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "83e05166-d611-452a-ac2f-4cbf5c3d5a06@6c48a",
|
||||
"atlasUuid": "efc1bbab-8753-4506-859f-0558eb86db31"
|
||||
},
|
||||
"ver": "1.0.9",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
},
|
||||
"e0c75": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "efc1bbab-8753-4506-859f-0558eb86db31@e0c75",
|
||||
"displayName": "",
|
||||
"id": "e0c75",
|
||||
"name": "sheep_run_0",
|
||||
"userData": {
|
||||
"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,
|
||||
"packable": true,
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "83e05166-d611-452a-ac2f-4cbf5c3d5a06@6c48a",
|
||||
"atlasUuid": "efc1bbab-8753-4506-859f-0558eb86db31"
|
||||
},
|
||||
"ver": "1.0.9",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
},
|
||||
"a8883": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "efc1bbab-8753-4506-859f-0558eb86db31@a8883",
|
||||
"displayName": "",
|
||||
"id": "a8883",
|
||||
"name": "sheep_run_1",
|
||||
"userData": {
|
||||
"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,
|
||||
"packable": true,
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "83e05166-d611-452a-ac2f-4cbf5c3d5a06@6c48a",
|
||||
"atlasUuid": "efc1bbab-8753-4506-859f-0558eb86db31"
|
||||
},
|
||||
"ver": "1.0.9",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
},
|
||||
"6a8f4": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "efc1bbab-8753-4506-859f-0558eb86db31@6a8f4",
|
||||
"displayName": "",
|
||||
"id": "6a8f4",
|
||||
"name": "sheep_run_2",
|
||||
"userData": {
|
||||
"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,
|
||||
"packable": true,
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "83e05166-d611-452a-ac2f-4cbf5c3d5a06@6c48a",
|
||||
"atlasUuid": "efc1bbab-8753-4506-859f-0558eb86db31"
|
||||
},
|
||||
"ver": "1.0.9",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
},
|
||||
"07ea9": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "efc1bbab-8753-4506-859f-0558eb86db31@07ea9",
|
||||
"displayName": "",
|
||||
"id": "07ea9",
|
||||
"name": "sheep_run_3",
|
||||
"userData": {
|
||||
"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,
|
||||
"packable": true,
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "83e05166-d611-452a-ac2f-4cbf5c3d5a06@6c48a",
|
||||
"atlasUuid": "efc1bbab-8753-4506-859f-0558eb86db31"
|
||||
},
|
||||
"ver": "1.0.9",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
},
|
||||
"c6353": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "efc1bbab-8753-4506-859f-0558eb86db31@c6353",
|
||||
"displayName": "",
|
||||
"id": "c6353",
|
||||
"name": "sheep_touch_0",
|
||||
"userData": {
|
||||
"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,
|
||||
"packable": true,
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "83e05166-d611-452a-ac2f-4cbf5c3d5a06@6c48a",
|
||||
"atlasUuid": "efc1bbab-8753-4506-859f-0558eb86db31"
|
||||
},
|
||||
"ver": "1.0.9",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"atlasTextureName": "sheep.png",
|
||||
"format": 2,
|
||||
"uuid": "efc1bbab-8753-4506-859f-0558eb86db31",
|
||||
"textureUuid": "83e05166-d611-452a-ac2f-4cbf5c3d5a06@6c48a"
|
||||
}
|
||||
}
|
BIN
examples/example3-0rc/assets/res/animation/sheep.png
Normal file
BIN
examples/example3-0rc/assets/res/animation/sheep.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 250 KiB |
68
examples/example3-0rc/assets/res/animation/sheep.png.meta
Normal file
68
examples/example3-0rc/assets/res/animation/sheep.png.meta
Normal file
@@ -0,0 +1,68 @@
|
||||
{
|
||||
"ver": "1.0.21",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "83e05166-d611-452a-ac2f-4cbf5c3d5a06",
|
||||
"files": [
|
||||
".png",
|
||||
".json"
|
||||
],
|
||||
"subMetas": {
|
||||
"sheep": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "aaf71854-d55f-43e8-92aa-ec6c71177195",
|
||||
"rawTextureUuid": "83e05166-d611-452a-ac2f-4cbf5c3d5a06",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -1,
|
||||
"offsetY": 203,
|
||||
"trimX": 2,
|
||||
"trimY": 2,
|
||||
"width": 506,
|
||||
"height": 614,
|
||||
"rawWidth": 512,
|
||||
"rawHeight": 1024,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"subMetas": {},
|
||||
"importer": "*",
|
||||
"imported": false,
|
||||
"files": [],
|
||||
"userData": {},
|
||||
"displayName": "",
|
||||
"id": "",
|
||||
"name": ""
|
||||
},
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "83e05166-d611-452a-ac2f-4cbf5c3d5a06@6c48a",
|
||||
"displayName": "sheep",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "repeat",
|
||||
"wrapModeT": "repeat",
|
||||
"minfilter": "linear",
|
||||
"magfilter": "linear",
|
||||
"mipfilter": "none",
|
||||
"anisotropy": 1,
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "83e05166-d611-452a-ac2f-4cbf5c3d5a06"
|
||||
},
|
||||
"ver": "1.0.20",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"hasAlpha": true,
|
||||
"type": "texture",
|
||||
"redirect": "83e05166-d611-452a-ac2f-4cbf5c3d5a06@6c48a"
|
||||
}
|
||||
}
|
56
examples/example3-0rc/assets/res/animation/sheep_hit.anim
Normal file
56
examples/example3-0rc/assets/res/animation/sheep_hit.anim
Normal file
@@ -0,0 +1,56 @@
|
||||
[
|
||||
{
|
||||
"__type__": "cc.AnimationClip",
|
||||
"_name": "sheep_hit",
|
||||
"_objFlags": 0,
|
||||
"_native": "",
|
||||
"sample": 60,
|
||||
"speed": 1,
|
||||
"wrapMode": 1,
|
||||
"events": [],
|
||||
"_duration": 0.5166666666666667,
|
||||
"_keys": [
|
||||
[
|
||||
0,
|
||||
0.16666666666666666,
|
||||
0.3333333333333333,
|
||||
0.5
|
||||
]
|
||||
],
|
||||
"_stepness": 0,
|
||||
"_curves": [
|
||||
{
|
||||
"modifiers": [
|
||||
{
|
||||
"__id__": 1
|
||||
},
|
||||
"spriteFrame"
|
||||
],
|
||||
"data": {
|
||||
"keys": 0,
|
||||
"values": [
|
||||
{
|
||||
"__uuid__": "efc1bbab-8753-4506-859f-0558eb86db31@c6353"
|
||||
},
|
||||
{
|
||||
"__uuid__": "efc1bbab-8753-4506-859f-0558eb86db31@7cc6b"
|
||||
},
|
||||
{
|
||||
"__uuid__": "efc1bbab-8753-4506-859f-0558eb86db31@d1ecf"
|
||||
},
|
||||
{
|
||||
"__uuid__": "efc1bbab-8753-4506-859f-0558eb86db31@acab0"
|
||||
}
|
||||
],
|
||||
"easingMethods": {}
|
||||
}
|
||||
}
|
||||
],
|
||||
"_commonTargets": [],
|
||||
"_hash": 0
|
||||
},
|
||||
{
|
||||
"__type__": "cc.animation.ComponentPath",
|
||||
"component": "cc.Sprite"
|
||||
}
|
||||
]
|
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"ver": "1.0.11",
|
||||
"importer": "animation-clip",
|
||||
"imported": true,
|
||||
"uuid": "050adbf6-bd66-4a26-ac79-d68c00ad7812",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"name": "sheep_hit"
|
||||
}
|
||||
}
|
44
examples/example3-0rc/assets/res/animation/sheep_idle.anim
Normal file
44
examples/example3-0rc/assets/res/animation/sheep_idle.anim
Normal file
@@ -0,0 +1,44 @@
|
||||
[
|
||||
{
|
||||
"__type__": "cc.AnimationClip",
|
||||
"_name": "sheep_idle",
|
||||
"_objFlags": 0,
|
||||
"_native": "",
|
||||
"sample": 60,
|
||||
"speed": 1,
|
||||
"wrapMode": 0,
|
||||
"events": [],
|
||||
"_duration": 0.016666666666666666,
|
||||
"_keys": [
|
||||
[
|
||||
0
|
||||
]
|
||||
],
|
||||
"_stepness": 0,
|
||||
"_curves": [
|
||||
{
|
||||
"modifiers": [
|
||||
{
|
||||
"__id__": 1
|
||||
},
|
||||
"spriteFrame"
|
||||
],
|
||||
"data": {
|
||||
"keys": 0,
|
||||
"values": [
|
||||
{
|
||||
"__uuid__": "efc1bbab-8753-4506-859f-0558eb86db31@acab0"
|
||||
}
|
||||
],
|
||||
"easingMethods": {}
|
||||
}
|
||||
}
|
||||
],
|
||||
"_commonTargets": [],
|
||||
"_hash": 1037761290
|
||||
},
|
||||
{
|
||||
"__type__": "cc.animation.ComponentPath",
|
||||
"component": "cc.Sprite"
|
||||
}
|
||||
]
|
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"ver": "1.0.11",
|
||||
"importer": "animation-clip",
|
||||
"imported": true,
|
||||
"uuid": "2532e8aa-d1bb-4a86-a212-5ca6868dec37",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"name": "sheep_idle"
|
||||
}
|
||||
}
|
56
examples/example3-0rc/assets/res/animation/sheep_run.anim
Normal file
56
examples/example3-0rc/assets/res/animation/sheep_run.anim
Normal file
@@ -0,0 +1,56 @@
|
||||
[
|
||||
{
|
||||
"__type__": "cc.AnimationClip",
|
||||
"_name": "sheep_run",
|
||||
"_objFlags": 0,
|
||||
"_native": "",
|
||||
"sample": 60,
|
||||
"speed": 1,
|
||||
"wrapMode": 0,
|
||||
"events": [],
|
||||
"_duration": 0.26666666666666666,
|
||||
"_keys": [
|
||||
[
|
||||
0,
|
||||
0.08333333333333333,
|
||||
0.16666666666666666,
|
||||
0.25
|
||||
]
|
||||
],
|
||||
"_stepness": 0,
|
||||
"_curves": [
|
||||
{
|
||||
"modifiers": [
|
||||
{
|
||||
"__id__": 1
|
||||
},
|
||||
"spriteFrame"
|
||||
],
|
||||
"data": {
|
||||
"keys": 0,
|
||||
"values": [
|
||||
{
|
||||
"__uuid__": "efc1bbab-8753-4506-859f-0558eb86db31@e0c75"
|
||||
},
|
||||
{
|
||||
"__uuid__": "efc1bbab-8753-4506-859f-0558eb86db31@6a8f4"
|
||||
},
|
||||
{
|
||||
"__uuid__": "efc1bbab-8753-4506-859f-0558eb86db31@07ea9"
|
||||
},
|
||||
{
|
||||
"__uuid__": "efc1bbab-8753-4506-859f-0558eb86db31@e0c75"
|
||||
}
|
||||
],
|
||||
"easingMethods": {}
|
||||
}
|
||||
}
|
||||
],
|
||||
"_commonTargets": [],
|
||||
"_hash": 1187270062
|
||||
},
|
||||
{
|
||||
"__type__": "cc.animation.ComponentPath",
|
||||
"component": "cc.Sprite"
|
||||
}
|
||||
]
|
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"ver": "1.0.11",
|
||||
"importer": "animation-clip",
|
||||
"imported": true,
|
||||
"uuid": "b2f09761-f403-4e08-82a9-add2525c236f",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"name": "sheep_run"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user