Commit 244d63be authored by 李维's avatar 李维

change right image tween

parent 26662d28
......@@ -428,9 +428,13 @@ export default class GameLogic {
let sx = imageContainer.node.scaleX
let sy = imageContainer.node.scaleY
this.g_cartoon.tweenChange(imageContainer.node, {scaleX: sx * 1.08, scaleY: sy * 1.08}, 0.3, ()=>{
this.g_cartoon.tweenChange(imageContainer.node, {scaleX: sx, scaleY: sy}, 0.4, ()=>{
this.g_cartoon.tweenChange(imageContainer.node, {scaleX: sx * 0.9, scaleY: sy * 0.9}, 0.3, ()=>{
this.g_cartoon.tweenChange(imageContainer.node, {scaleX: sx * 1.08, scaleY: sy * 1.08}, 0.3, ()=>{
this.g_cartoon.tweenChange(imageContainer.node, {scaleX: sx, scaleY: sy}, 0.4, ()=>{
if(callback) {
callback()
}
})
})
})
}
......
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