Commit b6de10fb authored by 杨一航's avatar 杨一航

fix

parent 8b8a3610
......@@ -983,7 +983,7 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-980.4170000000001,
-1014.4169999999999,
485.489,
0,
0,
......@@ -1059,7 +1059,7 @@
"alignMode": 1,
"_target": null,
"_alignFlags": 8,
"_left": 72.08299999999986,
"_left": 38.08299999999997,
"_right": 0,
"_top": 0,
"_bottom": 0,
......@@ -1115,7 +1115,7 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
1039.523,
1056.523,
616.014,
0,
0,
......@@ -1192,7 +1192,7 @@
"_target": null,
"_alignFlags": 32,
"_left": 0,
"_right": 23.47700000000009,
"_right": 6.477000000000089,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
......
......@@ -978,6 +978,18 @@ export default class SceneComponent extends MyCocosSceneComponent {
pos = this._redPointRoot.getChildByName("14").position;
}
const blueHead = cc.find("Canvas/road/blueHead");
const redHead = cc.find("Canvas/road/redHead");
blueHead.getChildByName("tree").getComponent(cc.ProgressBar).progress = this._status.Blue / (this._bluecardList.length - 1);
redHead.getChildByName("tree").getComponent(cc.ProgressBar).progress = this._status.Red / (this._redcardList.length - 1);
if (this.isMySide) {
this.cat.getComponent(dragonBones.ArmatureDisplay).playAnimation("finish", 1);
} else {
}
await asyncTweenTo(
node,
0.7,
......
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