Closed feijing566 closed 10 years ago
Hi @feijing566 ,
Could you show me some codes to reproduce the issue, and tell me which platform's mobile browser doesn't work?
Best regards David
Hi @dingpinglv , Thank you for your response.
runAction codes : var tile = this.tileLayer.getTileAt(pos); if(tile){ tile.runAction( cc.sequence(cc.blink(0.2,2), cc.delayTime(0.1),cc.callFunc(this.onRemove,tile)) ); } I have tried other ways like: tile.runAction( cc.blink(0.2,2) ); and some like this
all of them doesn't work.
I am using UC browser and my test phone is M1.
i have tried other browser like safari and M1's browser, it can't work too.
I have tried this.onRemove(tile). it can work well.
so i think there are some problems in runAction on Canvas
at last, i find the tile's _running is false.
OK, I will fix it soon.
Thanks for feedback. David
Hi @dingpinglv , Thanks for your repair work for the other problems. What about this problem.Can you fix it?
I'm sorry, we're too busy.
@VisualSJ will fix it tomorrow.
David
Hello @feijing566 ~~ We meet again. ^.^
Have you tried on another phone? My S4 work properly...... I tried android mobile browser, mobile UC, mobile chrome and mobile firefox... They all work properly....
If only M1 had this problem?
VisualSJ~~
Hi @VisualSJ , Thanks for your response. This is my demo URL : http://220.194.60.98/wkl/pokopang/index.html The blink action may not work in mobile browser,but it works well in PC
Ps:At the beginning,the runaction doesn't work,but now it can work.... It so magic,i didn't modify any code, except the engine.
@feijing566 ~
We have found the problem T.T
And has been repaired
https://github.com/cocos2d/cocos2d-html5/pull/2098
Thanks for your feedback~
VisualSJ
It can work well in android or pc browser. but doesn't work in mobile browser.