Commit 1228ad51 authored by Chen Jiping's avatar Chen Jiping

完善

parent 7e4da02a
......@@ -1451,9 +1451,6 @@ export class PlayComponent implements OnInit, OnDestroy {
let y = item.pic.y;
item.pic.scaleY = 0;
item.pic.scaleX = 0;
for(let i = 0; i < this.ballon_temp_arr.length; ++ i){
let answer = this.ballon_temp_arr[i];
......@@ -1467,6 +1464,9 @@ export class PlayComponent implements OnInit, OnDestroy {
break;
}
item.pic.scaleY = 0;
item.pic.scaleX = 0;
item.pic.alpha=0;
item.hit = true;
......@@ -1546,7 +1546,10 @@ export class PlayComponent implements OnInit, OnDestroy {
}
}
//坐标出去后不检查
if(y < 0){
return;
}
if(!item.hit){
setTimeout(() => {
......
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