I was toying with the idea of how to make a screen shake. At first I thought of having a special class that would take a reference to a scene and then move the position of a whole scene with each tick of its selector.
Then I was reading about the camera - even though I haven't used it yet.
In a single-screen app, the camera sounds about right. A 'Shake' class would move the camera via it's scheduled calls until the shake was complete. Custom patterns could be made in simple CGPoint arrays for speed of processing.
But before I write all this code, is there a screen shake style functionality built-in already? I'd hate to re-invent the wheel. A solid search of the forums turned up nothing.
If it doesn't exist, does my initial design of the class seem good?
Any constructive feedback welcomed!