Commit 8c5715e7 authored by 李维's avatar 李维

Bug fix

parent 03bf2f34
...@@ -210,7 +210,7 @@ ...@@ -210,7 +210,7 @@
"array": [ "array": [
0, 0,
0, 0,
265.839111539906, 369.4572784293876,
0, 0,
0, 0,
0, 0,
...@@ -450,8 +450,8 @@ ...@@ -450,8 +450,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 185, "width": 180,
"height": 250 "height": 249
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -462,7 +462,7 @@ ...@@ -462,7 +462,7 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
482.232, 501.042,
-260.569, -260.569,
0, 0,
0, 0,
...@@ -524,15 +524,15 @@ ...@@ -524,15 +524,15 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
6.84,
59.614,
0, 0,
0, 0,
0, 0,
0, 0,
0,
0,
1,
1,
1, 1,
1.7,
1.7,
1 1
] ]
}, },
......
...@@ -102,7 +102,7 @@ export default class GameLogic { ...@@ -102,7 +102,7 @@ export default class GameLogic {
node = this.g_cartoon.getNodeByPath(`Canvas/lion`) node = this.g_cartoon.getNodeByPath(`Canvas/lion`)
node.x = cc.winSize.width / 2 - 140 node.x = cc.winSize.width / 2 - 140
node.y = -cc.winSize.height / 2 + 100 node.y = -cc.winSize.height / 2 + 120
this.m_bubblesAll.push({node: node, move: { this.m_bubblesAll.push({node: node, move: {
r: 90, x: node.x, y: node.y, vX: 0, vY: 0, enable: true, fix: true, scale: 1, id: 997, lastId: null r: 90, x: node.x, y: node.y, vX: 0, vY: 0, enable: true, fix: true, scale: 1, id: 997, lastId: null
}}) }})
...@@ -588,7 +588,7 @@ export default class GameLogic { ...@@ -588,7 +588,7 @@ export default class GameLogic {
let scaleIndex = this.m_bubblesAll.length<=15?0:1; let scaleIndex = this.m_bubblesAll.length<=15?0:1;
let startx = cc.winSize.width / 2 - 150 let startx = cc.winSize.width / 2 - 150
let starty = -cc.winSize.height / 2 + 175 let starty = -cc.winSize.height / 2 + 195
const vArr = [ const vArr = [
{vX: -0.5, vY: 0.5 }, {vX: 0.5, vY: -0.5 }, {vX: -0.5, vY: -0.5 }, {vX: 0.5, vY: 0.5 } {vX: -0.5, vY: 0.5 }, {vX: 0.5, vY: -0.5 }, {vX: -0.5, vY: -0.5 }, {vX: 0.5, vY: 0.5 }
] ]
......
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