Commit a60a67bd authored by spc's avatar spc

1

parent 2efbd4d2
This diff is collapsed.
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "ad7a3793-b4bb-4650-9a1c-23cc885204f9",
"files": [],
"subMetas": {},
"userData": {}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "2dcd82d7-66db-456d-833e-dca6e62ca87c",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "2dcd82d7-66db-456d-833e-dca6e62ca87c@6c48a",
"displayName": "小横幅背景@1x",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "2dcd82d7-66db-456d-833e-dca6e62ca87c",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "2dcd82d7-66db-456d-833e-dca6e62ca87c@f9941",
"displayName": "小横幅背景@1x",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 240,
"height": 60,
"rawWidth": 240,
"rawHeight": 60,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-120,
-30,
0,
120,
-30,
0,
-120,
30,
0,
120,
30,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
60,
240,
60,
0,
0,
240,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-120,
-30,
0
],
"maxPos": [
120,
30,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "2dcd82d7-66db-456d-833e-dca6e62ca87c@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "2dcd82d7-66db-456d-833e-dca6e62ca87c@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "c6b39193-6b92-404d-b4d1-c3a9cc8b0f80",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "c6b39193-6b92-404d-b4d1-c3a9cc8b0f80@6c48a",
"displayName": "零食卡红色@1x",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "c6b39193-6b92-404d-b4d1-c3a9cc8b0f80",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "c6b39193-6b92-404d-b4d1-c3a9cc8b0f80@f9941",
"displayName": "零食卡红色@1x",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 32,
"height": 42,
"rawWidth": 32,
"rawHeight": 42,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-16,
-21,
0,
16,
-21,
0,
-16,
21,
0,
16,
21,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
42,
32,
42,
0,
0,
32,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-16,
-21,
0
],
"maxPos": [
16,
21,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "c6b39193-6b92-404d-b4d1-c3a9cc8b0f80@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "c6b39193-6b92-404d-b4d1-c3a9cc8b0f80@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "20710d44-64c2-4fc5-9736-896ca6e505d9",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "20710d44-64c2-4fc5-9736-896ca6e505d9@6c48a",
"displayName": "零食卡绿色@1x",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "20710d44-64c2-4fc5-9736-896ca6e505d9",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "20710d44-64c2-4fc5-9736-896ca6e505d9@f9941",
"displayName": "零食卡绿色@1x",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 32,
"height": 42,
"rawWidth": 32,
"rawHeight": 42,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-16,
-21,
0,
16,
-21,
0,
-16,
21,
0,
16,
21,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
42,
32,
42,
0,
0,
32,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-16,
-21,
0
],
"maxPos": [
16,
21,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "20710d44-64c2-4fc5-9736-896ca6e505d9@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "20710d44-64c2-4fc5-9736-896ca6e505d9@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "a4050df6-9647-4152-ad4b-20e2878a272e",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "a4050df6-9647-4152-ad4b-20e2878a272e@6c48a",
"displayName": "零食卡蓝色@1x",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "a4050df6-9647-4152-ad4b-20e2878a272e",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "a4050df6-9647-4152-ad4b-20e2878a272e@f9941",
"displayName": "零食卡蓝色@1x",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 32,
"height": 42,
"rawWidth": 32,
"rawHeight": 42,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-16,
-21,
0,
16,
-21,
0,
-16,
21,
0,
16,
21,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
42,
32,
42,
0,
0,
32,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-16,
-21,
0
],
"maxPos": [
16,
21,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "a4050df6-9647-4152-ad4b-20e2878a272e@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "a4050df6-9647-4152-ad4b-20e2878a272e@6c48a"
}
}
......@@ -210,7 +210,9 @@ export class MainGame extends Scene {
reactionLenDisposer = null;
async initStage() {
const { currentStage } = gameStore.startInfo;
let { currentStage } = gameStore.startInfo;
currentStage = 3
// 初始化玩家
this.player.init({
......
......@@ -48,6 +48,10 @@ export class Player extends Snake {
gameStore.gameInfo.luckNum = value;
}
checkCard() {
console.warn("xxxx", this.cardMap)
}
onLoad() {
super.onLoad();
this.tag = Snake.getTag();
......
{
"success": true,
"code": "",
"message": "",
"data": "Dn22D8mkVmDOfP4ajNWcqtUT2BWK7hLAEHSofRAnITI23/h6M5dk9MJ+cY56DvHjlsXFGC8q3BgSsz56SCAcO6LiZx8tbmrjStn4UcGZq6/W+ZIm0IEma+v0iYkjGBT6bqBnMhA+9JKPvWXKnFJiNR2b8kEDC1Mjt2MH2penAaujIPcM6SAvaaZuTB04+Jtk5VSYZXauvq4KmXW3GGRumeiiyEIA+ZXAopsUzjcknsRY6nZmKVj0NjiFtVGF84qiZnISqNrmwNrdHOQONlI0TLVPx0Bzlpich1zyMUMMkZ/7cV2CeMi6Sm84oR/risQdMtm7d9EPsIDnoL6i0TO+JLCfvbc2r4yxr3qVSjSnK8A2DqxrtTBtXV8BLNwPLVjtZLVP0MnLPT6PXS5TNsD/jRswCJPga523j5LQgkXjJLlRl83WRQ8/SrcECSAoTF0gHG0+rm8WuFVrvQadxzK8kWZertwqJhAKkAlaj5rOJIgfS7rfoxrqPFSG7JvnMFNyCJ5Z8e4SSC6R/G8pBB1js45fXO6HvLg1QrYCZp+yxNAhcvDgXSPMIHVQns9RFNrw5cC0a4gSW8qIqzNbbl12pfq/OYvV0TjVFIZuGGYAlDrmSifBtQbh3yuT4pd6NH/inb/RXr6U3M6zCet4l0foaQ=="
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment