I recently started using cocos2d and have run several successful experiments. I recently started a new project, and for some extremely minute reason, everything is going wrong. Here's what happens when I run my app:
iPhone simulator opens
Cocos2D logo shows (as it should, for now)
Logo is replaced by white screen
And that's all there is. I've added a Sprite that is a background image in the GameScene class implementation, but it does not show UNTIL I close the application.
When I press the Home key, for a half-second the white layer disappears and I can see the background sprite, shrinking along with the rest of the app.
My code is quite regular and there's nothing really different when I compare it to my other experiments, except that I have subclassed Scene and made it into GameScene (but nothing irregular is performed there, either).
I have pasted my code online: http://pastie.org/607897 .
I have NO idea what I missed / what I am doing wrong. Any ideas?