... 416Releasing your app 420Index 423PrefaceCocos2d for iPhone is a robust but simple to use 2D game framework for iPhone. It is fast, exible, free, and App Store approved. More than 2500 App Store ... animation delay (flappingSpeed). float flappingSpeed = [self makeBatFlyUp:bat]; //Base y velocity on flappingSpeed. bat.velocity = ccp((arc4random()%1000)/500 + 0.2f, 0.1f/flappingSpeed); ... polygons, palette swapping, lighting, parallaxing, and more.Chapter 2, User Input, provides examples of different styles of input typically used in iOS game development. This includes tapping, holding,...