Cocos2d for iPhone 1 game development cookbook over 90 recipes for iOS 2D game development using cocos2d
This book is full of fun and engaging recipes with modular libraries that can be plugged into your project. Each recipe consists of explained code accompanied by screenshots for your understanding. If you want to elevate your basic Cocos2d project to the next level, this is the book for you. Some un...
Main Author: | |
---|---|
Format: | eBook |
Language: | English |
Published: |
Birmingham, U.K.
Packt Pub.
2011
|
Subjects: | |
Online Access: | |
Collection: | O'Reilly - Collection details see MPG.ReNa |
Table of Contents:
- Includes index
- How to do it...How it works...; Using the accelerometer for steering; Getting ready; How to do it...; How it works...; Using the accelerometer for 3D rotation; Getting ready; How to do it...; How it works...; Pinch zooming; Getting ready; How to do it...; How it works...; There's more...; Performing gestures; Getting ready; How to do it...; How it works...; There's more...; 3. Files and Data; Introduction; Reading PLIST data files; Getting ready; How to do it...; How it works...; Reading JSON data files; Getting ready; How to do it...; How it works...; Reading XML data files; Getting ready
- How to do it...How it works...; Animating sprites; Getting ready; How to do it...; How it works...; There's more...; Drawing OpenGL primitives; Getting ready; How to do it...; How it works...; There's more...; Playing video files; Getting ready; How to do it...; How it works...; Grid, particle, and motion streak effects; Getting ready; How to do it...; How it works...; Using Retina Display mode; Getting ready; How to do it...; How it works...; 1D and 2D Ease Actions; Getting ready; How to do it...; How it works...; Rendering and texturing 3D shapes; Getting ready; How to do it..
- Table of Contents; Cocos2d for iPhone 1 Game Development Cookbook; Cocos2d for iPhone 1 Game Development Cookbook; Credits; About the Author; About the Reviewers; www.PacktPub.com; Support files, eBooks, discount offers and more; Why Subscribe?; Free Access for Packt account holders; Preface; What this book covers; What you need for this book; Who this book is for; Conventions; Reader feedback; Customer support; Downloading the example code; Errata; Piracy; Questions; 1. Graphics; Introduction; Drawing sprites; Getting ready; How to do it...; How it works...; Coloring sprites; Getting ready
- How it works...There's more...; Rendering a texture-filled polygon; Getting ready; How to do it...; How it works...; There's more...; Animating a texture-filled polygon; Getting ready; How to do it...; How it works...; Swapping palettes using layers; Getting ready; How to do it...; How it works...; Swapping palettes using CCTexture2DMutable; Getting ready; How to do it...; How it works...; Using AWTextureFilter for blur and font shadows; Getting ready; How to do it...; How it works...; There's more...; Taking and using screenshots; Getting ready; How to do it...; How it works..
- There's more...Using CCParallaxNode; Getting ready; How to do it...; How it works...; There's more...; Lighting using glColorMask; Getting ready; How to do it...; How it works...; There's more...; 2. User Input; Introduction; Tap, hold, and drag input; Getting ready; How to do it...; How it works...; There's more...; See also...; Depth testing input; Getting ready; How to do it...; How it works...; Creating buttons; Getting ready; How to do it...; How it works...; Creating a directional pad; Getting ready; How to do it...; How it works...; Creating an analog stick; Getting ready