everyone, I made a shooting game just like 1942(classic shooting game),but here s the question, FPS drops to 5~6 when the fighter shoot out a straight line of bullet,about 7~8 bullets in the screen,Actually, only 8 bullets of player will appear in games, when bullets fly out of the screen they would reset to the fighter s center and become invisible,all bullets are individual sprites, just like:
Sprites * bullet1 = [Sprite spriteWithFile:@"bullet.png"];
........
Sprites * bullet8 = [Sprite spriteWithFile:@"bullet.png"];
Is there any method can store a lots of bullets instead of defining them one by one?? Because enemies may fire too, I can imagine the FPS may get closer to zero.....
Can anyone help me??