Commit 95de71a4 authored by haiyoucuv's avatar haiyoucuv

上传

parent 1d2a9126
...@@ -1792,7 +1792,7 @@ ...@@ -1792,7 +1792,7 @@
"y": -180, "y": -180,
"z": -19.35996391123362 "z": -19.35996391123362
}, },
"_id": "c8coPoNBBCVo/o0Gc9I0xx" "_id": "26AaghC3ZLQoivi8IPLLx6"
}, },
{ {
"__type__": "cc.UITransform", "__type__": "cc.UITransform",
...@@ -1814,7 +1814,7 @@ ...@@ -1814,7 +1814,7 @@
"x": 0, "x": 0,
"y": 1 "y": 1
}, },
"_id": "1aMYik40VONLKt82ZMq+X0" "_id": "4awsrLTDZPupNEWNUynBR3"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
...@@ -1850,7 +1850,7 @@ ...@@ -1850,7 +1850,7 @@
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_useGrayscale": false, "_useGrayscale": false,
"_atlas": null, "_atlas": null,
"_id": "84/zmCisFMNKB/fpVvtd1G" "_id": "b8gMWkSXRMxK5hFXrZOP9g"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
...@@ -1898,7 +1898,7 @@ ...@@ -1898,7 +1898,7 @@
"y": 180, "y": 180,
"z": 0 "z": 0
}, },
"_id": "97tqpNmfVGV5K5JZcLdHDC" "_id": "8d9MTuN+hJCqWfWMTAH874"
}, },
{ {
"__type__": "cc.UITransform", "__type__": "cc.UITransform",
...@@ -1920,7 +1920,7 @@ ...@@ -1920,7 +1920,7 @@
"x": 0, "x": 0,
"y": 1 "y": 1
}, },
"_id": "ce4jj0jQVGnZ8gV5jHQN40" "_id": "13L7gQxkVEMLNT/oINPmvT"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
...@@ -1956,7 +1956,7 @@ ...@@ -1956,7 +1956,7 @@
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_useGrayscale": false, "_useGrayscale": false,
"_atlas": null, "_atlas": null,
"_id": "fcDeua1pVIgYkRyPVe3IgI" "_id": "6cx/20SspPX4lorFO9bDOT"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
...@@ -2004,7 +2004,7 @@ ...@@ -2004,7 +2004,7 @@
"y": 180, "y": 180,
"z": 0 "z": 0
}, },
"_id": "7d8Nqw0X9KyrGZ1fcDkMwc" "_id": "23YQ0ruDNFKIjEUCfs6Dy7"
}, },
{ {
"__type__": "cc.UITransform", "__type__": "cc.UITransform",
...@@ -2026,7 +2026,7 @@ ...@@ -2026,7 +2026,7 @@
"x": 0, "x": 0,
"y": 1 "y": 1
}, },
"_id": "bcCD6p2bNPEIfBDWCMLdEy" "_id": "97LgeXPmZExbhqMi3/Fimf"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
...@@ -2062,7 +2062,7 @@ ...@@ -2062,7 +2062,7 @@
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_useGrayscale": false, "_useGrayscale": false,
"_atlas": null, "_atlas": null,
"_id": "b6bq3KV3pOQZXXyV+gWUjp" "_id": "5cwgvd7XlMSZ1mLwH6+aVv"
}, },
{ {
"__type__": "cc.UITransform", "__type__": "cc.UITransform",
......
...@@ -139,8 +139,11 @@ export class MainGame extends Scene { ...@@ -139,8 +139,11 @@ export class MainGame extends Scene {
mainColor: BgAndColor = null; mainColor: BgAndColor = null;
randomMainColor() { randomMainColor() {
const index = Math.floor(Math.random() * this.bgAndColor.length); // const index = Math.floor(Math.random() * this.bgAndColor.length);
this.mainColor = this.bgAndColor.splice(index, 1, this.mainColor)[0]; // this.mainColor = this.bgAndColor.splice(index, 1, this.mainColor)[0];
this.mainColor = this.bgAndColor.splice(0, 1)[0];
this.bgAndColor.push(this.mainColor);
return this.mainColor; return this.mainColor;
} }
...@@ -309,7 +312,7 @@ export class MainGame extends Scene { ...@@ -309,7 +312,7 @@ export class MainGame extends Scene {
{ {
lastZ: 0, lastZ: 0,
create: false, create: false,
interval: 20, interval: 25,
funcName: "createRing", funcName: "createRing",
}, },
] ]
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
"config": { "config": {
"images": [], "images": [],
"sceneUUID": {}, "sceneUUID": {},
"scene": "063b0464-e893-46fd-95f9-73a41f19fd25" "scene": "53947ca7-3484-4b53-800d-509405063d68"
}, },
"show": false "show": false
} }
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