title: Cocos 2D Large FPS Drop When Drawing Sprites
body: <p>I am drawing 52 labels, sprites, and buttons for a scroll view. However when i go to scroll it is very lagged when i use the scroll view. I use a similar setup that scrolls on the x and  axis that works with no lag. I am testing on an iphone 5 so i would think that it would be able to handle it very easily. The distance the the object need to move is being calculated correctly and the object are being draw correctly it is just really lagged. Draw code:</p>
  
  <pre><code>    int cnt = 40;      
    for (NSString *i in [Trucks GetSetTruckList].TruckList){
      NSMutableArray *Truck = [[NSMutableArray alloc] initWithArray:[TruckDict objectForKey:i]];
       CGSize s = [[CCDirector sharedDirector] winSize];
  
  
      CCMenuItemImage *BuyButton = [CCMenuItemImage itemWithNormalImage:@"Buy.jpg" selectedImage:@"Buy.jpg"block:^(id sender) {[self BuyTruck:Truck]; }];
      BuyButton.position = ccp((s.width/2) - 20 , (s.height/2) - cnt  + ShopPointX);
      BuyButton.scale = .5;
  
      CCLabelTTF *Name = [CCLabelTTF labelWithString:[Truck objectAtIndex:0] fontName:@"Marker Felt" fontSize:19];
      Name.position = ccp(100, (s.height) - cnt + ShopPointX);
  
      CCLabelTTF *NumPeople = [CCLabelTTF labelWithString:[NSString stringWithFormat:@"Ppl: %@" , [Truck objectAtIndex:2]] fontName:@"Marker Felt" fontSize:13];
      NumPeople.position = ccp(200, (s.height) - cnt + ShopPointX);
  
      CCLabelTTF *NumCrate = [CCLabelTTF labelWithString:[NSString stringWithFormat:@"Crgo: %@" , [Truck objectAtIndex:1]] fontName:@"Marker Felt" fontSize:13];
      NumCrate.position = ccp(270, (s.height) - cnt + ShopPointX);
  
      CCSprite *Pic = [CCSprite spriteWithFile:[Truck objectAtIndex:5]];
      Pic.position = ccp(340, (s.height) - cnt + ShopPointX);
      Pic.scale = .3;
  
      CCMenu *Menu = [CCMenu menuWithItems:BuyButton, nil];
      cnt = cnt + 40;
  
      [self addChild:Pic];
      [self addChild:Menu];
      [self addChild:Name];
      [self addChild:NumCrate];
      [self addChild:NumPeople];
      StartShop = 1;
  }
  </code></pre>