How can I add sprite image from a set of sprites which have different properties for each sprite?
Posted
by srikanth rongali
on Stack Overflow
See other posts from Stack Overflow
or by srikanth rongali
Published on 2010-03-24T05:38:32Z
Indexed on
2010/03/25
11:43 UTC
Read the original article
Hit count: 307
In my application one player and 10 targets are there. Each target appears one after the other (from target1 to target10). It's a shooting game. If we hit the first target then second target will come. The targets have properties like name, speedOfGunDraw, probability to hit the player, speedOfFire. What should I do to make them appear one after the other with these properties. I am using CCMenuItem for the target. I am using a sprite for the player. Please give me idea to do this. Thank You.
© Stack Overflow or respective owner