Cocos2d: Using single timer/scheduler for multiple sprites
Posted
by
Shailesh_ios
on Game Development
See other posts from Game Development
or by Shailesh_ios
Published on 2012-08-04T11:08:54Z
Indexed on
2012/09/03
21:49 UTC
Read the original article
Hit count: 169
want to know if is it possible to use single timer or scheduler method for multiple sprites ? Like I am now working on a game and there could be any number of sprites and i want to perform some actions on all of that sprites, So do I have to use as many timers or schedulers as sprites ? Or How can the job be done using only a single timer or scheduler ? What is I schedule a method and use it for, Say 10 sprites ? Will it affect the performance..?
© Game Development or respective owner