Commit df199436 authored by yu's avatar yu

8.2调整

parent a21e1d87
{
"ver": "1.2.9",
"uuid": "eeb30776-64d3-4ec2-962b-a1f4bee3b27d",
"optimizationPolicy": "SINGLE_INSTANCE",
"uuid": "ea29d7ab-a9ca-4501-aaba-ee96789843d1",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
......
......@@ -11002,7 +11002,7 @@
},
"_enabled": true,
"loadingLayerPrefab": {
"__uuid__": "eeb30776-64d3-4ec2-962b-a1f4bee3b27d"
"__uuid__": "ea29d7ab-a9ca-4501-aaba-ee96789843d1"
},
"_id": "eaTVUpqahPfZeO9+sUI7RP"
},
......
......@@ -164,9 +164,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
(chessBoardBg.width * chessBoardBg.scaleX) / 2 +
(canvas.width - chessBoardBg.width * chessBoardBg.scaleX) / 4;
const lifeblue = cc.find("Canvas/bg/Lifeblue");
lifeblue.x = offsetX;
// lifeblue.x = offsetX;
const lifered = cc.find("Canvas/bg/Lifered");
lifered.x = -offsetX;
// lifered.x = -offsetX;
}
loadingLayer;
......@@ -1377,14 +1377,14 @@ export default class SceneComponent extends MyCocosSceneComponent {
dice["cantRoll"] = true;
cc.tween(dice)
.by(3, { angle: 360 }, { easing: "cubicIn" })
.to(time, { angle: targetAngle })
.by(1, { angle: 360 })
.by(1, { angle: 360 })
.by(1, { angle: 360 })
.by(1, { angle: 360 })
.by((1 / 6) * num, { angle: 60 * num })
.by(3, { angle: 360 }, { easing: "cubicOut" })
.by(1.5, { angle: 360 }, { easing: "cubicIn" })
.to(time / 2, { angle: targetAngle })
.by(0.5, { angle: 360 })
.by(0.5, { angle: 360 })
.by(0.5, { angle: 360 })
.by(0.5, { angle: 360 })
.by((1 / 6) * num / 2, { angle: 60 * num })
.by(1.5, { angle: 360 }, { easing: "cubicOut" })
.call(() => {
dice["cantRoll"] = false;
resolve(null);
......
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