Need help developing an animated iPhone game
<p>I am developing a game in which several objects are moving.  Here is an example of what I have so far: </p>

<pre><code>NSArray * imageArray  =
  [[NSArray alloc] initWithObjects:[UIImage imageNamed:@"1.png"], 
  [UIImage imageNamed:@"2.png"],
  [UIImage imageNamed:@"3.png"],
  [UIImage imageNamed:@"4.png"],
  [UIImage imageNamed:@"5.png"],
  [UIImage imageNamed:@"6.png"],
  [UIImage imageNamed:@"7.png"],
  [UIImage imageNamed:@"8.png"],
  [UIImage imageNamed:@"9.png"],
  [UIImage imageNamed:@"10.png"],
  [UIImage imageNamed:@"11.png"],
  [UIImage imageNamed:@"12.png"],
  nil];
ryuJump = [[UIImageView alloc] initWithFrame:CGRectMake(100, 125, 150, 130)];
x=100;
y=125;
ryuJump.animationImages = imageArray;
ryuJump.animationDuration = 1.1;
ryuJump.contentMode = UIViewContentModeBottomLeft;
[self.view addSubview:ryuJump];
[ryuJump startAnimating];
</code></pre>

<p>However, I'm concerned that this will be very heavy, and may cause memory leaks if I create all my animations like this.  Please help me decide which method I should use.</p>
