O'Reilly logo

Learning Cocos2D: A Hands-On Guide to Building iOS Games with Cocos2D, Box2D, and Chipmunk by Ray Wenderlich, Rod Strougo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Index

Symbols and Numbers

? (Ternary operator), 134–135

3D

2D vs., xxv

extensions to Cocos2D, 567

z values in, 33

A

AABB (axis-aligned bounding boxes)

avoiding object overlap, 77

searching for objects in Box2D world, 305–307

Accelerometer

cart movement example, 355–358

commenting out, 319

enabling support for, 302–303

implementing movement in Box2D, 281

implementing movement in Chipmunk, 451, 454–455

Accounts

iOS Developer Program account, 497–498

iPhone Developer account, 20

Sandbox accounts, 514

Achievements

adding to iTunes Connect, 515–517

displaying within apps, 534–536

GameState class and, 519–521

helper function for sending achievement data, 524–530

helper functions for loading/saving achievement data, 522–524

how they work, 517–518

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required