开发者

moving many sprites at a time without using scheduler

i m developing an application. In which i have to move sprites on c开发者_运维知识库lick event. problem is i have to move 2-3 images at a time on click n also check collision. so i created class of that sprites n wrote moving functions as member function. but i m not able to use scheduler in that file. so its again move 1 sprite at a time. so i want to write generalized code for moving sprites without using scheduler. so can anybody help me.


you could try a runAction method with duration.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜