Game Development Reference
In-Depth Information
soft-body physics in general, whether you need it for your game project or not, so I would
encourage you to try out different variations.
You've also learned about custom drawing using Cocos2D's own renderer. I hope I was
able to convey how it's easier to use than pure OpenGL. Custom drawing a texture with a
varying number of vertices has many applications beyond soft-body physics. For instance,
you could animate a flag waving in the wind with manageable effort and without having
to resort to shader programming, a completely different beast well beyond the scope of
this topic. You may want to look into Pro OpenGL ES for iOS from Apress if you want to
learn more about low-level graphics programming for iOS.
The soft-body player concludes the changes to how the game is played. You'll find the
resulting project in the 11 - Soft-Body Player folder. In the next two chapters, you'll add
music, sound, and visual effects.
Search WWH ::




Custom Search