Commit c63aac26 authored by wildfirecode's avatar wildfirecode

1

parent b0423c68
......@@ -20,7 +20,11 @@ export default (thisobj: MainScene, from: number[], to: number[]) => {
.to({x:to[0],y:to[1]},500)
.to({ scaleX: 0.9, scaleY: 1.1 }, 100)
.to({ scaleX: 1.05, scaleY: 0.95 }, 100)
.to({ scaleX: 1, scaleY: 1 }, 100).call(r)
// r();
.to({ scaleX: 1, scaleY: 1 }, 100).call(()=>{
thisobj.removeChild(pic);
});
setTimeout(() => {
r();
}, 1500);
});
}
\ No newline at end of file
......@@ -149,4 +149,4 @@ export const getRepeatCount = () => {
/// TODO 14 = MapTopPart.LEVEL_NUMS + MapBottomPart.LEVEL_NUMS
/// TODO 13 = MapRpeatPart.LEVEL_NUMS
return (window['total_level'] - MapTopPart.LEVEL_NUMS - MapBottomPart.LEVEL_NUMS) / (MapRpeatPart.LEVEL_NUMS);
}
\ No newline at end of file
}
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