dd
@@ -22,29 +22,32 @@
|
||||
"__id__": 2
|
||||
},
|
||||
{
|
||||
"__id__": 10
|
||||
"__id__": 8
|
||||
},
|
||||
{
|
||||
"__id__": 18
|
||||
"__id__": 16
|
||||
},
|
||||
{
|
||||
"__id__": 37
|
||||
"__id__": 24
|
||||
},
|
||||
{
|
||||
"__id__": 43
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 56
|
||||
"__id__": 62
|
||||
},
|
||||
{
|
||||
"__id__": 58
|
||||
"__id__": 64
|
||||
},
|
||||
{
|
||||
"__id__": 60
|
||||
"__id__": 66
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 62
|
||||
"__id__": 68
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -77,7 +80,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "lab_title",
|
||||
"_name": "Artboard 17",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
@@ -91,18 +94,15 @@
|
||||
},
|
||||
{
|
||||
"__id__": 5
|
||||
},
|
||||
{
|
||||
"__id__": 7
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 9
|
||||
"__id__": 7
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 143.597,
|
||||
"y": 130.26,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -140,6 +140,145 @@
|
||||
"__prefab": {
|
||||
"__id__": 4
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 344,
|
||||
"height": 94
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "4fLoJ+lN9Jrr78O7XQGMWV"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Sprite",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 2
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 6
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
"_dstBlendFactor": 4,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@34767",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
"_type": 0,
|
||||
"_fillType": 0,
|
||||
"_sizeMode": 1,
|
||||
"_fillCenter": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"_fillStart": 0,
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_useGrayscale": false,
|
||||
"_atlas": null,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "6fxJxMkzBA7JMAxKtc/owq"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "60K6iLGSlFhIT/OMCcExCn",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "lab_title",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 9
|
||||
},
|
||||
{
|
||||
"__id__": 11
|
||||
},
|
||||
{
|
||||
"__id__": 13
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 15
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 143.597,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
"__type__": "cc.Quat",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
"_layer": 33554432,
|
||||
"_euler": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.UITransform",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 8
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 10
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 60,
|
||||
@@ -162,11 +301,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 2
|
||||
"__id__": 8
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 6
|
||||
"__id__": 12
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
@@ -230,11 +369,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 2
|
||||
"__id__": 8
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 8
|
||||
"__id__": 14
|
||||
},
|
||||
"_params": [],
|
||||
"_dataID": "",
|
||||
@@ -269,17 +408,17 @@
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 11
|
||||
"__id__": 17
|
||||
},
|
||||
{
|
||||
"__id__": 13
|
||||
"__id__": 19
|
||||
},
|
||||
{
|
||||
"__id__": 15
|
||||
"__id__": 21
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 17
|
||||
"__id__": 23
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -316,11 +455,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 10
|
||||
"__id__": 16
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 12
|
||||
"__id__": 18
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -344,11 +483,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 10
|
||||
"__id__": 16
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 14
|
||||
"__id__": 20
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
@@ -412,11 +551,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 10
|
||||
"__id__": 16
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 16
|
||||
"__id__": 22
|
||||
},
|
||||
"_params": [],
|
||||
"_dataID": "",
|
||||
@@ -449,26 +588,26 @@
|
||||
},
|
||||
"_children": [
|
||||
{
|
||||
"__id__": 19
|
||||
"__id__": 25
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 27
|
||||
"__id__": 33
|
||||
},
|
||||
{
|
||||
"__id__": 29
|
||||
"__id__": 35
|
||||
},
|
||||
{
|
||||
"__id__": 31
|
||||
"__id__": 37
|
||||
},
|
||||
{
|
||||
"__id__": 34
|
||||
"__id__": 40
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 36
|
||||
"__id__": 42
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -505,23 +644,23 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 18
|
||||
"__id__": 24
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 20
|
||||
"__id__": 26
|
||||
},
|
||||
{
|
||||
"__id__": 22
|
||||
"__id__": 28
|
||||
},
|
||||
{
|
||||
"__id__": 24
|
||||
"__id__": 30
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 26
|
||||
"__id__": 32
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -558,11 +697,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 19
|
||||
"__id__": 25
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 21
|
||||
"__id__": 27
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -586,11 +725,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 19
|
||||
"__id__": 25
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 23
|
||||
"__id__": 29
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
@@ -654,11 +793,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 19
|
||||
"__id__": 25
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 25
|
||||
"__id__": 31
|
||||
},
|
||||
"_params": [],
|
||||
"_dataID": "",
|
||||
@@ -687,11 +826,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 18
|
||||
"__id__": 24
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 28
|
||||
"__id__": 34
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -715,11 +854,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 18
|
||||
"__id__": 24
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 30
|
||||
"__id__": 36
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
@@ -732,7 +871,7 @@
|
||||
"a": 255
|
||||
},
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@1b1f2",
|
||||
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@1fc73",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
"_type": 1,
|
||||
@@ -760,15 +899,15 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 18
|
||||
"__id__": 24
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 32
|
||||
"__id__": 38
|
||||
},
|
||||
"clickEvents": [
|
||||
{
|
||||
"__id__": 33
|
||||
"__id__": 39
|
||||
}
|
||||
],
|
||||
"_interactable": true,
|
||||
@@ -808,7 +947,7 @@
|
||||
"_duration": 0.1,
|
||||
"_zoomScale": 0.9,
|
||||
"_target": {
|
||||
"__id__": 18
|
||||
"__id__": 24
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
@@ -832,11 +971,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 18
|
||||
"__id__": 24
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 35
|
||||
"__id__": 41
|
||||
},
|
||||
"_alignFlags": 12,
|
||||
"_target": null,
|
||||
@@ -885,26 +1024,26 @@
|
||||
},
|
||||
"_children": [
|
||||
{
|
||||
"__id__": 38
|
||||
"__id__": 44
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 46
|
||||
"__id__": 52
|
||||
},
|
||||
{
|
||||
"__id__": 48
|
||||
"__id__": 54
|
||||
},
|
||||
{
|
||||
"__id__": 50
|
||||
"__id__": 56
|
||||
},
|
||||
{
|
||||
"__id__": 53
|
||||
"__id__": 59
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 55
|
||||
"__id__": 61
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -941,23 +1080,23 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 37
|
||||
"__id__": 43
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 39
|
||||
"__id__": 45
|
||||
},
|
||||
{
|
||||
"__id__": 41
|
||||
"__id__": 47
|
||||
},
|
||||
{
|
||||
"__id__": 43
|
||||
"__id__": 49
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 45
|
||||
"__id__": 51
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -994,11 +1133,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 38
|
||||
"__id__": 44
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 40
|
||||
"__id__": 46
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -1022,11 +1161,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 38
|
||||
"__id__": 44
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 42
|
||||
"__id__": 48
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
@@ -1090,11 +1229,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 38
|
||||
"__id__": 44
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 44
|
||||
"__id__": 50
|
||||
},
|
||||
"_params": [],
|
||||
"_dataID": "",
|
||||
@@ -1123,11 +1262,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 37
|
||||
"__id__": 43
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 47
|
||||
"__id__": 53
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -1151,11 +1290,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 37
|
||||
"__id__": 43
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 49
|
||||
"__id__": 55
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
@@ -1168,7 +1307,7 @@
|
||||
"a": 255
|
||||
},
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@5d1ce",
|
||||
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@26e22",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
"_type": 1,
|
||||
@@ -1196,15 +1335,15 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 37
|
||||
"__id__": 43
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 51
|
||||
"__id__": 57
|
||||
},
|
||||
"clickEvents": [
|
||||
{
|
||||
"__id__": 52
|
||||
"__id__": 58
|
||||
}
|
||||
],
|
||||
"_interactable": true,
|
||||
@@ -1244,7 +1383,7 @@
|
||||
"_duration": 0.1,
|
||||
"_zoomScale": 0.9,
|
||||
"_target": {
|
||||
"__id__": 37
|
||||
"__id__": 43
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
@@ -1268,11 +1407,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 37
|
||||
"__id__": 43
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 54
|
||||
"__id__": 60
|
||||
},
|
||||
"_alignFlags": 36,
|
||||
"_target": null,
|
||||
@@ -1321,7 +1460,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 57
|
||||
"__id__": 63
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -1349,7 +1488,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 59
|
||||
"__id__": 65
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
@@ -1362,7 +1501,7 @@
|
||||
"a": 255
|
||||
},
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@58cb7",
|
||||
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@ffbc3",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
"_type": 1,
|
||||
@@ -1394,19 +1533,19 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 61
|
||||
"__id__": 67
|
||||
},
|
||||
"lab_title": {
|
||||
"__id__": 7
|
||||
"__id__": 13
|
||||
},
|
||||
"lab_content": {
|
||||
"__id__": 15
|
||||
"__id__": 21
|
||||
},
|
||||
"lab_ok": {
|
||||
"__id__": 24
|
||||
"__id__": 30
|
||||
},
|
||||
"lab_cancel": {
|
||||
"__id__": 43
|
||||
"__id__": 49
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
|
||||
@@ -358,7 +358,7 @@
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": -23,
|
||||
"y": -23.028,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -398,8 +398,8 @@
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 73,
|
||||
"height": 52
|
||||
"width": 76,
|
||||
"height": 72
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@@ -410,7 +410,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "45UaQK2pNHvohSt8jwe2zu"
|
||||
"fileId": "c8P1YVnJNNcqmkXaHUi9yr"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Sprite",
|
||||
@@ -435,7 +435,7 @@
|
||||
"a": 255
|
||||
},
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "8a791edd-743c-45ad-8991-81f589e8b598@b3f5a",
|
||||
"__uuid__": "8a791edd-743c-45ad-8991-81f589e8b598@c29c5",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
"_type": 0,
|
||||
@@ -450,15 +450,12 @@
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_useGrayscale": false,
|
||||
"_atlas": {
|
||||
"__uuid__": "8a791edd-743c-45ad-8991-81f589e8b598",
|
||||
"__expectedType__": "cc.SpriteAtlas"
|
||||
},
|
||||
"_atlas": null,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "f1RvZBKXtLYaxGtxGadxeZ"
|
||||
"fileId": "a3BorX8gZH/oXihKtzzQsK"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
@@ -468,7 +465,7 @@
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "ce5INpXTdMhJg+juiZR7/C",
|
||||
"fileId": "3f8NMVLRlDFZrxPEIOu+nn",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
@@ -659,8 +656,8 @@
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 5,
|
||||
"y": 80,
|
||||
"x": 0,
|
||||
"y": 105.175,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -911,7 +908,7 @@
|
||||
"__id__": 31
|
||||
},
|
||||
"_mode": 0,
|
||||
"_totalLength": 50,
|
||||
"_totalLength": 40,
|
||||
"_progress": 1,
|
||||
"_reverse": false,
|
||||
"_id": ""
|
||||
@@ -963,8 +960,8 @@
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 5,
|
||||
"y": 75,
|
||||
"x": 0,
|
||||
"y": 100.175,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -1215,7 +1212,7 @@
|
||||
"__id__": 45
|
||||
},
|
||||
"_mode": 0,
|
||||
"_totalLength": 50,
|
||||
"_totalLength": 40,
|
||||
"_progress": 1,
|
||||
"_reverse": false,
|
||||
"_id": ""
|
||||
@@ -1712,6 +1709,8 @@
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "2dGu24EexKI57EzgA2ECVa",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
},
|
||||
{
|
||||
@@ -1843,13 +1842,13 @@
|
||||
"_restitution": 0,
|
||||
"_offset": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 22.7,
|
||||
"y": 37.6
|
||||
"x": 0.1,
|
||||
"y": 34.3
|
||||
},
|
||||
"_size": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 14.7,
|
||||
"height": 81.7
|
||||
"width": 13.8,
|
||||
"height": 75.1
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
|
||||
|
Before Width: | Height: | Size: 166 KiB After Width: | Height: | Size: 212 KiB |
@@ -43,13 +43,13 @@
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 0,
|
||||
"trimY": 0,
|
||||
"width": 1432,
|
||||
"height": 254,
|
||||
"rawWidth": 1432,
|
||||
"rawHeight": 254,
|
||||
"offsetY": 0.5,
|
||||
"trimX": 2,
|
||||
"trimY": 2,
|
||||
"width": 500,
|
||||
"height": 1055,
|
||||
"rawWidth": 504,
|
||||
"rawHeight": 1060,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
@@ -61,17 +61,17 @@
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-716,
|
||||
-127,
|
||||
-250,
|
||||
-527.5,
|
||||
0,
|
||||
716,
|
||||
-127,
|
||||
250,
|
||||
-527.5,
|
||||
0,
|
||||
-716,
|
||||
127,
|
||||
-250,
|
||||
527.5,
|
||||
0,
|
||||
716,
|
||||
127,
|
||||
250,
|
||||
527.5,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
@@ -83,33 +83,33 @@
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
0,
|
||||
254,
|
||||
1432,
|
||||
254,
|
||||
0,
|
||||
0,
|
||||
1432,
|
||||
0
|
||||
2,
|
||||
1058,
|
||||
502,
|
||||
1058,
|
||||
2,
|
||||
3,
|
||||
502,
|
||||
3
|
||||
],
|
||||
"nuv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
0.003968253968253968,
|
||||
0.002830188679245283,
|
||||
0.996031746031746,
|
||||
0.002830188679245283,
|
||||
0.003968253968253968,
|
||||
0.9981132075471698,
|
||||
0.996031746031746,
|
||||
0.9981132075471698
|
||||
],
|
||||
"minPos": [
|
||||
-716,
|
||||
-127,
|
||||
-250,
|
||||
-527.5,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
716,
|
||||
127,
|
||||
250,
|
||||
527.5,
|
||||
0
|
||||
]
|
||||
},
|
||||
|
||||
@@ -220,7 +220,7 @@
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "avatar",
|
||||
"_objFlags": 0,
|
||||
"_objFlags": 512,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 1
|
||||
@@ -277,7 +277,7 @@
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "TNode",
|
||||
"_objFlags": 0,
|
||||
"_objFlags": 512,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 8
|
||||
@@ -328,7 +328,7 @@
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "bb",
|
||||
"_objFlags": 0,
|
||||
"_objFlags": 512,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 9
|
||||
@@ -349,7 +349,7 @@
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": -8,
|
||||
"y": -30,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -426,12 +426,12 @@
|
||||
"a": 255
|
||||
},
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "8a791edd-743c-45ad-8991-81f589e8b598@1de2e",
|
||||
"__uuid__": "7b95dfa5-c844-44d4-8d63-302f57da2ba2@3f402",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
"_type": 0,
|
||||
"_fillType": 0,
|
||||
"_sizeMode": 1,
|
||||
"_sizeMode": 0,
|
||||
"_fillCenter": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
@@ -1089,7 +1089,7 @@
|
||||
"_group": 32,
|
||||
"_density": 1,
|
||||
"_sensor": false,
|
||||
"_friction": 0.2,
|
||||
"_friction": 100,
|
||||
"_restitution": 0,
|
||||
"_offset": {
|
||||
"__type__": "cc.Vec2",
|
||||
311
assets/resources/game/heros/player.plist
Normal file
@@ -0,0 +1,311 @@
|
||||
<?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>101.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{-4,1}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{96,114}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1169,1},{96,114}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>102.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{-2,2}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{88,118}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{755,1},{88,118}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>103.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{-7,3}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{98,120}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{427,1},{98,120}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>104.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{-6,-4}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{104,106}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1559,1},{104,106}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>105.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{-9,-1}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{94,114}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1267,1},{94,114}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>106.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{5,-4}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{100,106}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1665,1},{100,106}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>107.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{-3,-3}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{104,104}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1767,1},{104,104}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>108.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{3,-2}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{106,118}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{647,1},{106,118}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>109.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{-2,2}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{98,124}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{217,1},{98,124}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>110.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{-1,1}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{112,124}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1,1},{112,124}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>111.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{3,1}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{100,124}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{115,1},{100,124}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>112.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{2,1}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{108,120}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{317,1},{108,120}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>114.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{0,2}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{90,114}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1363,1},{90,114}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>115.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{-6,0}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{102,110}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1455,1},{102,110}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>116.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{3,-3}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{100,114}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1067,1},{100,114}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>117.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{-8,1}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{104,114}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{961,1},{104,114}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>118.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{-2,-3}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{114,116}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{845,1},{114,116}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>119.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{0,-5}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{118,118}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{527,1},{118,118}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>120.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{-2,-4}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{100,104}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1873,1},{100,104}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>metadata</key>
|
||||
<dict>
|
||||
<key>format</key>
|
||||
<integer>3</integer>
|
||||
<key>pixelFormat</key>
|
||||
<string>RGBA8888</string>
|
||||
<key>premultiplyAlpha</key>
|
||||
<false/>
|
||||
<key>realTextureFileName</key>
|
||||
<string>player.png</string>
|
||||
<key>size</key>
|
||||
<string>{1974,126}</string>
|
||||
<key>smartupdate</key>
|
||||
<string>$TexturePacker:SmartUpdate:a14926acb3c93d652810707e10c61844:20ae12f2484208744e38b1fd3d97d91a:6f6c59c3c6b7e98e5fb22e47122cb74a$</string>
|
||||
<key>textureFileName</key>
|
||||
<string>player.png</string>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
||||
891
assets/resources/game/heros/player.plist.meta
Normal file
@@ -0,0 +1,891 @@
|
||||
{
|
||||
"ver": "1.0.8",
|
||||
"importer": "sprite-atlas",
|
||||
"imported": true,
|
||||
"uuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {
|
||||
"28488": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2@28488",
|
||||
"displayName": "",
|
||||
"id": "28488",
|
||||
"name": "115",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -6,
|
||||
"offsetY": 0,
|
||||
"trimX": 1455,
|
||||
"trimY": 1,
|
||||
"width": 102,
|
||||
"height": 110,
|
||||
"rawWidth": 128,
|
||||
"rawHeight": 128,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [],
|
||||
"indexes": [],
|
||||
"uv": [],
|
||||
"nuv": [],
|
||||
"minPos": [],
|
||||
"maxPos": []
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "6f7ecf47-f58e-483c-b73c-256368a53f4b@6c48a",
|
||||
"atlasUuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2"
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
},
|
||||
"65408": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2@65408",
|
||||
"displayName": "",
|
||||
"id": "65408",
|
||||
"name": "103",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -7,
|
||||
"offsetY": 3,
|
||||
"trimX": 427,
|
||||
"trimY": 1,
|
||||
"width": 98,
|
||||
"height": 120,
|
||||
"rawWidth": 128,
|
||||
"rawHeight": 128,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [],
|
||||
"indexes": [],
|
||||
"uv": [],
|
||||
"nuv": [],
|
||||
"minPos": [],
|
||||
"maxPos": []
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "6f7ecf47-f58e-483c-b73c-256368a53f4b@6c48a",
|
||||
"atlasUuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2"
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
},
|
||||
"3f402": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2@3f402",
|
||||
"displayName": "",
|
||||
"id": "3f402",
|
||||
"name": "101",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -4,
|
||||
"offsetY": 1,
|
||||
"trimX": 1169,
|
||||
"trimY": 1,
|
||||
"width": 96,
|
||||
"height": 114,
|
||||
"rawWidth": 128,
|
||||
"rawHeight": 128,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [],
|
||||
"indexes": [],
|
||||
"uv": [],
|
||||
"nuv": [],
|
||||
"minPos": [],
|
||||
"maxPos": []
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "6f7ecf47-f58e-483c-b73c-256368a53f4b@6c48a",
|
||||
"atlasUuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2"
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
},
|
||||
"e6d7e": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2@e6d7e",
|
||||
"displayName": "",
|
||||
"id": "e6d7e",
|
||||
"name": "102",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -2,
|
||||
"offsetY": 2,
|
||||
"trimX": 755,
|
||||
"trimY": 1,
|
||||
"width": 88,
|
||||
"height": 118,
|
||||
"rawWidth": 128,
|
||||
"rawHeight": 128,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [],
|
||||
"indexes": [],
|
||||
"uv": [],
|
||||
"nuv": [],
|
||||
"minPos": [],
|
||||
"maxPos": []
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "6f7ecf47-f58e-483c-b73c-256368a53f4b@6c48a",
|
||||
"atlasUuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2"
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
},
|
||||
"c4ed4": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2@c4ed4",
|
||||
"displayName": "",
|
||||
"id": "c4ed4",
|
||||
"name": "104",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -6,
|
||||
"offsetY": -4,
|
||||
"trimX": 1559,
|
||||
"trimY": 1,
|
||||
"width": 104,
|
||||
"height": 106,
|
||||
"rawWidth": 128,
|
||||
"rawHeight": 128,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [],
|
||||
"indexes": [],
|
||||
"uv": [],
|
||||
"nuv": [],
|
||||
"minPos": [],
|
||||
"maxPos": []
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "6f7ecf47-f58e-483c-b73c-256368a53f4b@6c48a",
|
||||
"atlasUuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2"
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
},
|
||||
"6af5f": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2@6af5f",
|
||||
"displayName": "",
|
||||
"id": "6af5f",
|
||||
"name": "105",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -9,
|
||||
"offsetY": -1,
|
||||
"trimX": 1267,
|
||||
"trimY": 1,
|
||||
"width": 94,
|
||||
"height": 114,
|
||||
"rawWidth": 128,
|
||||
"rawHeight": 128,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [],
|
||||
"indexes": [],
|
||||
"uv": [],
|
||||
"nuv": [],
|
||||
"minPos": [],
|
||||
"maxPos": []
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "6f7ecf47-f58e-483c-b73c-256368a53f4b@6c48a",
|
||||
"atlasUuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2"
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
},
|
||||
"f4cef": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2@f4cef",
|
||||
"displayName": "",
|
||||
"id": "f4cef",
|
||||
"name": "106",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 5,
|
||||
"offsetY": -4,
|
||||
"trimX": 1665,
|
||||
"trimY": 1,
|
||||
"width": 100,
|
||||
"height": 106,
|
||||
"rawWidth": 128,
|
||||
"rawHeight": 128,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [],
|
||||
"indexes": [],
|
||||
"uv": [],
|
||||
"nuv": [],
|
||||
"minPos": [],
|
||||
"maxPos": []
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "6f7ecf47-f58e-483c-b73c-256368a53f4b@6c48a",
|
||||
"atlasUuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2"
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
},
|
||||
"a22e4": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2@a22e4",
|
||||
"displayName": "",
|
||||
"id": "a22e4",
|
||||
"name": "107",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -3,
|
||||
"offsetY": -3,
|
||||
"trimX": 1767,
|
||||
"trimY": 1,
|
||||
"width": 104,
|
||||
"height": 104,
|
||||
"rawWidth": 128,
|
||||
"rawHeight": 128,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [],
|
||||
"indexes": [],
|
||||
"uv": [],
|
||||
"nuv": [],
|
||||
"minPos": [],
|
||||
"maxPos": []
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "6f7ecf47-f58e-483c-b73c-256368a53f4b@6c48a",
|
||||
"atlasUuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2"
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
},
|
||||
"a298b": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2@a298b",
|
||||
"displayName": "",
|
||||
"id": "a298b",
|
||||
"name": "108",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 3,
|
||||
"offsetY": -2,
|
||||
"trimX": 647,
|
||||
"trimY": 1,
|
||||
"width": 106,
|
||||
"height": 118,
|
||||
"rawWidth": 128,
|
||||
"rawHeight": 128,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [],
|
||||
"indexes": [],
|
||||
"uv": [],
|
||||
"nuv": [],
|
||||
"minPos": [],
|
||||
"maxPos": []
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "6f7ecf47-f58e-483c-b73c-256368a53f4b@6c48a",
|
||||
"atlasUuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2"
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
},
|
||||
"29d0d": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2@29d0d",
|
||||
"displayName": "",
|
||||
"id": "29d0d",
|
||||
"name": "109",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -2,
|
||||
"offsetY": 2,
|
||||
"trimX": 217,
|
||||
"trimY": 1,
|
||||
"width": 98,
|
||||
"height": 124,
|
||||
"rawWidth": 128,
|
||||
"rawHeight": 128,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [],
|
||||
"indexes": [],
|
||||
"uv": [],
|
||||
"nuv": [],
|
||||
"minPos": [],
|
||||
"maxPos": []
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "6f7ecf47-f58e-483c-b73c-256368a53f4b@6c48a",
|
||||
"atlasUuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2"
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
},
|
||||
"58c2e": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2@58c2e",
|
||||
"displayName": "",
|
||||
"id": "58c2e",
|
||||
"name": "110",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -1,
|
||||
"offsetY": 1,
|
||||
"trimX": 1,
|
||||
"trimY": 1,
|
||||
"width": 112,
|
||||
"height": 124,
|
||||
"rawWidth": 128,
|
||||
"rawHeight": 128,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [],
|
||||
"indexes": [],
|
||||
"uv": [],
|
||||
"nuv": [],
|
||||
"minPos": [],
|
||||
"maxPos": []
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "6f7ecf47-f58e-483c-b73c-256368a53f4b@6c48a",
|
||||
"atlasUuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2"
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
},
|
||||
"6aeb8": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2@6aeb8",
|
||||
"displayName": "",
|
||||
"id": "6aeb8",
|
||||
"name": "111",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 3,
|
||||
"offsetY": 1,
|
||||
"trimX": 115,
|
||||
"trimY": 1,
|
||||
"width": 100,
|
||||
"height": 124,
|
||||
"rawWidth": 128,
|
||||
"rawHeight": 128,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [],
|
||||
"indexes": [],
|
||||
"uv": [],
|
||||
"nuv": [],
|
||||
"minPos": [],
|
||||
"maxPos": []
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "6f7ecf47-f58e-483c-b73c-256368a53f4b@6c48a",
|
||||
"atlasUuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2"
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
},
|
||||
"7a115": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2@7a115",
|
||||
"displayName": "",
|
||||
"id": "7a115",
|
||||
"name": "112",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 2,
|
||||
"offsetY": 1,
|
||||
"trimX": 317,
|
||||
"trimY": 1,
|
||||
"width": 108,
|
||||
"height": 120,
|
||||
"rawWidth": 128,
|
||||
"rawHeight": 128,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [],
|
||||
"indexes": [],
|
||||
"uv": [],
|
||||
"nuv": [],
|
||||
"minPos": [],
|
||||
"maxPos": []
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "6f7ecf47-f58e-483c-b73c-256368a53f4b@6c48a",
|
||||
"atlasUuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2"
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
},
|
||||
"57f2d": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2@57f2d",
|
||||
"displayName": "",
|
||||
"id": "57f2d",
|
||||
"name": "114",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 2,
|
||||
"trimX": 1363,
|
||||
"trimY": 1,
|
||||
"width": 90,
|
||||
"height": 114,
|
||||
"rawWidth": 128,
|
||||
"rawHeight": 128,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [],
|
||||
"indexes": [],
|
||||
"uv": [],
|
||||
"nuv": [],
|
||||
"minPos": [],
|
||||
"maxPos": []
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "6f7ecf47-f58e-483c-b73c-256368a53f4b@6c48a",
|
||||
"atlasUuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2"
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
},
|
||||
"cdf9f": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2@cdf9f",
|
||||
"displayName": "",
|
||||
"id": "cdf9f",
|
||||
"name": "116",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 3,
|
||||
"offsetY": -3,
|
||||
"trimX": 1067,
|
||||
"trimY": 1,
|
||||
"width": 100,
|
||||
"height": 114,
|
||||
"rawWidth": 128,
|
||||
"rawHeight": 128,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [],
|
||||
"indexes": [],
|
||||
"uv": [],
|
||||
"nuv": [],
|
||||
"minPos": [],
|
||||
"maxPos": []
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "6f7ecf47-f58e-483c-b73c-256368a53f4b@6c48a",
|
||||
"atlasUuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2"
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
},
|
||||
"ee8d8": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2@ee8d8",
|
||||
"displayName": "",
|
||||
"id": "ee8d8",
|
||||
"name": "117",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -8,
|
||||
"offsetY": 1,
|
||||
"trimX": 961,
|
||||
"trimY": 1,
|
||||
"width": 104,
|
||||
"height": 114,
|
||||
"rawWidth": 128,
|
||||
"rawHeight": 128,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [],
|
||||
"indexes": [],
|
||||
"uv": [],
|
||||
"nuv": [],
|
||||
"minPos": [],
|
||||
"maxPos": []
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "6f7ecf47-f58e-483c-b73c-256368a53f4b@6c48a",
|
||||
"atlasUuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2"
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
},
|
||||
"59a8d": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2@59a8d",
|
||||
"displayName": "",
|
||||
"id": "59a8d",
|
||||
"name": "118",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -2,
|
||||
"offsetY": -3,
|
||||
"trimX": 845,
|
||||
"trimY": 1,
|
||||
"width": 114,
|
||||
"height": 116,
|
||||
"rawWidth": 128,
|
||||
"rawHeight": 128,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [],
|
||||
"indexes": [],
|
||||
"uv": [],
|
||||
"nuv": [],
|
||||
"minPos": [],
|
||||
"maxPos": []
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "6f7ecf47-f58e-483c-b73c-256368a53f4b@6c48a",
|
||||
"atlasUuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2"
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
},
|
||||
"0783f": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2@0783f",
|
||||
"displayName": "",
|
||||
"id": "0783f",
|
||||
"name": "119",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": -5,
|
||||
"trimX": 527,
|
||||
"trimY": 1,
|
||||
"width": 118,
|
||||
"height": 118,
|
||||
"rawWidth": 128,
|
||||
"rawHeight": 128,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [],
|
||||
"indexes": [],
|
||||
"uv": [],
|
||||
"nuv": [],
|
||||
"minPos": [],
|
||||
"maxPos": []
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "6f7ecf47-f58e-483c-b73c-256368a53f4b@6c48a",
|
||||
"atlasUuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2"
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
},
|
||||
"dcdf2": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2@dcdf2",
|
||||
"displayName": "",
|
||||
"id": "dcdf2",
|
||||
"name": "120",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -2,
|
||||
"offsetY": -4,
|
||||
"trimX": 1873,
|
||||
"trimY": 1,
|
||||
"width": 100,
|
||||
"height": 104,
|
||||
"rawWidth": 128,
|
||||
"rawHeight": 128,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [],
|
||||
"indexes": [],
|
||||
"uv": [],
|
||||
"nuv": [],
|
||||
"minPos": [],
|
||||
"maxPos": []
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "6f7ecf47-f58e-483c-b73c-256368a53f4b@6c48a",
|
||||
"atlasUuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2"
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"atlasTextureName": "player.png",
|
||||
"format": 3,
|
||||
"uuid": "7b95dfa5-c844-44d4-8d63-302f57da2ba2",
|
||||
"textureUuid": "6f7ecf47-f58e-483c-b73c-256368a53f4b@6c48a"
|
||||
}
|
||||
}
|
||||
BIN
assets/resources/game/heros/player.png
Normal file
|
After Width: | Height: | Size: 97 KiB |
@@ -2,7 +2,7 @@
|
||||
"ver": "1.0.26",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "3669d8be-4c43-42b7-b9d0-fe990d77db8b",
|
||||
"uuid": "6f7ecf47-f58e-483c-b73c-256368a53f4b",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
@@ -10,8 +10,8 @@
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "3669d8be-4c43-42b7-b9d0-fe990d77db8b@6c48a",
|
||||
"displayName": "skeleton",
|
||||
"uuid": "6f7ecf47-f58e-483c-b73c-256368a53f4b@6c48a",
|
||||
"displayName": "player",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
@@ -22,7 +22,7 @@
|
||||
"mipfilter": "none",
|
||||
"anisotropy": 0,
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "3669d8be-4c43-42b7-b9d0-fe990d77db8b",
|
||||
"imageUuidOrDatabaseUri": "6f7ecf47-f58e-483c-b73c-256368a53f4b",
|
||||
"visible": false
|
||||
},
|
||||
"ver": "1.0.22",
|
||||
@@ -37,6 +37,6 @@
|
||||
"hasAlpha": true,
|
||||
"type": "texture",
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "3669d8be-4c43-42b7-b9d0-fe990d77db8b@6c48a"
|
||||
"redirect": "6f7ecf47-f58e-483c-b73c-256368a53f4b@6c48a"
|
||||
}
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
|
||||
skeleton.png
|
||||
size: 100,55
|
||||
format: RGBA8888
|
||||
filter: Linear,Linear
|
||||
repeat: none
|
||||
bb
|
||||
rotate: false
|
||||
xy: 2, 2
|
||||
size: 82, 51
|
||||
orig: 82, 51
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
shadow
|
||||
rotate: true
|
||||
xy: 86, 21
|
||||
size: 32, 12
|
||||
orig: 32, 12
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
@@ -1,12 +0,0 @@
|
||||
{
|
||||
"ver": "1.0.1",
|
||||
"importer": "*",
|
||||
"imported": true,
|
||||
"uuid": "c25902d8-36df-48f2-af71-6be1827463a0",
|
||||
"files": [
|
||||
".atlas",
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
@@ -1,97 +0,0 @@
|
||||
{
|
||||
"skeleton": {
|
||||
"hash": "Ujid68+V9E1ioDp5+o8EZg0JItI",
|
||||
"spine": "3.8.99",
|
||||
"x": -29.04,
|
||||
"y": -4.71,
|
||||
"width": 48,
|
||||
"height": 34.56,
|
||||
"images": "",
|
||||
"audio": ""
|
||||
},
|
||||
"bones": [
|
||||
{ "name": "root" },
|
||||
{ "name": "bone", "parent": "root", "x": -7.45, "y": 24, "scaleX": 1.0139, "scaleY": 1.0139 },
|
||||
{ "name": "shandow", "parent": "root", "x": -30.66, "y": -0.37, "scaleX": 1.5, "scaleY": 0.7239 }
|
||||
],
|
||||
"slots": [
|
||||
{ "name": "shadow", "bone": "shandow", "attachment": "shadow" },
|
||||
{ "name": "bb", "bone": "bone", "attachment": "bb" }
|
||||
],
|
||||
"skins": [
|
||||
{
|
||||
"name": "default",
|
||||
"attachments": {
|
||||
"bb": {
|
||||
"bb": { "x": 6.85, "y": 5.13, "scaleX": 0.1867, "scaleY": 0.1857, "width": 82, "height": 51 }
|
||||
},
|
||||
"shadow": {
|
||||
"shadow": { "x": 17.08, "width": 32, "height": 12 }
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"animations": {
|
||||
"atk": {
|
||||
"bones": {
|
||||
"shandow": {
|
||||
"scale": [
|
||||
{},
|
||||
{ "time": 0.3, "x": 0.682 },
|
||||
{ "time": 0.4, "x": 0.86 },
|
||||
{ "time": 0.5 }
|
||||
]
|
||||
},
|
||||
"bone": {
|
||||
"scale": [
|
||||
{},
|
||||
{ "time": 0.3, "x": 0.682 },
|
||||
{ "time": 0.4, "x": 1.06 },
|
||||
{ "time": 0.5 }
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"magic": {
|
||||
"bones": {
|
||||
"bone": {
|
||||
"scale": [
|
||||
{ "x": 0.986, "y": 0.986 },
|
||||
{ "time": 0.2, "x": 1.153, "y": 0.896 },
|
||||
{ "time": 0.4, "x": 0.789, "y": 1.085, "curve": "stepped" },
|
||||
{ "time": 0.5333, "x": 0.789, "y": 1.085 },
|
||||
{ "time": 0.6667, "x": 0.986, "y": 0.986 }
|
||||
]
|
||||
},
|
||||
"shandow": {
|
||||
"scale": [
|
||||
{},
|
||||
{ "time": 0.2, "x": 1.1 },
|
||||
{ "time": 0.4, "x": 0.9, "curve": "stepped" },
|
||||
{ "time": 0.5333, "x": 0.9 },
|
||||
{ "time": 0.6333, "x": 1.5 },
|
||||
{ "time": 0.6667 }
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"move": {
|
||||
"bones": {
|
||||
"shandow": {
|
||||
"scale": [
|
||||
{},
|
||||
{ "time": 0.5, "x": 1.106 },
|
||||
{ "time": 1 }
|
||||
]
|
||||
},
|
||||
"bone": {
|
||||
"scale": [
|
||||
{},
|
||||
{ "time": 0.5, "y": 0.96 },
|
||||
{ "time": 1 }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
{
|
||||
"ver": "1.2.6",
|
||||
"importer": "spine-data",
|
||||
"imported": true,
|
||||
"uuid": "4ba2de71-96df-42bd-b2df-7b67756e16e3",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 1.3 KiB |
@@ -1,134 +0,0 @@
|
||||
{
|
||||
"ver": "1.0.26",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "7b9c6074-ab9e-4a86-9612-befdd799ae80",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "7b9c6074-ab9e-4a86-9612-befdd799ae80@6c48a",
|
||||
"displayName": "skeleton",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"minfilter": "linear",
|
||||
"magfilter": "linear",
|
||||
"mipfilter": "none",
|
||||
"anisotropy": 0,
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "7b9c6074-ab9e-4a86-9612-befdd799ae80",
|
||||
"visible": false
|
||||
},
|
||||
"ver": "1.0.22",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
},
|
||||
"f9941": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "7b9c6074-ab9e-4a86-9612-befdd799ae80@f9941",
|
||||
"displayName": "skeleton",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 2,
|
||||
"trimY": 2,
|
||||
"width": 96,
|
||||
"height": 51,
|
||||
"rawWidth": 100,
|
||||
"rawHeight": 55,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-48,
|
||||
-25.5,
|
||||
0,
|
||||
48,
|
||||
-25.5,
|
||||
0,
|
||||
-48,
|
||||
25.5,
|
||||
0,
|
||||
48,
|
||||
25.5,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
2,
|
||||
53,
|
||||
98,
|
||||
53,
|
||||
2,
|
||||
2,
|
||||
98,
|
||||
2
|
||||
],
|
||||
"nuv": [
|
||||
0.02,
|
||||
0.03636363636363636,
|
||||
0.98,
|
||||
0.03636363636363636,
|
||||
0.02,
|
||||
0.9636363636363636,
|
||||
0.98,
|
||||
0.9636363636363636
|
||||
],
|
||||
"minPos": [
|
||||
-48,
|
||||
-25.5,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
48,
|
||||
25.5,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "7b9c6074-ab9e-4a86-9612-befdd799ae80@6c48a",
|
||||
"atlasUuid": ""
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"hasAlpha": true,
|
||||
"type": "sprite-frame",
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "7b9c6074-ab9e-4a86-9612-befdd799ae80@f9941"
|
||||
}
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
{
|
||||
"ver": "1.2.0",
|
||||
"importer": "directory",
|
||||
"imported": true,
|
||||
"uuid": "19a59c8f-5f50-4687-aaad-2e2bde3e8303",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"compressionType": {},
|
||||
"isRemoteBundle": {}
|
||||
}
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
{
|
||||
"ver": "1.2.0",
|
||||
"importer": "directory",
|
||||
"imported": true,
|
||||
"uuid": "e8063f97-9e62-47a4-ba94-96793635327e",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"compressionType": {},
|
||||
"isRemoteBundle": {}
|
||||
}
|
||||
}
|
||||
@@ -1,278 +0,0 @@
|
||||
{
|
||||
"animator": "1.0.0",
|
||||
"mainStateMachine": {
|
||||
"layerPos": [
|
||||
56.40011519631385,
|
||||
88.05260631659786
|
||||
],
|
||||
"layerScale": 1.2000000000000002,
|
||||
"anyStatePos": [
|
||||
-300,
|
||||
300
|
||||
],
|
||||
"subStates": [
|
||||
"Idle",
|
||||
"Walk",
|
||||
"Attack",
|
||||
"Hit",
|
||||
"Run",
|
||||
"Jump"
|
||||
],
|
||||
"subStateMachines": []
|
||||
},
|
||||
"subStateMachines": [],
|
||||
"defaultState": "Idle",
|
||||
"anyState": {
|
||||
"transitions": [
|
||||
{
|
||||
"toState": "Hit",
|
||||
"hasExitTime": false,
|
||||
"conditions": [
|
||||
{
|
||||
"param": "Hit",
|
||||
"value": 0,
|
||||
"logic": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"toState": "Attack",
|
||||
"hasExitTime": false,
|
||||
"conditions": [
|
||||
{
|
||||
"param": "Attack",
|
||||
"value": 0,
|
||||
"logic": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"position": [
|
||||
-300,
|
||||
-120
|
||||
],
|
||||
"upStateMachine": "BaseLayer",
|
||||
"state": "Idle",
|
||||
"motion": "cocos_anim_idle",
|
||||
"speed": 1,
|
||||
"multiplier": "",
|
||||
"loop": true,
|
||||
"transitions": [
|
||||
{
|
||||
"toState": "Walk",
|
||||
"hasExitTime": false,
|
||||
"conditions": [
|
||||
{
|
||||
"param": "Speed",
|
||||
"value": 1,
|
||||
"logic": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"toState": "Run",
|
||||
"hasExitTime": false,
|
||||
"conditions": [
|
||||
{
|
||||
"param": "Speed",
|
||||
"value": 2,
|
||||
"logic": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"toState": "Jump",
|
||||
"hasExitTime": false,
|
||||
"conditions": [
|
||||
{
|
||||
"param": "Jump",
|
||||
"value": 0,
|
||||
"logic": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"position": [
|
||||
150,
|
||||
-120
|
||||
],
|
||||
"upStateMachine": "BaseLayer",
|
||||
"state": "Walk",
|
||||
"motion": "cocos_anim_walk",
|
||||
"speed": 1,
|
||||
"multiplier": "",
|
||||
"loop": true,
|
||||
"transitions": [
|
||||
{
|
||||
"toState": "Idle",
|
||||
"hasExitTime": false,
|
||||
"conditions": [
|
||||
{
|
||||
"param": "Speed",
|
||||
"value": 0,
|
||||
"logic": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"toState": "Run",
|
||||
"hasExitTime": false,
|
||||
"conditions": [
|
||||
{
|
||||
"param": "Speed",
|
||||
"value": 2,
|
||||
"logic": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"toState": "Jump",
|
||||
"hasExitTime": false,
|
||||
"conditions": [
|
||||
{
|
||||
"param": "Jump",
|
||||
"value": 0,
|
||||
"logic": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"position": [
|
||||
150,
|
||||
90
|
||||
],
|
||||
"upStateMachine": "BaseLayer",
|
||||
"state": "Attack",
|
||||
"motion": "cocos_anim_attack",
|
||||
"speed": 1,
|
||||
"multiplier": "",
|
||||
"loop": false,
|
||||
"transitions": [
|
||||
{
|
||||
"toState": "Idle",
|
||||
"hasExitTime": true,
|
||||
"conditions": []
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"position": [
|
||||
-300,
|
||||
90
|
||||
],
|
||||
"upStateMachine": "BaseLayer",
|
||||
"state": "Hit",
|
||||
"motion": "cocos_anim_squat",
|
||||
"speed": 1,
|
||||
"multiplier": "",
|
||||
"loop": false,
|
||||
"transitions": [
|
||||
{
|
||||
"toState": "Idle",
|
||||
"hasExitTime": true,
|
||||
"conditions": []
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"position": [
|
||||
150,
|
||||
-300
|
||||
],
|
||||
"upStateMachine": "BaseLayer",
|
||||
"state": "Run",
|
||||
"motion": "cocos_anim_run",
|
||||
"speed": 1,
|
||||
"multiplier": "",
|
||||
"loop": true,
|
||||
"transitions": [
|
||||
{
|
||||
"toState": "Walk",
|
||||
"hasExitTime": false,
|
||||
"conditions": [
|
||||
{
|
||||
"param": "Speed",
|
||||
"value": 0,
|
||||
"logic": 2
|
||||
},
|
||||
{
|
||||
"param": "Speed",
|
||||
"value": 2,
|
||||
"logic": 3
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"toState": "Idle",
|
||||
"hasExitTime": false,
|
||||
"conditions": [
|
||||
{
|
||||
"param": "Speed",
|
||||
"value": 0,
|
||||
"logic": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"toState": "Jump",
|
||||
"hasExitTime": false,
|
||||
"conditions": [
|
||||
{
|
||||
"param": "Jump",
|
||||
"value": 0,
|
||||
"logic": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"position": [
|
||||
-300,
|
||||
-300
|
||||
],
|
||||
"upStateMachine": "BaseLayer",
|
||||
"state": "Jump",
|
||||
"motion": "cocos_anim_jump",
|
||||
"speed": 1,
|
||||
"multiplier": "",
|
||||
"loop": false,
|
||||
"transitions": [
|
||||
{
|
||||
"toState": "Idle",
|
||||
"hasExitTime": true,
|
||||
"conditions": []
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"parameters": [
|
||||
{
|
||||
"param": "Speed",
|
||||
"type": 2,
|
||||
"init": 0
|
||||
},
|
||||
{
|
||||
"param": "Attack",
|
||||
"type": 3,
|
||||
"init": 0
|
||||
},
|
||||
{
|
||||
"param": "Hit",
|
||||
"type": 3,
|
||||
"init": 0
|
||||
},
|
||||
{
|
||||
"param": "Jump",
|
||||
"type": 3,
|
||||
"init": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
{"defaultState":"Idle","anyState":{"transitions":[{"toState":"Hit","hasExitTime":false,"conditions":[{"param":"Hit","value":0,"logic":0}]},{"toState":"Attack","hasExitTime":false,"conditions":[{"param":"Attack","value":0,"logic":0}]}]},"states":[{"state":"Idle","motion":"cocos_anim_idle","speed":1,"multiplier":"","loop":true,"transitions":[{"toState":"Walk","hasExitTime":false,"conditions":[{"param":"Speed","value":1,"logic":0}]},{"toState":"Run","hasExitTime":false,"conditions":[{"param":"Speed","value":2,"logic":4}]},{"toState":"Jump","hasExitTime":false,"conditions":[{"param":"Jump","value":0,"logic":0}]}]},{"state":"Walk","motion":"cocos_anim_walk","speed":1,"multiplier":"","loop":true,"transitions":[{"toState":"Idle","hasExitTime":false,"conditions":[{"param":"Speed","value":0,"logic":0}]},{"toState":"Run","hasExitTime":false,"conditions":[{"param":"Speed","value":2,"logic":4}]},{"toState":"Jump","hasExitTime":false,"conditions":[{"param":"Jump","value":0,"logic":0}]}]},{"state":"Attack","motion":"cocos_anim_attack","speed":1,"multiplier":"","loop":false,"transitions":[{"toState":"Idle","hasExitTime":true,"conditions":[]}]},{"state":"Hit","motion":"cocos_anim_squat","speed":1,"multiplier":"","loop":false,"transitions":[{"toState":"Idle","hasExitTime":true,"conditions":[]}]},{"state":"Run","motion":"cocos_anim_run","speed":1,"multiplier":"","loop":true,"transitions":[{"toState":"Walk","hasExitTime":false,"conditions":[{"param":"Speed","value":0,"logic":2},{"param":"Speed","value":2,"logic":3}]},{"toState":"Idle","hasExitTime":false,"conditions":[{"param":"Speed","value":0,"logic":0}]},{"toState":"Jump","hasExitTime":false,"conditions":[{"param":"Jump","value":0,"logic":0}]}]},{"state":"Jump","motion":"cocos_anim_jump","speed":1,"multiplier":"","loop":false,"transitions":[{"toState":"Idle","hasExitTime":true,"conditions":[]}]}],"parameters":[{"param":"Speed","type":2,"init":0},{"param":"Attack","type":3,"init":0},{"param":"Hit","type":3,"init":0},{"param":"Jump","type":3,"init":0}]}
|
||||
@@ -1,11 +0,0 @@
|
||||
{
|
||||
"ver": "2.0.1",
|
||||
"importer": "json",
|
||||
"imported": true,
|
||||
"uuid": "3bb591f3-f44c-4cf5-8a9a-5be993d55082",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
@@ -1,101 +0,0 @@
|
||||
{
|
||||
"defaultState": "idle",
|
||||
"anyState": {
|
||||
"transitions": [
|
||||
{
|
||||
"toState": "act1",
|
||||
"hasExitTime": false,
|
||||
"conditions": [
|
||||
{
|
||||
"param": "act1",
|
||||
"value": 0,
|
||||
"logic": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"position": [
|
||||
-300,
|
||||
-120
|
||||
],
|
||||
"upStateMachine": "BaseLayer",
|
||||
"state": "idle",
|
||||
"motion": "idle",
|
||||
"speed": 1,
|
||||
"multiplier": "",
|
||||
"loop": true,
|
||||
"transitions": [
|
||||
{
|
||||
"toState": "move",
|
||||
"hasExitTime": false,
|
||||
"conditions": [
|
||||
{
|
||||
"param": "Speed",
|
||||
"value": 1,
|
||||
"logic": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"position": [
|
||||
150,
|
||||
-120
|
||||
],
|
||||
"upStateMachine": "BaseLayer",
|
||||
"state": "move",
|
||||
"motion": "Run",
|
||||
"speed": 1,
|
||||
"multiplier": "",
|
||||
"loop": true,
|
||||
"transitions": [
|
||||
{
|
||||
"toState": "idle",
|
||||
"hasExitTime": false,
|
||||
"conditions": [
|
||||
{
|
||||
"param": "Speed",
|
||||
"value": 0,
|
||||
"logic": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"position": [
|
||||
-300,
|
||||
90
|
||||
],
|
||||
"upStateMachine": "BaseLayer",
|
||||
"state": "act1",
|
||||
"motion": "act1",
|
||||
"speed": 1,
|
||||
"multiplier": "",
|
||||
"loop": false,
|
||||
"transitions": [
|
||||
{
|
||||
"toState": "idle",
|
||||
"hasExitTime": true,
|
||||
"conditions": []
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"parameters": [
|
||||
{
|
||||
"param": "Speed",
|
||||
"type": 2,
|
||||
"init": 0
|
||||
},
|
||||
{
|
||||
"param": "act1",
|
||||
"type": 3,
|
||||
"init": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
{
|
||||
"ver": "2.0.1",
|
||||
"importer": "json",
|
||||
"imported": true,
|
||||
"uuid": "50147ed6-e9d8-4918-9335-9f22e6e3209d",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
@@ -1,154 +0,0 @@
|
||||
{
|
||||
"animator": "1.0.0",
|
||||
"mainStateMachine": {
|
||||
"layerPos": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"layerScale": 1,
|
||||
"anyStatePos": [
|
||||
-660,
|
||||
390
|
||||
],
|
||||
"subStates": [
|
||||
"act1",
|
||||
"idle",
|
||||
"magic1",
|
||||
"move"
|
||||
],
|
||||
"subStateMachines": []
|
||||
},
|
||||
"subStateMachines": [],
|
||||
"defaultState": "idle",
|
||||
"anyState": {
|
||||
"transitions": []
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"position": [
|
||||
-180,
|
||||
420
|
||||
],
|
||||
"upStateMachine": "BaseLayer",
|
||||
"state": "act1",
|
||||
"motion": "act1",
|
||||
"speed": 1,
|
||||
"multiplier": "",
|
||||
"loop": false,
|
||||
"transitions": [
|
||||
{
|
||||
"toState": "idle",
|
||||
"hasExitTime": true,
|
||||
"conditions": []
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"position": [
|
||||
-390,
|
||||
240
|
||||
],
|
||||
"upStateMachine": "BaseLayer",
|
||||
"state": "idle",
|
||||
"motion": "idle",
|
||||
"speed": 1,
|
||||
"multiplier": "",
|
||||
"loop": true,
|
||||
"transitions": [
|
||||
{
|
||||
"toState": "move",
|
||||
"hasExitTime": false,
|
||||
"conditions": [
|
||||
{
|
||||
"param": "act1",
|
||||
"value": 0,
|
||||
"logic": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"toState": "act1",
|
||||
"hasExitTime": false,
|
||||
"conditions": [
|
||||
{
|
||||
"param": "magic1",
|
||||
"value": 0,
|
||||
"logic": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"toState": "magic1",
|
||||
"hasExitTime": false,
|
||||
"conditions": [
|
||||
{
|
||||
"param": "move",
|
||||
"value": 0,
|
||||
"logic": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"position": [
|
||||
60,
|
||||
180
|
||||
],
|
||||
"upStateMachine": "BaseLayer",
|
||||
"state": "magic1",
|
||||
"motion": "magic1",
|
||||
"speed": 1,
|
||||
"multiplier": "",
|
||||
"loop": false,
|
||||
"transitions": [
|
||||
{
|
||||
"toState": "idle",
|
||||
"hasExitTime": true,
|
||||
"conditions": []
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"position": [
|
||||
-240,
|
||||
0
|
||||
],
|
||||
"upStateMachine": "BaseLayer",
|
||||
"state": "move",
|
||||
"motion": "move",
|
||||
"speed": 1,
|
||||
"multiplier": "",
|
||||
"loop": false,
|
||||
"transitions": [
|
||||
{
|
||||
"toState": "idle",
|
||||
"hasExitTime": true,
|
||||
"conditions": []
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"parameters": [
|
||||
{
|
||||
"param": "act1",
|
||||
"type": 3,
|
||||
"init": 0
|
||||
},
|
||||
{
|
||||
"param": "magic1",
|
||||
"type": 3,
|
||||
"init": 0
|
||||
},
|
||||
{
|
||||
"param": "move",
|
||||
"type": 3,
|
||||
"init": 0
|
||||
},
|
||||
{
|
||||
"param": "idle",
|
||||
"type": 3,
|
||||
"init": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
{
|
||||
"ver": "2.0.1",
|
||||
"importer": "json",
|
||||
"imported": true,
|
||||
"uuid": "87e4e045-ac3f-421a-9569-ca46b8648e2a",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
@@ -1,34 +0,0 @@
|
||||
|
||||
skeleton.png
|
||||
size: 1271,324
|
||||
format: RGBA8888
|
||||
filter: Linear,Linear
|
||||
repeat: none
|
||||
hb_01
|
||||
rotate: false
|
||||
xy: 2, 2
|
||||
size: 320, 320
|
||||
orig: 320, 320
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
hb_02
|
||||
rotate: false
|
||||
xy: 645, 10
|
||||
size: 312, 312
|
||||
orig: 320, 320
|
||||
offset: 1, 4
|
||||
index: -1
|
||||
hb_03
|
||||
rotate: true
|
||||
xy: 324, 2
|
||||
size: 320, 319
|
||||
orig: 320, 320
|
||||
offset: 0, 1
|
||||
index: -1
|
||||
hb_04
|
||||
rotate: false
|
||||
xy: 959, 12
|
||||
size: 310, 310
|
||||
orig: 320, 320
|
||||
offset: 2, 8
|
||||
index: -1
|
||||
@@ -1,12 +0,0 @@
|
||||
{
|
||||
"ver": "1.0.1",
|
||||
"importer": "*",
|
||||
"imported": true,
|
||||
"uuid": "38260c33-9864-45a7-8466-fbd9f5d6a7ad",
|
||||
"files": [
|
||||
".atlas",
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
@@ -1,99 +0,0 @@
|
||||
{
|
||||
"skeleton": {
|
||||
"hash": "fYDeOpztoYDiS0D+OqdbTuJk36Y",
|
||||
"spine": "3.8.99",
|
||||
"x": -170,
|
||||
"y": -170,
|
||||
"width": 320,
|
||||
"height": 320,
|
||||
"images": "",
|
||||
"audio": ""
|
||||
},
|
||||
"bones": [
|
||||
{ "name": "root", "x": -10, "y": -10 }
|
||||
],
|
||||
"slots": [
|
||||
{ "name": "hero_background", "bone": "root", "attachment": "hb_03" }
|
||||
],
|
||||
"skins": [
|
||||
{
|
||||
"name": "heath",
|
||||
"attachments": {
|
||||
"hero_background": {
|
||||
"hb_03": { "name": "hb_04", "width": 320, "height": 320 }
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "magic",
|
||||
"attachments": {
|
||||
"hero_background": {
|
||||
"hb_03": { "name": "hb_01", "x": -0.1, "y": 0.19, "width": 320, "height": 320 }
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "monster",
|
||||
"attachments": {
|
||||
"hero_background": {
|
||||
"hb_03": { "name": "hb_02", "width": 320, "height": 320 }
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "war",
|
||||
"attachments": {
|
||||
"hero_background": {
|
||||
"hb_03": { "width": 320, "height": 320 }
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"animations": {
|
||||
"act1": {
|
||||
"bones": {
|
||||
"root": {
|
||||
"translate": [
|
||||
{},
|
||||
{ "time": 0.3333, "x": -20 },
|
||||
{ "time": 0.5667, "x": 40 },
|
||||
{ "time": 0.8 }
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"idle": {
|
||||
"bones": {
|
||||
"root": {
|
||||
"translate": [
|
||||
{},
|
||||
{ "time": 0.5, "y": 8 },
|
||||
{ "time": 1 }
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"magic1": {
|
||||
"bones": {
|
||||
"root": {
|
||||
"rotate": [
|
||||
{},
|
||||
{ "time": 0.5, "angle": 15 },
|
||||
{ "time": 1 }
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"move": {
|
||||
"bones": {
|
||||
"root": {
|
||||
"translate": [
|
||||
{},
|
||||
{ "time": 0.3667, "y": 15 },
|
||||
{ "time": 0.8 }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
{
|
||||
"ver": "1.2.6",
|
||||
"importer": "spine-data",
|
||||
"imported": true,
|
||||
"uuid": "52673d05-5225-4ac6-98e4-efe6494452ce",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 497 KiB |
@@ -1,805 +0,0 @@
|
||||
[
|
||||
{
|
||||
"__type__": "cc.Prefab",
|
||||
"_name": "player",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_native": "",
|
||||
"data": {
|
||||
"__id__": 1
|
||||
},
|
||||
"optimizationPolicy": 0,
|
||||
"persistent": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "player",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": null,
|
||||
"_children": [
|
||||
{
|
||||
"__id__": 2
|
||||
},
|
||||
{
|
||||
"__id__": 8
|
||||
},
|
||||
{
|
||||
"__id__": 16
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 30
|
||||
},
|
||||
{
|
||||
"__id__": 32
|
||||
},
|
||||
{
|
||||
"__id__": 34
|
||||
},
|
||||
{
|
||||
"__id__": 36
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 38
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
"__type__": "cc.Quat",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
"_layer": 1,
|
||||
"_euler": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "shader",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_children": [],
|
||||
"_active": false,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 3
|
||||
},
|
||||
{
|
||||
"__id__": 5
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 7
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
"__type__": "cc.Quat",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
"_layer": 1,
|
||||
"_euler": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.UITransform",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 2
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 4
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 165,
|
||||
"height": 119
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "f7NISe7HdAD68SLfhnddy8"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Sprite",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 2
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 6
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
"_dstBlendFactor": 4,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "b1745dc0-d78b-4443-a4fc-746ff6749b39@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
"_type": 0,
|
||||
"_fillType": 0,
|
||||
"_sizeMode": 0,
|
||||
"_fillCenter": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"_fillStart": 0,
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_useGrayscale": false,
|
||||
"_atlas": null,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "e71ctEmpxFC4KlSYRZNz/a"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "66VNgwnoRDmprg2mtbH825",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "avatar",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 9
|
||||
},
|
||||
{
|
||||
"__id__": 11
|
||||
},
|
||||
{
|
||||
"__id__": 13
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 15
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
"__type__": "cc.Quat",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0.25,
|
||||
"y": 0.25,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
"_layer": 1,
|
||||
"_euler": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.UITransform",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 8
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 10
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 320,
|
||||
"height": 320
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.53125,
|
||||
"y": 0.53125
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "2epemEawRGPpO3vKyuHHBL"
|
||||
},
|
||||
{
|
||||
"__type__": "sp.Skeleton",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 8
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 12
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
"_dstBlendFactor": 4,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_skeletonData": {
|
||||
"__uuid__": "52673d05-5225-4ac6-98e4-efe6494452ce",
|
||||
"__expectedType__": "sp.SkeletonData"
|
||||
},
|
||||
"defaultSkin": "heath",
|
||||
"defaultAnimation": "idle",
|
||||
"_premultipliedAlpha": false,
|
||||
"_timeScale": 1,
|
||||
"_preCacheMode": 1,
|
||||
"_cacheMode": 1,
|
||||
"_sockets": [],
|
||||
"_useTint": false,
|
||||
"_debugMesh": false,
|
||||
"_debugBones": false,
|
||||
"_debugSlots": false,
|
||||
"_enableBatch": false,
|
||||
"loop": true,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "d6Qb8NhhhN1ascGn7UPZok"
|
||||
},
|
||||
{
|
||||
"__type__": "eb846wnC9NNnIJh5u2Kw3mj",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 8
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 14
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "1917h/XdtMPqWpv2Qb0f6K"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "48a+Hx9oREoZ7vqKgprKhT",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "top",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_children": [
|
||||
{
|
||||
"__id__": 17
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 25
|
||||
},
|
||||
{
|
||||
"__id__": 27
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 29
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 113,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
"__type__": "cc.Quat",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
"_layer": 1,
|
||||
"_euler": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "lab_name",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 16
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 18
|
||||
},
|
||||
{
|
||||
"__id__": 20
|
||||
},
|
||||
{
|
||||
"__id__": 22
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 24
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 17.12,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
"__type__": "cc.Quat",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
"_layer": 1,
|
||||
"_euler": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.UITransform",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 17
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 19
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 189.390625,
|
||||
"height": 34.24
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "c68UOAlNhN171Umca6yVvF"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Label",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 17
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 21
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
"_dstBlendFactor": 4,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_string": "oops - framework",
|
||||
"_horizontalAlign": 1,
|
||||
"_verticalAlign": 1,
|
||||
"_actualFontSize": 24,
|
||||
"_fontSize": 24,
|
||||
"_fontFamily": "Arial",
|
||||
"_lineHeight": 24,
|
||||
"_overflow": 0,
|
||||
"_enableWrapText": true,
|
||||
"_font": null,
|
||||
"_isSystemFontUsed": true,
|
||||
"_spacingX": 0,
|
||||
"_isItalic": false,
|
||||
"_isBold": false,
|
||||
"_isUnderline": false,
|
||||
"_underlineHeight": 2,
|
||||
"_cacheMode": 1,
|
||||
"_enableOutline": true,
|
||||
"_outlineColor": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 0,
|
||||
"g": 0,
|
||||
"b": 0,
|
||||
"a": 255
|
||||
},
|
||||
"_outlineWidth": 2,
|
||||
"_enableShadow": false,
|
||||
"_shadowColor": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 0,
|
||||
"g": 0,
|
||||
"b": 0,
|
||||
"a": 255
|
||||
},
|
||||
"_shadowOffset": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 2,
|
||||
"y": 2
|
||||
},
|
||||
"_shadowBlur": 2,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "2frm37uaJHQr0AEEaYyM82"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.LabelOutline",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 17
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 23
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "aeeDsd9JVLMK0M/n2WTVl7"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "31uZ7ewvdKoKWqTJ+narWR",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
},
|
||||
{
|
||||
"__type__": "cc.UITransform",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 16
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 26
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 0,
|
||||
"height": 34.24
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "234p72JXlGdp68uJcFfl0q"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Layout",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 16
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 28
|
||||
},
|
||||
"_resizeMode": 1,
|
||||
"_layoutType": 2,
|
||||
"_cellSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 40,
|
||||
"height": 40
|
||||
},
|
||||
"_startAxis": 0,
|
||||
"_paddingLeft": 0,
|
||||
"_paddingRight": 0,
|
||||
"_paddingTop": 0,
|
||||
"_paddingBottom": 0,
|
||||
"_spacingX": 0,
|
||||
"_spacingY": 0,
|
||||
"_verticalDirection": 1,
|
||||
"_horizontalDirection": 0,
|
||||
"_constraint": 0,
|
||||
"_constraintNum": 2,
|
||||
"_affectedByScale": false,
|
||||
"_isAlign": false,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "a5G3mGGpNLDI2/5kZx17N8"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "d6Y+tOem9EaKNOQr6QHMns",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
},
|
||||
{
|
||||
"__type__": "cc.UITransform",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 31
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 100,
|
||||
"height": 100
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "14OhXRCixNOaApgow/hFbp"
|
||||
},
|
||||
{
|
||||
"__type__": "sp.Skeleton",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 33
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
"_dstBlendFactor": 4,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_skeletonData": null,
|
||||
"defaultSkin": "",
|
||||
"defaultAnimation": "",
|
||||
"_premultipliedAlpha": true,
|
||||
"_timeScale": 1,
|
||||
"_preCacheMode": -1,
|
||||
"_cacheMode": 0,
|
||||
"_sockets": [],
|
||||
"_useTint": false,
|
||||
"_debugMesh": false,
|
||||
"_debugBones": false,
|
||||
"_debugSlots": false,
|
||||
"_enableBatch": false,
|
||||
"loop": true,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "3dWWGO2rFK4LL+PeQ7ANRn"
|
||||
},
|
||||
{
|
||||
"__type__": "9b561C/2tNGlbtkkgBnAepW",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 35
|
||||
},
|
||||
"animator": {
|
||||
"__id__": 13
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "0cwuB2TClMRI8nMD5Lk9Sg"
|
||||
},
|
||||
{
|
||||
"__type__": "60726sarbtIDJfLLE+75yKL",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 37
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "39G8yJo19PUpY+Tgxza8T5"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "fdklpBwCBM/qJ4WFlQF3kT",
|
||||
"instance": null,
|
||||
"targetOverrides": null
|
||||
}
|
||||
]
|
||||
|
Before Width: | Height: | Size: 14 KiB |
@@ -1,134 +0,0 @@
|
||||
{
|
||||
"ver": "1.0.26",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "b1745dc0-d78b-4443-a4fc-746ff6749b39",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "b1745dc0-d78b-4443-a4fc-746ff6749b39@6c48a",
|
||||
"displayName": "shader",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"minfilter": "linear",
|
||||
"magfilter": "linear",
|
||||
"mipfilter": "none",
|
||||
"anisotropy": 0,
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "b1745dc0-d78b-4443-a4fc-746ff6749b39",
|
||||
"visible": false
|
||||
},
|
||||
"ver": "1.0.22",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
},
|
||||
"f9941": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "b1745dc0-d78b-4443-a4fc-746ff6749b39@f9941",
|
||||
"displayName": "shader",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -0.5,
|
||||
"offsetY": 0.5,
|
||||
"trimX": 1,
|
||||
"trimY": 1,
|
||||
"width": 271,
|
||||
"height": 271,
|
||||
"rawWidth": 274,
|
||||
"rawHeight": 274,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "b1745dc0-d78b-4443-a4fc-746ff6749b39@6c48a",
|
||||
"atlasUuid": "",
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-135.5,
|
||||
-135.5,
|
||||
0,
|
||||
135.5,
|
||||
-135.5,
|
||||
0,
|
||||
-135.5,
|
||||
135.5,
|
||||
0,
|
||||
135.5,
|
||||
135.5,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
1,
|
||||
273,
|
||||
272,
|
||||
273,
|
||||
1,
|
||||
2,
|
||||
272,
|
||||
2
|
||||
],
|
||||
"nuv": [
|
||||
0.0036496350364963502,
|
||||
0.0072992700729927005,
|
||||
0.9927007299270073,
|
||||
0.0072992700729927005,
|
||||
0.0036496350364963502,
|
||||
0.9963503649635036,
|
||||
0.9927007299270073,
|
||||
0.9963503649635036
|
||||
],
|
||||
"minPos": [
|
||||
-135.5,
|
||||
-135.5,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
135.5,
|
||||
135.5,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"hasAlpha": true,
|
||||
"type": "sprite-frame",
|
||||
"redirect": "b1745dc0-d78b-4443-a4fc-746ff6749b39@f9941",
|
||||
"fixAlphaTransparencyArtifacts": false
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 98 KiB After Width: | Height: | Size: 47 KiB |
1663
assets/resources/gui/hero_info.prefab
Normal file
13
assets/resources/gui/hero_info.prefab.meta
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"ver": "1.1.50",
|
||||
"importer": "prefab",
|
||||
"imported": true,
|
||||
"uuid": "d0be7733-e160-4cff-8733-8fd75f10813d",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"syncNodeName": "hero_info"
|
||||
}
|
||||
}
|
||||
2259
assets/resources/gui/unlock.prefab
Normal file
@@ -2,12 +2,12 @@
|
||||
"ver": "1.1.50",
|
||||
"importer": "prefab",
|
||||
"imported": true,
|
||||
"uuid": "684068cb-70a6-4528-88e7-bc16ef8eae1e",
|
||||
"uuid": "b033123c-3b97-4d66-a18d-c584460cf02f",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"syncNodeName": "player"
|
||||
"syncNodeName": "unlock"
|
||||
}
|
||||
}
|
||||
@@ -2,7 +2,7 @@
|
||||
"ver": "1.2.0",
|
||||
"importer": "directory",
|
||||
"imported": true,
|
||||
"uuid": "486ea431-70a3-44c7-b60a-ac56d901a94a",
|
||||
"uuid": "999a4407-2515-4dd1-a234-e71ae19d8722",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
5
assets/resources/json/monster.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"list": [
|
||||
|
||||
]
|
||||
}
|
||||
@@ -2,7 +2,7 @@
|
||||
"ver": "2.0.1",
|
||||
"importer": "json",
|
||||
"imported": true,
|
||||
"uuid": "c61b25b8-8698-4837-a989-8601a2ccb897",
|
||||
"uuid": "1f5ca1c9-920d-47e4-bd91-864d98fbe3f4",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
@@ -22,23 +22,23 @@
|
||||
"__id__": 2
|
||||
},
|
||||
{
|
||||
"__id__": 8
|
||||
"__id__": 10
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 46
|
||||
},
|
||||
{
|
||||
"__id__": 48
|
||||
},
|
||||
{
|
||||
"__id__": 50
|
||||
},
|
||||
{
|
||||
"__id__": 52
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 52
|
||||
"__id__": 54
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -85,10 +85,13 @@
|
||||
},
|
||||
{
|
||||
"__id__": 5
|
||||
},
|
||||
{
|
||||
"__id__": 7
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 7
|
||||
"__id__": 9
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -192,6 +195,42 @@
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "e71ctEmpxFC4KlSYRZNz/a"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Widget",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 2
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 8
|
||||
},
|
||||
"_alignFlags": 45,
|
||||
"_target": null,
|
||||
"_left": 0,
|
||||
"_right": 0,
|
||||
"_top": 0,
|
||||
"_bottom": 0,
|
||||
"_horizontalCenter": 0,
|
||||
"_verticalCenter": 0,
|
||||
"_isAbsLeft": true,
|
||||
"_isAbsRight": true,
|
||||
"_isAbsTop": true,
|
||||
"_isAbsBottom": true,
|
||||
"_isAbsHorizontalCenter": true,
|
||||
"_isAbsVerticalCenter": true,
|
||||
"_originalWidth": 720,
|
||||
"_originalHeight": 1280,
|
||||
"_alignMode": 2,
|
||||
"_lockFlags": 0,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "d2itLAU25NjKJpOCiipjS9"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
@@ -215,20 +254,17 @@
|
||||
},
|
||||
"_children": [
|
||||
{
|
||||
"__id__": 9
|
||||
"__id__": 11
|
||||
},
|
||||
{
|
||||
"__id__": 19
|
||||
"__id__": 21
|
||||
},
|
||||
{
|
||||
"__id__": 25
|
||||
"__id__": 27
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 35
|
||||
},
|
||||
{
|
||||
"__id__": 37
|
||||
},
|
||||
@@ -240,10 +276,13 @@
|
||||
},
|
||||
{
|
||||
"__id__": 43
|
||||
},
|
||||
{
|
||||
"__id__": 45
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 45
|
||||
"__id__": 47
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -280,14 +319,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 8
|
||||
"__id__": 10
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 10
|
||||
},
|
||||
{
|
||||
"__id__": 12
|
||||
},
|
||||
@@ -296,10 +332,13 @@
|
||||
},
|
||||
{
|
||||
"__id__": 16
|
||||
},
|
||||
{
|
||||
"__id__": 18
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 18
|
||||
"__id__": 20
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -336,11 +375,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 9
|
||||
"__id__": 11
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 11
|
||||
"__id__": 13
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -364,11 +403,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 9
|
||||
"__id__": 11
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 13
|
||||
"__id__": 15
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
@@ -432,11 +471,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 9
|
||||
"__id__": 11
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 15
|
||||
"__id__": 17
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
@@ -450,11 +489,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 9
|
||||
"__id__": 11
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 17
|
||||
"__id__": 19
|
||||
},
|
||||
"templateMode": false,
|
||||
"watchPath": "*.prompt",
|
||||
@@ -485,20 +524,20 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 8
|
||||
"__id__": 10
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 20
|
||||
"__id__": 22
|
||||
},
|
||||
{
|
||||
"__id__": 22
|
||||
"__id__": 24
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 24
|
||||
"__id__": 26
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -535,11 +574,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 19
|
||||
"__id__": 21
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 21
|
||||
"__id__": 23
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -563,11 +602,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 19
|
||||
"__id__": 21
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 23
|
||||
"__id__": 25
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
@@ -621,14 +660,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 8
|
||||
"__id__": 10
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 26
|
||||
},
|
||||
{
|
||||
"__id__": 28
|
||||
},
|
||||
@@ -637,10 +673,13 @@
|
||||
},
|
||||
{
|
||||
"__id__": 32
|
||||
},
|
||||
{
|
||||
"__id__": 34
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 34
|
||||
"__id__": 36
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -677,11 +716,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 25
|
||||
"__id__": 27
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 27
|
||||
"__id__": 29
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -705,11 +744,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 25
|
||||
"__id__": 27
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 29
|
||||
"__id__": 31
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
@@ -773,11 +812,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 25
|
||||
"__id__": 27
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 31
|
||||
"__id__": 33
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
@@ -791,11 +830,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 25
|
||||
"__id__": 27
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 33
|
||||
"__id__": 35
|
||||
},
|
||||
"templateMode": true,
|
||||
"watchPath": "",
|
||||
@@ -828,11 +867,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 8
|
||||
"__id__": 10
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 36
|
||||
"__id__": 38
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -856,11 +895,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 8
|
||||
"__id__": 10
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 38
|
||||
"__id__": 40
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
@@ -901,14 +940,14 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 8
|
||||
"__id__": 10
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 40
|
||||
"__id__": 42
|
||||
},
|
||||
"_barSprite": {
|
||||
"__id__": 22
|
||||
"__id__": 24
|
||||
},
|
||||
"_mode": 2,
|
||||
"_totalLength": 1,
|
||||
@@ -926,11 +965,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 8
|
||||
"__id__": 10
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 42
|
||||
"__id__": 44
|
||||
},
|
||||
"controller": false,
|
||||
"watchPath": "",
|
||||
@@ -954,11 +993,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 8
|
||||
"__id__": 10
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 44
|
||||
"__id__": 46
|
||||
},
|
||||
"_alignFlags": 4,
|
||||
"_target": null,
|
||||
@@ -1007,7 +1046,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 47
|
||||
"__id__": 49
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -1035,7 +1074,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 49
|
||||
"__id__": 51
|
||||
},
|
||||
"_alignFlags": 45,
|
||||
"_target": null,
|
||||
@@ -1071,7 +1110,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 51
|
||||
"__id__": 53
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
{
|
||||
"ver": "1.2.0",
|
||||
"importer": "directory",
|
||||
"imported": true,
|
||||
"uuid": "4244dadc-0495-409c-9ace-55668a568bd3",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"compressionType": {},
|
||||
"isRemoteBundle": {}
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 35 KiB |
@@ -1,134 +0,0 @@
|
||||
{
|
||||
"ver": "1.0.26",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "9d24beec-7f21-498f-9855-4dd1a9071aaf",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "9d24beec-7f21-498f-9855-4dd1a9071aaf@6c48a",
|
||||
"displayName": "fightMove01",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"minfilter": "linear",
|
||||
"magfilter": "linear",
|
||||
"mipfilter": "none",
|
||||
"anisotropy": 0,
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "9d24beec-7f21-498f-9855-4dd1a9071aaf",
|
||||
"visible": false
|
||||
},
|
||||
"ver": "1.0.22",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
},
|
||||
"f9941": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "9d24beec-7f21-498f-9855-4dd1a9071aaf@f9941",
|
||||
"displayName": "fightMove01",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 0,
|
||||
"trimY": 0,
|
||||
"width": 263,
|
||||
"height": 263,
|
||||
"rawWidth": 263,
|
||||
"rawHeight": 263,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "9d24beec-7f21-498f-9855-4dd1a9071aaf@6c48a",
|
||||
"atlasUuid": "",
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-131.5,
|
||||
-131.5,
|
||||
0,
|
||||
131.5,
|
||||
-131.5,
|
||||
0,
|
||||
-131.5,
|
||||
131.5,
|
||||
0,
|
||||
131.5,
|
||||
131.5,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
0,
|
||||
263,
|
||||
263,
|
||||
263,
|
||||
0,
|
||||
0,
|
||||
263,
|
||||
0
|
||||
],
|
||||
"nuv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"minPos": [
|
||||
-131.5,
|
||||
-131.5,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
131.5,
|
||||
131.5,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"hasAlpha": true,
|
||||
"type": "sprite-frame",
|
||||
"redirect": "9d24beec-7f21-498f-9855-4dd1a9071aaf@f9941",
|
||||
"fixAlphaTransparencyArtifacts": false
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 9.5 KiB |
@@ -1,134 +0,0 @@
|
||||
{
|
||||
"ver": "1.0.26",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "d945ed29-80ec-4d3f-93c0-7f016f7b29b6",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "d945ed29-80ec-4d3f-93c0-7f016f7b29b6@6c48a",
|
||||
"displayName": "fightMove02",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"minfilter": "linear",
|
||||
"magfilter": "linear",
|
||||
"mipfilter": "none",
|
||||
"anisotropy": 0,
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "d945ed29-80ec-4d3f-93c0-7f016f7b29b6",
|
||||
"visible": false
|
||||
},
|
||||
"ver": "1.0.22",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
},
|
||||
"f9941": {
|
||||
"importer": "sprite-frame",
|
||||
"uuid": "d945ed29-80ec-4d3f-93c0-7f016f7b29b6@f9941",
|
||||
"displayName": "fightMove02",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 0,
|
||||
"trimY": 0,
|
||||
"width": 159,
|
||||
"height": 159,
|
||||
"rawWidth": 159,
|
||||
"rawHeight": 159,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "d945ed29-80ec-4d3f-93c0-7f016f7b29b6@6c48a",
|
||||
"atlasUuid": "",
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-79.5,
|
||||
-79.5,
|
||||
0,
|
||||
79.5,
|
||||
-79.5,
|
||||
0,
|
||||
-79.5,
|
||||
79.5,
|
||||
0,
|
||||
79.5,
|
||||
79.5,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
0,
|
||||
159,
|
||||
159,
|
||||
159,
|
||||
0,
|
||||
0,
|
||||
159,
|
||||
0
|
||||
],
|
||||
"nuv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"minPos": [
|
||||
-79.5,
|
||||
-79.5,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
79.5,
|
||||
79.5,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"hasAlpha": true,
|
||||
"type": "sprite-frame",
|
||||
"redirect": "d945ed29-80ec-4d3f-93c0-7f016f7b29b6@f9941",
|
||||
"fixAlphaTransparencyArtifacts": false
|
||||
}
|
||||
}
|
||||
9
assets/resources/ts.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "1.2.0",
|
||||
"importer": "directory",
|
||||
"imported": true,
|
||||
"uuid": "d6c06bc1-1cb9-48cb-950a-b9c22ae050f3",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
499
assets/resources/ts/monsterList.ts
Normal file
@@ -0,0 +1,499 @@
|
||||
import { resources } from "cc";
|
||||
|
||||
class monsterList {
|
||||
/**
|
||||
* 静态对象
|
||||
*
|
||||
* @public
|
||||
* @static
|
||||
* @type {monsterList}
|
||||
* @memberof monsterList
|
||||
*/
|
||||
private static instance: monsterList;
|
||||
/**
|
||||
* 列表
|
||||
*
|
||||
* @public
|
||||
* @type {Array<ImonsterInfo>}
|
||||
* @memberof monsterList
|
||||
*/
|
||||
public list: Array<ImonsterInfo> = [];
|
||||
/**
|
||||
* 配置单例
|
||||
*
|
||||
* @static
|
||||
* @returns {monsterList}
|
||||
* @memberof monsterList
|
||||
*/
|
||||
public static getInstance(): monsterList {
|
||||
if (!monsterList.instance) {
|
||||
monsterList.instance = new monsterList();
|
||||
}
|
||||
|
||||
return monsterList.instance;
|
||||
}
|
||||
|
||||
/**
|
||||
* 加载文件
|
||||
*
|
||||
* @return {*} {Promise<void>}
|
||||
* @memberof LanguageList
|
||||
*/
|
||||
public async loadConfig(): Promise<void> {
|
||||
const data: any = await new Promise((resolve: any, reject: any): any => {
|
||||
resources.load('json/monster', (error: any, texture: any): any => {
|
||||
if (error) {
|
||||
console.log('loadRes error', 'json/monster', JSON.stringify(error));
|
||||
resolve(null);
|
||||
} else {
|
||||
resolve(texture);
|
||||
}
|
||||
});
|
||||
});
|
||||
monsterList.instance.list = data.json.list;
|
||||
}
|
||||
|
||||
/**
|
||||
* 初始化
|
||||
*
|
||||
* @memberof TableBigWheelConfigList
|
||||
*/
|
||||
public async init(): Promise<void> {
|
||||
if(monsterList.instance.list.length === 0) {
|
||||
await this.loadConfig();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @param {number} index
|
||||
* @return {*} {number}
|
||||
* @memberof monsterList
|
||||
*/
|
||||
public uuid(index: number): number {
|
||||
return this.list[index].uuid;
|
||||
}
|
||||
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @param {number} index
|
||||
* @return {*} {number}
|
||||
* @memberof monsterList
|
||||
*/
|
||||
public path(index: number): number {
|
||||
return this.list[index].path;
|
||||
}
|
||||
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @param {number} index
|
||||
* @return {*} {number}
|
||||
* @memberof monsterList
|
||||
*/
|
||||
public type(index: number): number {
|
||||
return this.list[index].type;
|
||||
}
|
||||
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @param {number} index
|
||||
* @return {*} {number}
|
||||
* @memberof monsterList
|
||||
*/
|
||||
public level(index: number): number {
|
||||
return this.list[index].level;
|
||||
}
|
||||
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @param {number} index
|
||||
* @return {*} {string}
|
||||
* @memberof monsterList
|
||||
*/
|
||||
public name(index: number): string {
|
||||
return this.list[index].name;
|
||||
}
|
||||
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @param {number} index
|
||||
* @return {*} {number}
|
||||
* @memberof monsterList
|
||||
*/
|
||||
public atk(index: number): number {
|
||||
return this.list[index].atk;
|
||||
}
|
||||
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @param {number} index
|
||||
* @return {*} {number}
|
||||
* @memberof monsterList
|
||||
*/
|
||||
public hp(index: number): number {
|
||||
return this.list[index].hp;
|
||||
}
|
||||
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @param {number} index
|
||||
* @return {*} {number}
|
||||
* @memberof monsterList
|
||||
*/
|
||||
public atk_cd(index: number): number {
|
||||
return this.list[index].atk_cd;
|
||||
}
|
||||
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @param {number} index
|
||||
* @return {*} {number}
|
||||
* @memberof monsterList
|
||||
*/
|
||||
public power(index: number): number {
|
||||
return this.list[index].power;
|
||||
}
|
||||
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @param {number} index
|
||||
* @return {*} {number}
|
||||
* @memberof monsterList
|
||||
*/
|
||||
public speed(index: number): number {
|
||||
return this.list[index].speed;
|
||||
}
|
||||
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @param {number} index
|
||||
* @return {*} {string}
|
||||
* @memberof monsterList
|
||||
*/
|
||||
public skill(index: number): string {
|
||||
return this.list[index].skill;
|
||||
}
|
||||
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @param {number} index
|
||||
* @return {*} {string}
|
||||
* @memberof monsterList
|
||||
*/
|
||||
public max_skill(index: number): string {
|
||||
return this.list[index].max_skill;
|
||||
}
|
||||
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @param {number} index
|
||||
* @return {*} {string}
|
||||
* @memberof monsterList
|
||||
*/
|
||||
public skill_info(index: number): string {
|
||||
return this.list[index].skill_info;
|
||||
}
|
||||
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @param {number} index
|
||||
* @return {*} {string}
|
||||
* @memberof monsterList
|
||||
*/
|
||||
public max_skill_info(index: number): string {
|
||||
return this.list[index].max_skill_info;
|
||||
}
|
||||
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @param {number} index
|
||||
* @return {*} {number}
|
||||
* @memberof monsterList
|
||||
*/
|
||||
public int1(index: number): number {
|
||||
return this.list[index].int1;
|
||||
}
|
||||
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @param {number} index
|
||||
* @return {*} {number}
|
||||
* @memberof monsterList
|
||||
*/
|
||||
public int2(index: number): number {
|
||||
return this.list[index].int2;
|
||||
}
|
||||
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @param {number} index
|
||||
* @return {*} {string}
|
||||
* @memberof monsterList
|
||||
*/
|
||||
public string1(index: number): string {
|
||||
return this.list[index].string1;
|
||||
}
|
||||
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @param {number} index
|
||||
* @return {*} {string}
|
||||
* @memberof monsterList
|
||||
*/
|
||||
public string2(index: number): string {
|
||||
return this.list[index].string2;
|
||||
}
|
||||
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @param {number} index
|
||||
* @return {*} {number}
|
||||
* @memberof monsterList
|
||||
*/
|
||||
public dps(index: number): number {
|
||||
return this.list[index].dps;
|
||||
}
|
||||
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @param {number} index
|
||||
* @return {*} {string}
|
||||
* @memberof monsterList
|
||||
*/
|
||||
public word(index: number): string {
|
||||
return this.list[index].word;
|
||||
}
|
||||
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @param {number} index
|
||||
* @return {*} {string}
|
||||
* @memberof monsterList
|
||||
*/
|
||||
public info(index: number): string {
|
||||
return this.list[index].info;
|
||||
}
|
||||
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @param {number} index
|
||||
* @return {*} {string}
|
||||
* @memberof monsterList
|
||||
*/
|
||||
public atktype(index: number): string {
|
||||
return this.list[index].atktype;
|
||||
}
|
||||
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @param {number} index
|
||||
* @return {*} {string}
|
||||
* @memberof monsterList
|
||||
*/
|
||||
public mon(index: number): string {
|
||||
return this.list[index].mon;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 数据长度
|
||||
*
|
||||
* @return {*} {number}
|
||||
* @memberof monsterList
|
||||
*/
|
||||
public dataLength(): number {
|
||||
return this.list.length;
|
||||
}
|
||||
}
|
||||
|
||||
export default monsterList.getInstance();
|
||||
|
||||
|
||||
|
||||
export interface ImonsterInfo {
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ImonsterInfo
|
||||
*/
|
||||
uuid: number
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ImonsterInfo
|
||||
*/
|
||||
path: number
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ImonsterInfo
|
||||
*/
|
||||
type: number
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ImonsterInfo
|
||||
*/
|
||||
level: number
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ImonsterInfo
|
||||
*/
|
||||
name: string
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ImonsterInfo
|
||||
*/
|
||||
atk: number
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ImonsterInfo
|
||||
*/
|
||||
hp: number
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ImonsterInfo
|
||||
*/
|
||||
atk_cd: number
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ImonsterInfo
|
||||
*/
|
||||
power: number
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ImonsterInfo
|
||||
*/
|
||||
speed: number
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ImonsterInfo
|
||||
*/
|
||||
skill: string
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ImonsterInfo
|
||||
*/
|
||||
max_skill: string
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ImonsterInfo
|
||||
*/
|
||||
skill_info: string
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ImonsterInfo
|
||||
*/
|
||||
max_skill_info: string
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ImonsterInfo
|
||||
*/
|
||||
int1: number
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ImonsterInfo
|
||||
*/
|
||||
int2: number
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ImonsterInfo
|
||||
*/
|
||||
string1: string
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ImonsterInfo
|
||||
*/
|
||||
string2: string
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ImonsterInfo
|
||||
*/
|
||||
dps: number
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ImonsterInfo
|
||||
*/
|
||||
word: string
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ImonsterInfo
|
||||
*/
|
||||
info: string
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ImonsterInfo
|
||||
*/
|
||||
atktype: string
|
||||
/**
|
||||
* undefined
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ImonsterInfo
|
||||
*/
|
||||
mon: string
|
||||
|
||||
}
|
||||
9
assets/resources/ts/monsterList.ts.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "4.0.23",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "baf346a7-0e90-4405-ab62-47bf788762f8",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
@@ -25,12 +25,12 @@ export class Main extends Root {
|
||||
protected async run() {
|
||||
smc.initialize = ecs.getEntity<Initialize>(Initialize);
|
||||
smc.monsters = [
|
||||
{uuid:1001},
|
||||
{uuid:1002},
|
||||
{uuid:1003},
|
||||
{uuid:1004},
|
||||
{uuid:1005},
|
||||
{uuid:1006},
|
||||
{uuid:1101},
|
||||
{uuid:1102},
|
||||
{uuid:2101},
|
||||
{uuid:2102},
|
||||
{uuid:3102},
|
||||
{uuid:3101},
|
||||
]
|
||||
|
||||
console.log("Game start");
|
||||
|
||||
@@ -30,9 +30,10 @@ export class SingletonModuleComp extends ecs.Comp {
|
||||
monsters_dead = []
|
||||
heros_dead = []
|
||||
vm_data: any = {
|
||||
name : "数据测试",
|
||||
name : "纸片精灵大乱斗",
|
||||
/**宝石数量 */
|
||||
gems: 10,
|
||||
gems: 4,
|
||||
unlock:5,
|
||||
game:{
|
||||
t_damge:0,
|
||||
t_dps:0,
|
||||
@@ -41,11 +42,20 @@ export class SingletonModuleComp extends ecs.Comp {
|
||||
g_level:1,
|
||||
g_time:0,
|
||||
},
|
||||
player:{
|
||||
hp_max:30,
|
||||
atk:10,
|
||||
lv:1,
|
||||
exp:0,
|
||||
next_exp:100,
|
||||
},
|
||||
/** 当前等级 */
|
||||
cards:{
|
||||
level:1,
|
||||
level_max:10,
|
||||
level_max:4,
|
||||
eid:0,
|
||||
ref_cost:1,
|
||||
up_cost:6,
|
||||
},
|
||||
hp: {
|
||||
min:20,
|
||||
@@ -56,13 +66,11 @@ export class SingletonModuleComp extends ecs.Comp {
|
||||
max: 30
|
||||
},
|
||||
gold: {
|
||||
min: 3,
|
||||
max: 3,
|
||||
min: 10,
|
||||
max: 10,
|
||||
max_limit:10,
|
||||
time:0,
|
||||
cd:10,
|
||||
ref_cost:0,
|
||||
up_cost:6,
|
||||
},
|
||||
shuaxin: {
|
||||
min: 0,
|
||||
|
||||
@@ -13,14 +13,16 @@ export enum BoxSet {
|
||||
HERO = 4,
|
||||
MONSTER_SKILL = 8,
|
||||
HERO_SKILL = 16,
|
||||
PLAYER=32,
|
||||
BOSS=64,
|
||||
|
||||
BOX_WIDTH = 64,
|
||||
BOX_HEIGHT = 64,
|
||||
//地图边界
|
||||
LETF_END = -420,
|
||||
RIGHT_END = 420,
|
||||
HERO_START = -360,
|
||||
MONSTER_START = 360,
|
||||
HERO_START = -260,
|
||||
MONSTER_START = 300,
|
||||
END_POINT = 360,
|
||||
//游戏地平线
|
||||
GAME_LINE = 0,
|
||||
|
||||
@@ -9,42 +9,87 @@ export const CardType = {
|
||||
2: "后排",
|
||||
}
|
||||
export const CardList={
|
||||
1:[1001,1002,1003,1004,1005,1006],
|
||||
2:[1001,1002,1003,1004,1005,1006],
|
||||
3:[1001,1002,1003,1004,1005,1006],
|
||||
4:[1001,1002,1003,1004,1005,1006],
|
||||
5:[1001,1002,1003,1004,1005,1006],
|
||||
6:[1001,1002,1003,1004,1005,1006],
|
||||
}
|
||||
1:[1101,1102,1201,1202,1301,1302,],
|
||||
2:[2101,2102,2201,2202,2301,2302,],
|
||||
3:[3101,3102,3201,3202,3301,3302,],
|
||||
4:[4101,4102,4201,4202,4301,4302,],
|
||||
5:[5001,5002,5003,5004],
|
||||
// 1:[1101,1102,1103,1104,1105,1106,1201,1202,1203,1204,1205,1301,1302,1303,1304,],
|
||||
// 2:[2101,2102,2103,2104,2105,2201,2202,2203,2204,2301,2302,2303,2304,2305,],
|
||||
// 3:[3101,3102,3103,3104,3201,3202,3203,3204,3205,3301,3302,3303,3304,],
|
||||
// 4:[4101,4102,4103,4104,4201,4202,4203,4204,4301,4302,4303,4304,],
|
||||
// 5:[5001,5002,5003,5004],
|
||||
|
||||
}
|
||||
export const HeroSet ={
|
||||
|
||||
"h001":{
|
||||
uuid:"h001", name:'魔法师', path:"h001",atk:6,atk_cd:2, hp:30, power:50, speed:150,
|
||||
skill:{ }
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
export const CardSet = {
|
||||
1001:{
|
||||
uuid:1001, name:'叽叽', type:1, level:1,path:1001,atk:1,atk_cd:0.5, hp:15, power:45, speed:80,
|
||||
skill:{ }
|
||||
},
|
||||
1002:{
|
||||
uuid:1002, name:'汪汪', type:1, level:1,path:1002,atk:2,atk_cd:1, hp:15, power:50, speed:50,
|
||||
skill:{ }
|
||||
},
|
||||
1003:{
|
||||
uuid:1003, name:'喵喵', type:1, level:1,path:1003,atk:1, atk_cd:0.5, hp:20, power:50, speed:50,
|
||||
skill:{ }
|
||||
},
|
||||
1004:{
|
||||
uuid:1004, name:'胖大', type:2, level:1,path:1004,atk:4,atk_cd:1.5, hp:15, power:50, speed:50,
|
||||
skill:{ }
|
||||
},
|
||||
1005:{
|
||||
uuid:1005, name:'汪汪[强]', type:1, level:2,path:1005,atk:6,atk_cd:1, hp:25, power:50, speed:50,
|
||||
skill:{ }
|
||||
},
|
||||
1006:{
|
||||
uuid:1006, name:'沃夫', type:1, level:2,path:1006,atk:6,atk_cd:1, hp:30, power:50, speed:50,
|
||||
skill:{ }
|
||||
},
|
||||
|
||||
|
||||
1101:{uuid: 1101,path: "1101",type: 1,level: 1,name: "守护犬",atk: 4,hp: 8,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 2,word: "守护", info: "自身护盾",atktype: "攻击型", mon: "狗"},
|
||||
1102:{uuid: 1102,path: "1102",type: 1,level: 1,name: "狂暴犬",atk: 4,hp: 8,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 2,word: "狂暴", info: "全体攻击",atktype: "攻击型", mon: "狗"},
|
||||
1103:{uuid: 1103,path: "1103",type: 1,level: 1,name: "火焰犬",atk: 4,hp: 8,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 2,word: "火焰", info: "大火球",atktype: "攻击型", mon: "狗"},
|
||||
1104:{uuid: 1104,path: "1104",type: 1,level: 1,name: "机甲犬",atk: 4,hp: 8,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 2,atktype: "攻击型", mon: "狗"},
|
||||
1105:{uuid: 1105,path: "1105",type: 1,level: 1,name: "战斗蚁",atk: 4,hp: 8,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 2,atktype: "攻击型", mon: "蚂蚁"},
|
||||
1106:{uuid: 1106,path: "1106",type: 1,level: 1,name: "战斗蚁",atk: 4,hp: 8,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 2,atktype: "攻击型", mon: "蚂蚁"},
|
||||
2101:{uuid: 2101,path: "2101",type: 1,level: 2,name: "金刚鹦鹉",atk: 6,hp: 12,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 3,word: "金刚", info: "全体招架",atktype: "攻击型", mon: "鹦鹉"},
|
||||
2102:{uuid: 2102,path: "2102",type: 1,level: 2,name: "狂暴鹦鹉",atk: 6,hp: 12,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 3,word: "狂暴", info: "全体攻击",atktype: "攻击型", mon: "鹦鹉"},
|
||||
2103:{uuid: 2103,path: "2103",type: 1,level: 2,name: "鹰",atk: 6,hp: 12,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 3,atktype: "攻击型", mon: "鹰"},
|
||||
2104:{uuid: 2104,path: "2104",type: 1,level: 2,name: "鹰",atk: 6,hp: 12,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 3,atktype: "攻击型", mon: "base+U9"},
|
||||
2105:{uuid: 2105,path: "2105",type: 1,level: 2,name: "鹰",atk: 6,hp: 12,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 3,atktype: "攻击型", mon: "鹰"},
|
||||
3101:{uuid: 3101,path: "3101",type: 1,level: 3,name: "火焰山羊",atk: 9,hp: 18,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 4,word: "火焰", info: "大火球",atktype: "攻击型", mon: "山羊"},
|
||||
3102:{uuid: 3102,path: "3102",type: 1,level: 3,name: "坚韧山羊",atk: 9,hp: 18,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 4,word: "守护", info: "全体护盾",atktype: "攻击型", mon: "山羊"},
|
||||
3103:{uuid: 3103,path: "3103",type: 1,level: 3,name: "山羊",atk: 9,hp: 18,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 4,atktype: "攻击型", mon: "山羊"},
|
||||
3104:{uuid: 3104,path: "3104",type: 1,level: 3,name: "山羊",atk: 9,hp: 18,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 4,atktype: "攻击型", mon: "山羊"},
|
||||
4101:{uuid: 4101,path: "4101",type: 1,level: 4,name: "炎爆麋鹿",atk: 13,hp: 27,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 6,word: "炎爆", info: "炎爆",atktype: "攻击型", mon: "鹿"},
|
||||
4102:{uuid: 4102,path: "4102",type: 1,level: 4,name: "金刚麋鹿",atk: 13,hp: 27,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 6,word: "金刚", info: "全体招架",atktype: "攻击型", mon: "鹿"},
|
||||
4103:{uuid: 4103,path: "4103",type: 1,level: 4,name: "鹿",atk: 13,hp: 27,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 6,atktype: "攻击型", mon: "鹿"},
|
||||
4104:{uuid: 4104,path: "4104",type: 1,level: 4,name: "鹿",atk: 13,hp: 27,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 6,atktype: "攻击型", mon: "鹿"},
|
||||
1201:{uuid: 1201,path: "1201",type: 2,level: 1,name: "守护熊猫",atk: 2,hp: 16,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 1,word: "守护", info: "自身护盾",atktype: "血量型", mon: "熊猫"},
|
||||
1202:{uuid: 1202,path: "1202",type: 2,level: 1,name: "再生绵羊",atk: 2,hp: 16,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 1,word: "再生", info: "全体回血",atktype: "血量型", mon: "绵羊"},
|
||||
1203:{uuid: 1203,path: "1203",type: 2,level: 1,name: "坚韧绵羊",atk: 2,hp: 16,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 1, info: "全体护盾",atktype: "血量型", mon: "绵羊"},
|
||||
1204:{uuid: 1204,path: "1204",type: 2,level: 1,name: "绵羊",atk: 2,hp: 16,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 1,atktype: "血量型", mon: "绵羊"},
|
||||
1205:{uuid: 1205,path: "1205",type: 2,level: 1,name: "绵羊",atk: 2,hp: 16,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 1,atktype: "血量型", mon: "绵羊"},
|
||||
2201:{uuid: 2201,path: "2201",type: 2,level: 2,name: "坚韧龟",atk: 3,hp: 24,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 1,word: "坚韧", info: "全体护盾",atktype: "血量型", mon: "龟"},
|
||||
2202:{uuid: 2202,path: "2202",type: 2,level: 2,name: "狂暴龟",atk: 3,hp: 24,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 1,word: "狂暴", info: "全体攻击",atktype: "血量型", mon: "龟"},
|
||||
2203:{uuid: 2203,path: "2203",type: 2,level: 2,name: "龟",atk: 3,hp: 24,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 1,atktype: "血量型", mon: "龟"},
|
||||
2204:{uuid: 2204,path: "2204",type: 2,level: 2,name: "龟",atk: 3,hp: 24,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 1,atktype: "血量型", mon: "龟"},
|
||||
3201:{uuid: 3201,path: "3201",type: 2,level: 3,name: "风刃野猪",atk: 5,hp: 36,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 2,word: "风刃", info: "风刃",atktype: "血量型", mon: "野猪"},
|
||||
3202:{uuid: 3202,path: "3202",type: 2,level: 3,name: "急速野猪",atk: 5,hp: 36,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 2,word: "急速", info: "全体闪避",atktype: "血量型", mon: "野猪"},
|
||||
3203:{uuid: 3203,path: "3203",type: 2,level: 3,name: "野猪",atk: 5,hp: 36,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 2,atktype: "血量型", mon: "野猪"},
|
||||
3204:{uuid: 3204,path: "3204",type: 2,level: 3,name: "野猪",atk: 5,hp: 36,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 2,atktype: "血量型", mon: "野猪"},
|
||||
3205:{uuid: 3205,path: "3205",type: 2,level: 3,name: "野猪",atk: 5,hp: 36,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 2,atktype: "血量型", mon: "野猪"},
|
||||
4201:{uuid: 4201,path: "4201",type: 2,level: 4,name: "坚韧犀牛",atk: 7,hp: 54,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 3,word: "坚韧", info: "全体护盾",atktype: "血量型", mon: "犀牛"},
|
||||
4202:{uuid: 4202,path: "4202",type: 2,level: 4,name: "雷暴犀牛",atk: 7,hp: 54,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 3,word: "雷暴", info: "雷暴",atktype: "血量型", mon: "犀牛"},
|
||||
4203:{uuid: 4203,path: "4203",type: 2,level: 4,name: "犀牛",atk: 7,hp: 54,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 3,atktype: "血量型", mon: "犀牛"},
|
||||
4204:{uuid: 4204,path: "4204",type: 2,level: 4,name: "犀牛",atk: 7,hp: 54,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 3,atktype: "血量型", mon: "犀牛"},
|
||||
1301:{uuid: 1301,path: "1301",type: 3,level: 1,name: "守护喵",atk: 3,hp: 6,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 1,word: "守护", info: "自身护盾",atktype: "攻速型", mon: "猫"},
|
||||
1302:{uuid: 1302,path: "1302",type: 3,level: 1,name: "急速喵",atk: 3,hp: 6,atk_cd: 2,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 1,word: "急速", info: "全体闪避",atktype: "攻速型", mon: "猫"},
|
||||
1303:{uuid: 1303,path: "1303",type: 3,level: 1,name: "狂暴喵",atk: 3,hp: 6,atk_cd: 1,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 2,word: "狂暴", info: "全体攻击",atktype: "攻速型", mon: "松鼠"},
|
||||
1304:{uuid: 1304,path: "1304",type: 3,level: 1,atk: 3,hp: 6,atk_cd: 1,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 2,atktype: "攻速型", mon: "鼠"},
|
||||
2301:{uuid: 2301,path: "2301",type: 3,level: 2,name: "狂爆山猫",atk: 4,hp: 9,atk_cd: 1,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 3,word: "狂爆", info: "全体攻击",atktype: "攻速型", mon: "山猫"},
|
||||
2302:{uuid: 2302,path: "2302",type: 3,level: 2,name: "急速山猫",atk: 4,hp: 9,atk_cd: 1,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 3,word: "急速", info: "全体闪避",atktype: "攻速型", mon: "山猫"},
|
||||
2303:{uuid: 2303,path: "2303",type: 3,level: 2,atk: 4,hp: 9,atk_cd: 1,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 3,atktype: "攻速型", mon: "山猫"},
|
||||
2304:{uuid: 2304,path: "2304",type: 3,level: 2,atk: 4,hp: 9,atk_cd: 1,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 3,atktype: "攻速型", mon: "机械蜜蜂"},
|
||||
2305:{uuid: 2305,path: "2305",type: 3,level: 2,atk: 4,hp: 9,atk_cd: 1,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 3,atktype: "攻速型", mon: "机械山猫"},
|
||||
3301:{uuid: 3301,path: "3301",type: 3,level: 3,name: "坚韧狮",atk: 6,hp: 15,atk_cd: 1,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 4,word: "坚韧", info: "全体护盾",atktype: "攻速型", mon: "狮子"},
|
||||
3302:{uuid: 3302,path: "3302",type: 3,level: 3,name: "冰封狮",atk: 6,hp: 15,atk_cd: 1,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 4,word: "冰封", info: "冰封",atktype: "攻速型", mon: "狮子"},
|
||||
3303:{uuid: 3303,path: "3303",type: 3,level: 3,atk: 6,hp: 15,atk_cd: 1,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 4,atktype: "攻速型", mon: "狮子"},
|
||||
3304:{uuid: 3304,path: "3304",type: 3,level: 3,atk: 6,hp: 15,atk_cd: 1,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 4,atktype: "攻速型", mon: "狮子"},
|
||||
4301:{uuid: 4301,path: "4301",type: 3,level: 4,name: "急速独角兽",atk: 10,hp: 22,atk_cd: 1,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 6,word: "急速", info: "全体闪避",atktype: "攻速型", mon: "独角兽"},
|
||||
4302:{uuid: 4302,path: "4302",type: 3,level: 4,name: "潮汐独角兽",atk: 10,hp: 22,atk_cd: 1,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 6,word: "潮汐", info: "潮汐",atktype: "攻速型", mon: "独角兽"},
|
||||
4303:{uuid: 4303,path: "4303",type: 3,level: 4,atk: 10,hp: 22,atk_cd: 1,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 6,atktype: "攻速型", mon: "独角兽"},
|
||||
4304:{uuid: 4304,path: "4304",type: 3,level: 4,atk: 10,hp: 22,atk_cd: 1,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 6,atktype: "攻速型", mon: "独角兽"},
|
||||
5001:{uuid: 5001,path: "5001",type: 0,level: 5,atk: 15,hp: 60,atk_cd: 1,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 10,atktype: "精英型", mon: "雷电犀牛"},
|
||||
5002:{uuid: 5002,path: "5002",type: 0,level: 5,atk: 15,hp: 60,atk_cd: 1,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 10,atktype: "精英型", mon: "闪电鼠"},
|
||||
5003:{uuid: 5003,path: "5003",type: 0,level: 5,atk: 15,hp: 60,atk_cd: 1,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 10,atktype: "精英型", mon: "龙"},
|
||||
5004:{uuid: 5004,path: "5004",type: 0,level: 5,atk: 15,hp: 60,atk_cd: 1,power: 50,speed: 80,skill: "base",max_skill: "base",int1: null,int2: null,dps: 10,atktype: "精英型", mon: "龙"
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -36,11 +36,11 @@ export class CardControllerComp extends CCComp {
|
||||
}
|
||||
}
|
||||
cards_update(){
|
||||
if(smc.vm_data.gold.min >= smc.vm_data.gold.up_cost){
|
||||
smc.vm_data.gold.min -= smc.vm_data.gold.up_cost;
|
||||
this.card_level += 1;
|
||||
smc.vm_data.gold.up_cost += 1
|
||||
console.log("card _level:"+this.card_level+"cost:"+smc.vm_data.gold.up_cost)
|
||||
if(smc.vm_data.gold.min >= smc.vm_data.cards.up_cost){
|
||||
smc.vm_data.gold.min -= smc.vm_data.cards.up_cost;
|
||||
smc.vm_data.cards.level += 1;
|
||||
smc.vm_data.cards.up_cost += 2
|
||||
console.log("card _level:"+this.card_level+"cost:"+smc.vm_data.cards.up_cost)
|
||||
}else{
|
||||
oops.gui.toast("金币不够");
|
||||
}
|
||||
@@ -49,11 +49,11 @@ export class CardControllerComp extends CCComp {
|
||||
if (this.in_load) {
|
||||
return
|
||||
}
|
||||
if (smc.vm_data.gold.min < smc.vm_data.gold.ref_cost) {
|
||||
if (smc.vm_data.gold.min < smc.vm_data.cards.ref_cost) {
|
||||
oops.gui.toast("金币不足")
|
||||
return
|
||||
}
|
||||
smc.vm_data.gold.min -= smc.vm_data.gold.ref_cost;
|
||||
smc.vm_data.gold.min -= smc.vm_data.cards.ref_cost;
|
||||
this.load_cards()
|
||||
|
||||
}
|
||||
@@ -68,7 +68,7 @@ export class CardControllerComp extends CCComp {
|
||||
});
|
||||
}
|
||||
// console.log(old_cards)
|
||||
let cards_node= this.node.getChildByName("cards")
|
||||
let cards_node= this.node.getChildByName("front")
|
||||
let x=0
|
||||
let y=0
|
||||
let lists = this.get_card_list()
|
||||
@@ -76,7 +76,7 @@ export class CardControllerComp extends CCComp {
|
||||
let card = ecs.getEntity<HeroCard>(HeroCard);
|
||||
let pos = v3(x,y)
|
||||
card.load(pos,element[0],cards_node);
|
||||
x=x+120
|
||||
x=x+142
|
||||
});
|
||||
this.in_load = false;
|
||||
|
||||
@@ -89,7 +89,7 @@ export class CardControllerComp extends CCComp {
|
||||
get_card_list(){
|
||||
let lists:any = []
|
||||
for (let index = 0; index < 5; index++) {
|
||||
let list = RandomManager.instance.getRandomByObjectList(CardList[this.card_level], 1);
|
||||
let list = RandomManager.instance.getRandomByObjectList(CardList[smc.vm_data.cards.level], 1);
|
||||
lists.push(list)
|
||||
}
|
||||
return lists
|
||||
|
||||
@@ -17,25 +17,19 @@ export class CsuoComp extends CCComp {
|
||||
|
||||
}
|
||||
onTouch() {
|
||||
oops.gui.open(
|
||||
UIID.Window,
|
||||
{
|
||||
'title':'解锁',
|
||||
'content':'解锁解锁解锁解锁解锁解锁解锁解锁解锁解锁解锁解锁',
|
||||
'okWord':'ok',
|
||||
'okFunc':this.onOk(),
|
||||
'cancelWord':'解锁',
|
||||
'cancelFunc':this.oncancel(),
|
||||
'needCancel':true
|
||||
if(smc.vm_data.gems < smc.vm_data.unlock){
|
||||
oops.gui.toast("金币不足")
|
||||
return
|
||||
}
|
||||
)
|
||||
smc.vm_data.gems=smc.vm_data.gems-smc.vm_data.unlock;
|
||||
this.node.active=false;
|
||||
}
|
||||
onOk(){
|
||||
|
||||
this.node.active=false;
|
||||
}
|
||||
oncancel(){
|
||||
smc.vm_data.power.min=smc.vm_data.power.min+1;
|
||||
this.node.active=false;
|
||||
|
||||
}
|
||||
/**
|
||||
*
|
||||
|
||||
21
assets/script/game/map/unlockComp.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
import { _decorator, Component, Node } from 'cc';
|
||||
const { ccclass, property } = _decorator;
|
||||
|
||||
@ccclass('unlock')
|
||||
export class unlockComp extends Component {
|
||||
start() {
|
||||
|
||||
}
|
||||
|
||||
doCancel() {
|
||||
this.node.active = false
|
||||
}
|
||||
doActive() {
|
||||
this.node.active = true
|
||||
}
|
||||
update(deltaTime: number) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
9
assets/script/game/map/unlockComp.ts.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "4.0.23",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "3a67f9d9-8df3-4cfc-955d-1a8b1c30b2e8",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
import { _decorator ,Label} from "cc";
|
||||
import { _decorator ,Label,NodeEventType,EventTouch} from "cc";
|
||||
import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS";
|
||||
import { CCComp } from "../../../../extensions/oops-plugin-framework/assets/module/common/CCComp";
|
||||
import { data } from "../data/data";
|
||||
@@ -16,15 +16,48 @@ export class HeroCardViewComp extends CCComp {
|
||||
card_type:string = "hero";
|
||||
card_uid:number = 1000;
|
||||
in_destroy:boolean = false;
|
||||
pos_x:number = 0;
|
||||
pos_y:number = 0;
|
||||
|
||||
protected onLoad(): void {
|
||||
// this.node.on(NodeEventType.TOUCH_START, this.onTouch, this);
|
||||
// this.node.on(NodeEventType.TOUCH_MOVE, this.onTouchMove, this);
|
||||
// this.node.on(NodeEventType.TOUCH_END, this.onTouchEnd, this);
|
||||
// this.node.on(NodeEventType.TOUCH_CANCEL, this.onTouchEnd, this);
|
||||
this.node.on(NodeEventType.TOUCH_START, this.onTouchMove, this);
|
||||
this.node.on(NodeEventType.TOUCH_MOVE, this.onTouchMove, this);
|
||||
this.node.on(NodeEventType.TOUCH_END, this.onTouchEnd, this);
|
||||
this.node.on(NodeEventType.TOUCH_CANCEL, this.onTouchEnd, this);
|
||||
// oops.message.on("active_card_eid", this.do_active_card_eid, this);
|
||||
}
|
||||
|
||||
/** 视图层逻辑代码分离演示 */
|
||||
start() {
|
||||
this.pos_x=this.node.position.x;
|
||||
this.pos_y=this.node.position.y;
|
||||
this.node.getChildByName("level").getChildByName("level").getComponent(Label).string = CardSet[this.card_uid].level.toString();
|
||||
this.node.getChildByName("name").getComponent(Label).string = this.card_name
|
||||
|
||||
}
|
||||
/** 全局消息逻辑处理 */
|
||||
// private onHandler(event: string, args: any) {
|
||||
// switch (event) {
|
||||
// case ModuleEvent.Cmd:
|
||||
// break;
|
||||
// }
|
||||
// }
|
||||
/** 视图对象通过 ecs.Entity.remove(ModuleViewComp) 删除组件是触发组件处理自定义释放逻辑 */
|
||||
reset() {
|
||||
this.in_destroy = false;
|
||||
this.node.destroy();
|
||||
}
|
||||
onTouchMove(event: EventTouch) {
|
||||
let delta = event.getDelta();
|
||||
this.node.setPosition(this.node.position.x+delta.x,this.node.position.y+delta.y);
|
||||
}
|
||||
onTouchEnd(){
|
||||
if(this.node.position.y-this.pos_y > 150){
|
||||
this.use_card()
|
||||
}else{
|
||||
this.node.setPosition(this.pos_x,this.pos_y);
|
||||
}
|
||||
}
|
||||
|
||||
private do_active_card_eid(event: string, args: any) {
|
||||
console.log("active_card_eid",args,this.ent.eid)
|
||||
@@ -36,19 +69,19 @@ export class HeroCardViewComp extends CCComp {
|
||||
do_active(){
|
||||
// console.log(this.node.getChildByName("active"),this.node.getChildByName("use"), this.node.getChildByName("bag"))
|
||||
let active = this.node.getChildByName("active")
|
||||
let use = this.node.getChildByName("use")
|
||||
let bag = this.node.getChildByName("bag")
|
||||
// let use = this.node.getChildByName("use")
|
||||
// let bag = this.node.getChildByName("bag")
|
||||
active.active = !active.active
|
||||
use.active = !use.active
|
||||
bag.active = !bag.active
|
||||
// use.active = !use.active
|
||||
// bag.active = !bag.active
|
||||
}
|
||||
no_active(){
|
||||
let active = this.node.getChildByName("active")
|
||||
let use = this.node.getChildByName("use")
|
||||
let bag = this.node.getChildByName("bag")
|
||||
// let use = this.node.getChildByName("use")
|
||||
// let bag = this.node.getChildByName("bag")
|
||||
active.active = false
|
||||
use.active = false
|
||||
bag.active = false
|
||||
// use.active = false
|
||||
// bag.active = false
|
||||
}
|
||||
doit(){
|
||||
// this.do_active()
|
||||
@@ -71,26 +104,7 @@ export class HeroCardViewComp extends CCComp {
|
||||
smc.vm_data.gold.min -= CardSet[this.card_uid].level;
|
||||
}else{
|
||||
oops.gui.toast("金币不够");
|
||||
this.node.setPosition(this.pos_x,this.pos_y);
|
||||
}
|
||||
}
|
||||
/** 视图层逻辑代码分离演示 */
|
||||
start() {
|
||||
|
||||
this.node.getChildByName("level").getChildByName("level").getComponent(Label).string = CardSet[this.card_uid].level.toString();
|
||||
|
||||
}
|
||||
|
||||
/** 全局消息逻辑处理 */
|
||||
// private onHandler(event: string, args: any) {
|
||||
// switch (event) {
|
||||
// case ModuleEvent.Cmd:
|
||||
// break;
|
||||
// }
|
||||
// }
|
||||
|
||||
/** 视图对象通过 ecs.Entity.remove(ModuleViewComp) 删除组件是触发组件处理自定义释放逻辑 */
|
||||
reset() {
|
||||
this.in_destroy = false;
|
||||
this.node.destroy();
|
||||
}
|
||||
}
|
||||
@@ -43,7 +43,6 @@ export class MonsterSpine extends Component {
|
||||
|
||||
|
||||
setSkin(value: string): void {
|
||||
console.log("MonsterSpine setSkin", value);
|
||||
this.spine.setSkin(value);
|
||||
}
|
||||
play(animName: string, loop: boolean): void {
|
||||
|
||||
@@ -38,7 +38,6 @@ export default class MonsterSpineAnimator extends Component {
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
lateUpdate(dt: number) {
|
||||
//
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @LastEditTime: 2022-08-17 12:36:18
|
||||
*/
|
||||
|
||||
import { Vec3, _decorator , v3,Collider2D,Contact2DType,IPhysics2DContact,EPhysics2DDrawFlags,Label,Node,Prefab,instantiate,ProgressBar} from "cc";
|
||||
import { Vec3, _decorator , v3,Collider2D,Contact2DType,IPhysics2DContact,PhysicsSystem2D,EPhysics2DDrawFlags,Label,Node,Prefab,instantiate,ProgressBar} from "cc";
|
||||
import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS";
|
||||
import { CCComp } from "../../../../extensions/oops-plugin-framework/assets/module/common/CCComp";
|
||||
import { MonsterSpine } from "./MonsterSpine";
|
||||
@@ -15,7 +15,6 @@ import { MonsterModelComp } from "./MonsterModelComp";
|
||||
import { BoxSet } from "../common/config/BoxSet";
|
||||
import { smc } from "../common/SingletonModuleComp";
|
||||
import { oops } from "../../../../extensions/oops-plugin-framework/assets/core/Oops";
|
||||
import { baseCom } from "../skills/baseCom";
|
||||
import { Skill } from "../skills/Skill";
|
||||
import { Timer } from "../../../../extensions/oops-plugin-framework/assets/core/common/timer/Timer";
|
||||
import { SkillCom } from "../skills/SkillCom";
|
||||
@@ -36,7 +35,7 @@ export class MonsterViewComp extends CCComp {
|
||||
|
||||
hp: number = 100; /** 血量 */
|
||||
hp_max: number = 100; /** 最大血量 */
|
||||
hp_speed: number = 0; //回复速度
|
||||
hp_speed: number = 0; //每秒回复量
|
||||
|
||||
power: number = 0; /**能量**/
|
||||
power_max: number = 100; /** 能量最大值 */
|
||||
@@ -55,17 +54,13 @@ export class MonsterViewComp extends CCComp {
|
||||
Tpos: Vec3 = v3(0,-60,0);
|
||||
stop_cd: number = 0; /*停止倒计时*/
|
||||
|
||||
private timer:Timer = new Timer(0.1); //计时器
|
||||
is_dead:boolean = false; //是否摧毁
|
||||
|
||||
/*暴击*/
|
||||
crit_rate:number = 0; //暴击率
|
||||
crit_damage:number = 2; //暴击伤害倍率
|
||||
/*闪避*/
|
||||
dodge_rate:number = 0; //闪避率
|
||||
shield:number = 0; //护盾量
|
||||
shield_time:number = 0; //护盾持续时间
|
||||
|
||||
|
||||
private timer:Timer = new Timer(0.1); //计时器
|
||||
is_dead:boolean = false; //是否摧毁
|
||||
|
||||
/** 视图层逻辑代码分离演示 */
|
||||
start () {
|
||||
// 注册单个碰撞体的回调函数
|
||||
@@ -99,44 +94,11 @@ export class MonsterViewComp extends CCComp {
|
||||
this.in_atked();
|
||||
this.hp_change(skill.atk);
|
||||
}
|
||||
// switch (selfCollider.group) {
|
||||
// case BoxSet.HERO:
|
||||
// switch (otherCollider.group){
|
||||
// case BoxSet.MONSTER:
|
||||
// break;
|
||||
// case BoxSet.MONSTER_SKILL:
|
||||
// this.in_atked();
|
||||
// this.hp_change(10);
|
||||
// break;
|
||||
// }
|
||||
// case BoxSet.MONSTER:
|
||||
// switch (otherCollider.group){
|
||||
// case BoxSet.HERO:
|
||||
// // console.log('onBeginContact',selfCollider,otherCollider);
|
||||
// // setTimeout(() => {
|
||||
// // this.toDestroy();
|
||||
// // }, 10);
|
||||
|
||||
// // this.speed = 0;
|
||||
// // this.stop_cd = 1;
|
||||
// // console.log("speed:"+this.speed+" | stop_cd:"+this.stop_cd);
|
||||
// break;
|
||||
// case BoxSet.HERO_SKILL:
|
||||
// this.in_atked();
|
||||
// this.hp_change(10);
|
||||
// break;
|
||||
// // case BoxSet.MONSTER_SKILL:
|
||||
// // break;
|
||||
// }
|
||||
// break;
|
||||
|
||||
// }
|
||||
}
|
||||
|
||||
|
||||
onLoad() {
|
||||
this.as = this.getComponent(MonsterSpine);
|
||||
// console.log('hero load ent:',this);
|
||||
// PhysicsSystem2D.instance.debugDrawFlags = EPhysics2DDrawFlags.Aabb |
|
||||
// EPhysics2DDrawFlags.Pair |
|
||||
// EPhysics2DDrawFlags.CenterOfMass |
|
||||
@@ -177,11 +139,16 @@ export class MonsterViewComp extends CCComp {
|
||||
}
|
||||
|
||||
move(dt: number){
|
||||
this.node.setPosition(this.node.position.x+dt*this.speed*this.camp, this.node.position.y, this.node.position.z);
|
||||
if(Math.abs(this.node.position.x) >= BoxSet.END_POINT){
|
||||
this.node.setPosition(v3(this.camp*-BoxSet.END_POINT,BoxSet.GAME_LINE,this.node.position.z))
|
||||
// console.log("speed:"+this.speed+" | stop_cd:"+this.stop_cd);
|
||||
/**
|
||||
* 根据角色的阵营检查角色的 x 轴位置是否满足特定条件。
|
||||
* 如果角色属于正向阵营 (camp == 1) 且 x 轴位置大于等于 0,则直接返回。
|
||||
* 如果角色属于反向阵营 (camp != 1) 且 x 轴位置小于等于 0,则直接返回。
|
||||
*/
|
||||
if ((this.camp === 1 && this.node.position.x >= 180) || (this.camp !== 1 && this.node.position.x <= -180)) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.node.setPosition(this.node.position.x+dt*this.speed*this.camp, this.node.position.y, this.node.position.z);
|
||||
}
|
||||
power_change(power: number){
|
||||
this.power += power;
|
||||
@@ -253,10 +220,10 @@ export class MonsterViewComp extends CCComp {
|
||||
load_skill(skill_name){
|
||||
// console.log("load_skill");
|
||||
let skill = ecs.getEntity<Skill>(Skill);
|
||||
let pos = v3(0,40)
|
||||
let speed =110
|
||||
let pos = v3(this.camp*30,30)
|
||||
let speed =400
|
||||
let scale = this.camp
|
||||
let range = 100
|
||||
let range = 360;
|
||||
skill.load(pos,speed,range,scale,this.node,skill_name,this.atk);
|
||||
}
|
||||
in_atked() {
|
||||
|
||||
@@ -37,7 +37,12 @@ export class RoleSpine extends Component {
|
||||
|
||||
|
||||
|
||||
|
||||
atk() {
|
||||
this.spine.setAnimation(0, "atk", false);
|
||||
}
|
||||
magic(){
|
||||
this.spine.setAnimation(0, "magic", false);
|
||||
}
|
||||
|
||||
setSkin(value: string): void {
|
||||
console.log("RoleSpine setSkin", value);
|
||||
@@ -52,13 +57,8 @@ export class RoleSpine extends Component {
|
||||
this.spine.color = color;
|
||||
}
|
||||
|
||||
setPos(value: Vec3): void {
|
||||
this.node.position = value;
|
||||
}
|
||||
|
||||
checkTouch(event: EventTouch): boolean {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
onDestroy() {
|
||||
this.node.destroy();
|
||||
|
||||
@@ -16,23 +16,30 @@ const { ccclass, property, requireComponent, disallowMultiple } = _decorator;
|
||||
@disallowMultiple
|
||||
@requireComponent(sp.Skeleton)
|
||||
export default class RoleSpineAnimator extends Component {
|
||||
private animName: string = "idle";
|
||||
private animName: string = "move";
|
||||
private loop: boolean = true;
|
||||
private spine!: sp.Skeleton;
|
||||
mixTime:number= 0.2;
|
||||
|
||||
protected onLoad(): void {
|
||||
this.spine = this.getComponent(sp.Skeleton)!;
|
||||
this.spine.setEndListener(trackEntry => {
|
||||
var animationName = trackEntry.animation ? trackEntry.animation.name : "";
|
||||
// console.log("[track %s][animation %s] end.", trackEntry.trackIndex, animationName);
|
||||
if (animationName == "atk"||animationName == "magic") {
|
||||
this.spine.setAnimation(0, "move", true);
|
||||
}
|
||||
});
|
||||
}
|
||||
start() {
|
||||
this.spine = this.getComponent(sp.Skeleton)!;
|
||||
console.log("RoleSpineAnimator start smc.heros",smc.heros);
|
||||
this.playAnimation(this.animName, this.loop);
|
||||
|
||||
}
|
||||
|
||||
lateUpdate(dt: number) {
|
||||
|
||||
}
|
||||
getRandomInt(min: number, max: number): number {
|
||||
min = Math.ceil(min);
|
||||
max = Math.floor(max);
|
||||
return Math.floor(Math.random() * (max - min + 1)) + min;
|
||||
}
|
||||
|
||||
play(animName: string, loop: boolean) {
|
||||
if (animName) {
|
||||
|
||||
@@ -5,28 +5,108 @@
|
||||
* @LastEditTime: 2022-08-17 12:36:18
|
||||
*/
|
||||
|
||||
import { Vec3, _decorator } from "cc";
|
||||
import { Vec3, _decorator ,v3,Collider2D,Contact2DType,IPhysics2DContact,Prefab,instantiate} from "cc";
|
||||
import { ecs } from "../../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS";
|
||||
import { CCComp } from "../../../../../extensions/oops-plugin-framework/assets/module/common/CCComp";
|
||||
import { RoleSpine } from "./RoleSpine";
|
||||
|
||||
import { BoxSet } from "../../common/config/BoxSet";
|
||||
import { smc } from "../../common/SingletonModuleComp";
|
||||
import { oops } from "../../../../../extensions/oops-plugin-framework/assets/core/Oops";
|
||||
import { Timer } from "../../../../../extensions/oops-plugin-framework/assets/core/common/timer/Timer";
|
||||
import { SkillCom } from "../../skills/SkillCom";
|
||||
import { Skill } from "../../skills/Skill";
|
||||
const { ccclass, property } = _decorator;
|
||||
|
||||
/** 角色显示组件 */
|
||||
@ccclass('RoleViewComp') // 定义为 Cocos Creator 组件
|
||||
@ecs.register('RoleView', false) // 定义为 ECS 组件
|
||||
export class RoleViewComp extends CCComp {
|
||||
/** 角色动画 */
|
||||
as: RoleSpine = null!;
|
||||
/** 角色控制器 */
|
||||
hero_uuid:string = 'h001';
|
||||
hero_name : string = "hero";
|
||||
level:number =1;
|
||||
state: number = 1; /** 状态 1:move ,2: act 3: stop */
|
||||
|
||||
/** 视图层逻辑代码分离演示 */
|
||||
hp: number = 100; /** 血量 */
|
||||
hp_max: number = 100; /** 最大血量 */
|
||||
hp_speed: number = 0; //回复速度
|
||||
|
||||
power: number = 0; /**能量**/
|
||||
power_max: number = 100; /** 能量最大值 */
|
||||
power_speed: number = 1; //能量回复速度每0.1秒回复量
|
||||
|
||||
skill_name: string = "base"; //技能名称
|
||||
max_skill_name: string = "base"; //大技能名称
|
||||
|
||||
atk: number = 10; /**攻击力 */
|
||||
// atk_speed: number = 1;
|
||||
atk_cd: number = 2; /**攻击速度 攻击间隔 */
|
||||
atk_time: number = 0; /** 冷却时间 */
|
||||
|
||||
stop_cd: number = 0; /*停止倒计时*/
|
||||
|
||||
is_dead:boolean = false; //是否摧毁
|
||||
shield:number = 0; //护盾量
|
||||
shield_time:number = 0; //护盾持续时间
|
||||
|
||||
private timer:Timer = new Timer(0.1); //计时器
|
||||
onLoad() {
|
||||
this.as = this.getComponent(RoleSpine);
|
||||
}
|
||||
protected start(): void {
|
||||
let collider = this.getComponent(Collider2D);
|
||||
if (collider) {
|
||||
collider.on(Contact2DType.BEGIN_CONTACT, this.onBeginContact, this);
|
||||
collider.on(Contact2DType.END_CONTACT, this.onEndContact, this);
|
||||
collider.on(Contact2DType.POST_SOLVE, this.onPostSolve, this);
|
||||
}
|
||||
}
|
||||
onBeginContact (selfCollider: Collider2D, otherCollider: Collider2D, contact: IPhysics2DContact | null) {
|
||||
}
|
||||
onEndContact (selfCollider: Collider2D, otherCollider: Collider2D, contact: IPhysics2DContact | null) {
|
||||
// 只在两个碰撞体结束接触时被调用一次
|
||||
}
|
||||
onPostSolve (selfCollider: Collider2D, otherCollider: Collider2D, contact: IPhysics2DContact | null) {
|
||||
if(otherCollider.group== BoxSet.HERO_SKILL || otherCollider.group== BoxSet.MONSTER_SKILL){
|
||||
let skill = otherCollider.node.getComponent(SkillCom)!;
|
||||
// console.log('onPostSolve',skill);
|
||||
this.in_atked();
|
||||
// this.hp_change(skill.atk);
|
||||
}
|
||||
}
|
||||
update(dt: number){
|
||||
if (this.timer.update(dt)) {
|
||||
|
||||
}
|
||||
this.in_act(dt);
|
||||
|
||||
}
|
||||
in_act(dt: number) {
|
||||
if(this.atk_time >= this.atk_cd){
|
||||
this.atk_time = 0;
|
||||
// console.log("atk_cd:"+this.atk_cd);
|
||||
this.as.atk();
|
||||
this.load_skill(this.skill_name);
|
||||
}
|
||||
|
||||
this.atk_time += dt;
|
||||
}
|
||||
load_skill(skill_name:string){
|
||||
let skill = ecs.getEntity<Skill>(Skill);
|
||||
let pos = v3(30,30)
|
||||
let speed =400
|
||||
let scale = 1
|
||||
let range = 720
|
||||
skill.load(pos,speed,range,scale,this.node,skill_name,this.atk);
|
||||
}
|
||||
in_atked() {
|
||||
var path = "game/skills/atked";
|
||||
var prefab: Prefab = oops.res.get(path, Prefab)!;
|
||||
var node = instantiate(prefab);
|
||||
let pos = v3(0,30)
|
||||
node.setPosition(pos)
|
||||
node.parent = this.node;
|
||||
}
|
||||
reset() {
|
||||
this.node.destroy();
|
||||
}
|
||||
|
||||
@@ -49,16 +49,13 @@ export class SkillCom extends CCComp {
|
||||
break;
|
||||
case BoxSet.MONSTER_SKILL:
|
||||
switch (otherCollider.group){
|
||||
case BoxSet.PLAYER:
|
||||
case BoxSet.HERO:
|
||||
if(this.is_destroy){
|
||||
return
|
||||
}else{
|
||||
if(!this.is_destroy){
|
||||
this.is_destroy = true;
|
||||
this.toDestroy();
|
||||
}
|
||||
// console.log('monster skill',selfCollider,otherCollider);
|
||||
// this.reset()
|
||||
break;
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
15
extensions/Excel转JSON/browser.js
Normal file
@@ -0,0 +1,15 @@
|
||||
'use strict';
|
||||
|
||||
// 扩展内定义的方法
|
||||
exports.methods = {
|
||||
open() {
|
||||
console.log('exceltojson!');
|
||||
Editor.Panel.open('exceltojson');
|
||||
},
|
||||
};
|
||||
|
||||
// 当扩展被启动的时候执行
|
||||
exports.load = function() {};
|
||||
|
||||
// 当扩展被关闭的时候执行
|
||||
exports.unload = function() {};
|
||||
BIN
extensions/Excel转JSON/excel/Language.xlsx
Normal file
23
extensions/Excel转JSON/main.js
Normal file
@@ -0,0 +1,23 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
load () {
|
||||
// execute when package loaded
|
||||
},
|
||||
|
||||
unload () {
|
||||
// execute when package unloaded
|
||||
},
|
||||
|
||||
// register your ipc messages here
|
||||
messages: {
|
||||
'open' () {
|
||||
// open entry panel registered in package.json
|
||||
console.log('excel_to_json')
|
||||
Editor.Panel.open('excel_to_json');
|
||||
},
|
||||
'clicked' () {
|
||||
Editor.log('Button clicked!');
|
||||
}
|
||||
},
|
||||
};
|
||||
22
extensions/Excel转JSON/node_modules/@babel/runtime/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2014-present Sebastian McKenzie and other contributors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
19
extensions/Excel转JSON/node_modules/@babel/runtime/README.md
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
# @babel/runtime
|
||||
|
||||
> babel's modular runtime helpers
|
||||
|
||||
See our website [@babel/runtime](https://babeljs.io/docs/en/babel-runtime) for more information.
|
||||
|
||||
## Install
|
||||
|
||||
Using npm:
|
||||
|
||||
```sh
|
||||
npm install --save @babel/runtime
|
||||
```
|
||||
|
||||
or using yarn:
|
||||
|
||||
```sh
|
||||
yarn add @babel/runtime
|
||||
```
|
||||
99
extensions/Excel转JSON/node_modules/@babel/runtime/helpers/AsyncGenerator.js
generated
vendored
Normal file
@@ -0,0 +1,99 @@
|
||||
var AwaitValue = require("./AwaitValue.js");
|
||||
|
||||
function AsyncGenerator(gen) {
|
||||
var front, back;
|
||||
|
||||
function send(key, arg) {
|
||||
return new Promise(function (resolve, reject) {
|
||||
var request = {
|
||||
key: key,
|
||||
arg: arg,
|
||||
resolve: resolve,
|
||||
reject: reject,
|
||||
next: null
|
||||
};
|
||||
|
||||
if (back) {
|
||||
back = back.next = request;
|
||||
} else {
|
||||
front = back = request;
|
||||
resume(key, arg);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function resume(key, arg) {
|
||||
try {
|
||||
var result = gen[key](arg);
|
||||
var value = result.value;
|
||||
var wrappedAwait = value instanceof AwaitValue;
|
||||
Promise.resolve(wrappedAwait ? value.wrapped : value).then(function (arg) {
|
||||
if (wrappedAwait) {
|
||||
resume(key === "return" ? "return" : "next", arg);
|
||||
return;
|
||||
}
|
||||
|
||||
settle(result.done ? "return" : "normal", arg);
|
||||
}, function (err) {
|
||||
resume("throw", err);
|
||||
});
|
||||
} catch (err) {
|
||||
settle("throw", err);
|
||||
}
|
||||
}
|
||||
|
||||
function settle(type, value) {
|
||||
switch (type) {
|
||||
case "return":
|
||||
front.resolve({
|
||||
value: value,
|
||||
done: true
|
||||
});
|
||||
break;
|
||||
|
||||
case "throw":
|
||||
front.reject(value);
|
||||
break;
|
||||
|
||||
default:
|
||||
front.resolve({
|
||||
value: value,
|
||||
done: false
|
||||
});
|
||||
break;
|
||||
}
|
||||
|
||||
front = front.next;
|
||||
|
||||
if (front) {
|
||||
resume(front.key, front.arg);
|
||||
} else {
|
||||
back = null;
|
||||
}
|
||||
}
|
||||
|
||||
this._invoke = send;
|
||||
|
||||
if (typeof gen["return"] !== "function") {
|
||||
this["return"] = undefined;
|
||||
}
|
||||
}
|
||||
|
||||
AsyncGenerator.prototype[typeof Symbol === "function" && Symbol.asyncIterator || "@@asyncIterator"] = function () {
|
||||
return this;
|
||||
};
|
||||
|
||||
AsyncGenerator.prototype.next = function (arg) {
|
||||
return this._invoke("next", arg);
|
||||
};
|
||||
|
||||
AsyncGenerator.prototype["throw"] = function (arg) {
|
||||
return this._invoke("throw", arg);
|
||||
};
|
||||
|
||||
AsyncGenerator.prototype["return"] = function (arg) {
|
||||
return this._invoke("return", arg);
|
||||
};
|
||||
|
||||
module.exports = AsyncGenerator;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
||||
6
extensions/Excel转JSON/node_modules/@babel/runtime/helpers/AwaitValue.js
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
function _AwaitValue(value) {
|
||||
this.wrapped = value;
|
||||
}
|
||||
|
||||
module.exports = _AwaitValue;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
||||
31
extensions/Excel转JSON/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js
generated
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) {
|
||||
var desc = {};
|
||||
Object.keys(descriptor).forEach(function (key) {
|
||||
desc[key] = descriptor[key];
|
||||
});
|
||||
desc.enumerable = !!desc.enumerable;
|
||||
desc.configurable = !!desc.configurable;
|
||||
|
||||
if ('value' in desc || desc.initializer) {
|
||||
desc.writable = true;
|
||||
}
|
||||
|
||||
desc = decorators.slice().reverse().reduce(function (desc, decorator) {
|
||||
return decorator(target, property, desc) || desc;
|
||||
}, desc);
|
||||
|
||||
if (context && desc.initializer !== void 0) {
|
||||
desc.value = desc.initializer ? desc.initializer.call(context) : void 0;
|
||||
desc.initializer = undefined;
|
||||
}
|
||||
|
||||
if (desc.initializer === void 0) {
|
||||
Object.defineProperty(target, property, desc);
|
||||
desc = null;
|
||||
}
|
||||
|
||||
return desc;
|
||||
}
|
||||
|
||||
module.exports = _applyDecoratedDescriptor;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
||||
12
extensions/Excel转JSON/node_modules/@babel/runtime/helpers/arrayLikeToArray.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
function _arrayLikeToArray(arr, len) {
|
||||
if (len == null || len > arr.length) len = arr.length;
|
||||
|
||||
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
||||
arr2[i] = arr[i];
|
||||
}
|
||||
|
||||
return arr2;
|
||||
}
|
||||
|
||||
module.exports = _arrayLikeToArray;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
||||
6
extensions/Excel转JSON/node_modules/@babel/runtime/helpers/arrayWithHoles.js
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
function _arrayWithHoles(arr) {
|
||||
if (Array.isArray(arr)) return arr;
|
||||
}
|
||||
|
||||
module.exports = _arrayWithHoles;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
||||
8
extensions/Excel转JSON/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
var arrayLikeToArray = require("./arrayLikeToArray.js");
|
||||
|
||||
function _arrayWithoutHoles(arr) {
|
||||
if (Array.isArray(arr)) return arrayLikeToArray(arr);
|
||||
}
|
||||
|
||||
module.exports = _arrayWithoutHoles;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
||||
10
extensions/Excel转JSON/node_modules/@babel/runtime/helpers/assertThisInitialized.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
function _assertThisInitialized(self) {
|
||||
if (self === void 0) {
|
||||
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
||||
}
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
module.exports = _assertThisInitialized;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
||||
57
extensions/Excel转JSON/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js
generated
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
function _asyncGeneratorDelegate(inner, awaitWrap) {
|
||||
var iter = {},
|
||||
waiting = false;
|
||||
|
||||
function pump(key, value) {
|
||||
waiting = true;
|
||||
value = new Promise(function (resolve) {
|
||||
resolve(inner[key](value));
|
||||
});
|
||||
return {
|
||||
done: false,
|
||||
value: awaitWrap(value)
|
||||
};
|
||||
}
|
||||
|
||||
;
|
||||
|
||||
iter[typeof Symbol !== "undefined" && Symbol.iterator || "@@iterator"] = function () {
|
||||
return this;
|
||||
};
|
||||
|
||||
iter.next = function (value) {
|
||||
if (waiting) {
|
||||
waiting = false;
|
||||
return value;
|
||||
}
|
||||
|
||||
return pump("next", value);
|
||||
};
|
||||
|
||||
if (typeof inner["throw"] === "function") {
|
||||
iter["throw"] = function (value) {
|
||||
if (waiting) {
|
||||
waiting = false;
|
||||
throw value;
|
||||
}
|
||||
|
||||
return pump("throw", value);
|
||||
};
|
||||
}
|
||||
|
||||
if (typeof inner["return"] === "function") {
|
||||
iter["return"] = function (value) {
|
||||
if (waiting) {
|
||||
waiting = false;
|
||||
return value;
|
||||
}
|
||||
|
||||
return pump("return", value);
|
||||
};
|
||||
}
|
||||
|
||||
return iter;
|
||||
}
|
||||
|
||||
module.exports = _asyncGeneratorDelegate;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
||||
16
extensions/Excel转JSON/node_modules/@babel/runtime/helpers/asyncIterator.js
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
function _asyncIterator(iterable) {
|
||||
var method;
|
||||
|
||||
if (typeof Symbol !== "undefined") {
|
||||
if (Symbol.asyncIterator) method = iterable[Symbol.asyncIterator];
|
||||
if (method == null && Symbol.iterator) method = iterable[Symbol.iterator];
|
||||
}
|
||||
|
||||
if (method == null) method = iterable["@@asyncIterator"];
|
||||
if (method == null) method = iterable["@@iterator"];
|
||||
if (method == null) throw new TypeError("Object is not async iterable");
|
||||
return method.call(iterable);
|
||||
}
|
||||
|
||||
module.exports = _asyncIterator;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
||||
38
extensions/Excel转JSON/node_modules/@babel/runtime/helpers/asyncToGenerator.js
generated
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg);
|
||||
var value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
|
||||
if (info.done) {
|
||||
resolve(value);
|
||||
} else {
|
||||
Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
}
|
||||
|
||||
function _asyncToGenerator(fn) {
|
||||
return function () {
|
||||
var self = this,
|
||||
args = arguments;
|
||||
return new Promise(function (resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
|
||||
_next(undefined);
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
module.exports = _asyncToGenerator;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
||||
8
extensions/Excel转JSON/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
var AwaitValue = require("./AwaitValue.js");
|
||||
|
||||
function _awaitAsyncGenerator(value) {
|
||||
return new AwaitValue(value);
|
||||
}
|
||||
|
||||
module.exports = _awaitAsyncGenerator;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
||||
8
extensions/Excel转JSON/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
function _checkPrivateRedeclaration(obj, privateCollection) {
|
||||
if (privateCollection.has(obj)) {
|
||||
throw new TypeError("Cannot initialize the same private elements twice on an object");
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = _checkPrivateRedeclaration;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
||||
23
extensions/Excel转JSON/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
function _classApplyDescriptorDestructureSet(receiver, descriptor) {
|
||||
if (descriptor.set) {
|
||||
if (!("__destrObj" in descriptor)) {
|
||||
descriptor.__destrObj = {
|
||||
set value(v) {
|
||||
descriptor.set.call(receiver, v);
|
||||
}
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
return descriptor.__destrObj;
|
||||
} else {
|
||||
if (!descriptor.writable) {
|
||||
throw new TypeError("attempted to set read only private field");
|
||||
}
|
||||
|
||||
return descriptor;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = _classApplyDescriptorDestructureSet;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
||||
10
extensions/Excel转JSON/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
function _classApplyDescriptorGet(receiver, descriptor) {
|
||||
if (descriptor.get) {
|
||||
return descriptor.get.call(receiver);
|
||||
}
|
||||
|
||||
return descriptor.value;
|
||||
}
|
||||
|
||||
module.exports = _classApplyDescriptorGet;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
||||
14
extensions/Excel转JSON/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
function _classApplyDescriptorSet(receiver, descriptor, value) {
|
||||
if (descriptor.set) {
|
||||
descriptor.set.call(receiver, value);
|
||||
} else {
|
||||
if (!descriptor.writable) {
|
||||
throw new TypeError("attempted to set read only private field");
|
||||
}
|
||||
|
||||
descriptor.value = value;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = _classApplyDescriptorSet;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
||||
8
extensions/Excel转JSON/node_modules/@babel/runtime/helpers/classCallCheck.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
function _classCallCheck(instance, Constructor) {
|
||||
if (!(instance instanceof Constructor)) {
|
||||
throw new TypeError("Cannot call a class as a function");
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = _classCallCheck;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
||||
8
extensions/Excel转JSON/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
function _classCheckPrivateStaticAccess(receiver, classConstructor) {
|
||||
if (receiver !== classConstructor) {
|
||||
throw new TypeError("Private static access of wrong provenance");
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = _classCheckPrivateStaticAccess;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
||||
8
extensions/Excel转JSON/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
function _classCheckPrivateStaticFieldDescriptor(descriptor, action) {
|
||||
if (descriptor === undefined) {
|
||||
throw new TypeError("attempted to " + action + " private static field before its declaration");
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = _classCheckPrivateStaticFieldDescriptor;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
||||
10
extensions/Excel转JSON/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
function _classExtractFieldDescriptor(receiver, privateMap, action) {
|
||||
if (!privateMap.has(receiver)) {
|
||||
throw new TypeError("attempted to " + action + " private field on non-instance");
|
||||
}
|
||||
|
||||
return privateMap.get(receiver);
|
||||
}
|
||||
|
||||
module.exports = _classExtractFieldDescriptor;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
||||
6
extensions/Excel转JSON/node_modules/@babel/runtime/helpers/classNameTDZError.js
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
function _classNameTDZError(name) {
|
||||
throw new Error("Class \"" + name + "\" cannot be referenced in computed property keys.");
|
||||
}
|
||||
|
||||
module.exports = _classNameTDZError;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
||||
11
extensions/Excel转JSON/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
var classApplyDescriptorDestructureSet = require("./classApplyDescriptorDestructureSet.js");
|
||||
|
||||
var classExtractFieldDescriptor = require("./classExtractFieldDescriptor.js");
|
||||
|
||||
function _classPrivateFieldDestructureSet(receiver, privateMap) {
|
||||
var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set");
|
||||
return classApplyDescriptorDestructureSet(receiver, descriptor);
|
||||
}
|
||||
|
||||
module.exports = _classPrivateFieldDestructureSet;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
||||
11
extensions/Excel转JSON/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
var classApplyDescriptorGet = require("./classApplyDescriptorGet.js");
|
||||
|
||||
var classExtractFieldDescriptor = require("./classExtractFieldDescriptor.js");
|
||||
|
||||
function _classPrivateFieldGet(receiver, privateMap) {
|
||||
var descriptor = classExtractFieldDescriptor(receiver, privateMap, "get");
|
||||
return classApplyDescriptorGet(receiver, descriptor);
|
||||
}
|
||||
|
||||
module.exports = _classPrivateFieldGet;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
||||
9
extensions/Excel转JSON/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
var checkPrivateRedeclaration = require("./checkPrivateRedeclaration.js");
|
||||
|
||||
function _classPrivateFieldInitSpec(obj, privateMap, value) {
|
||||
checkPrivateRedeclaration(obj, privateMap);
|
||||
privateMap.set(obj, value);
|
||||
}
|
||||
|
||||
module.exports = _classPrivateFieldInitSpec;
|
||||
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
||||