Very strange. I just added similar block to a test that was running at 60FPS a second ago...
This is related to a problem on another thread that I was having a couple of days ago.
when added to the init section of a a GameLayer (right after other Sprites being added and labeled).. I added this:
//Add Background
Sprite *bg = [Sprite spriteWithFile:@"image15.jpg"];
[self addChild:bg z:0];
bg.position = ccp(240, 160);
The Sprites are set to z:1 so they show up against the background. The image15.jpg is sized 320x480 so it fits the screen perfectly and is only about 30K.
but the instant I run it on the simulator, Idrop from 60FPS to 30FPS.
What am I fundamentally missing? Whatever is wrong here would probably also be wrong in the slideshow I was whining about on the other thread.