Index
A
- actions
- about / Actions in a nutshell
- creating, with Cocos2d-x / Time for action – creating actions with Cocos2d-x
- ADT bundle
- URL, for obtaining from Google / Downloading and installing Cocos2d-x
- ADT plugin
- URL, for installation instructions / Time for action – downloading, downloading, downloading
- Android NDK
- URL, for downloading latest version / Time for action – downloading, downloading, downloading
- Android SDK
- URL, for downloading / Time for action – downloading, downloading, downloading
- animations
- Apache Ant
- URL, for downloading / Time for action – downloading, downloading, downloading
- AppDelegate class
- about / The AppDelegate class, Who begets whom?
- Apple
- Automatic Reference Counting (ARC) / Instantiating objects and managing memory
B
- b2Body object / Meeting the bodies
- batch drawing sprites
- about / Batch drawing sprites
- SpriteBatchNode, creating / Time for action – creating SpriteBatchNode
- bitmap font labels
- bitmap fonts, Cocos2d-x
- about / Bitmap fonts in Cocos2d-x
- bitmap font labels, creating / Time for action – creating bitmap font labels
- final screen sprites, adding / Time for action – adding the final screen sprites, What just happened?
- object pools, creating / Time for action – creating our object pools
- Block object
- about / The Block object
- Box2D / Meeting Box2D
- Box2D project
- building, with Cocos2d-x / Building a Box2D project with Cocos2d-x
- debug draw, using / Time for action – using debug draw in your Box2D project, What just happened?
C
- C++
- ccp helper methods
- using / Using ccp helper methods
- rocket, rotating around a point / Rotating the rocket around a point
- dot product, using of vectors / Using the dot product of vectors
- pixel-based speed, moving to angular-based speed / Moving from pixel-based speed to angular-based speed
- CDT plugins, Eclipse
- URL, for installation instructions / Time for action – deploying to Android
- class implementation
- class interface
- about / The class interface
- creating / Time for action – creating the interface, What just happened?
- Cocos2d-x
- downloading / Downloading and installing Cocos2d-x, Time for action – downloading, downloading, downloading, What just happened?
- URL, for latest stable version / Time for action – downloading, downloading, downloading
- installing / Time for action – installing Cocos2d-x, What just happened?
- test samples, running / Time for action – running the test samples
- references / The other tools
- about / Cocos2d-x – an introduction, The C++ and Cocos2d-x style
- containers / Containers
- Director object / The Director and cache classes
- cache classes / The Director and cache classes
- actions / The other stuff
- particles / The other stuff
- specialized nodes / The other stuff
- macros / The other stuff
- structures / The other stuff
- helper methods / The other stuff
- sprite sheets, using / Using sprite sheets in Cocos2d-x
- batch drawing sprites / Batch drawing sprites
- actions, creating with / Time for action – creating actions with Cocos2d-x
- sprite, animating / Animating a sprite in Cocos2d-x
- primitives, drawing / Drawing primitives in Cocos2d-x
- Box2D project, building with / Building a Box2D project with Cocos2d-x
- scenes, using / Using scenes in Cocos2d-x
- scene transition, creating / Time for action – creating a scene transition
- transitions, creating with singleton Layer class / Time for action – creating transitions with a singleton Layer class, What just happened?
- Cocos2d-x objects, instantiating
- static methods, using / Using static methods
- C++ / The C++ and Cocos2d-x style
- CocosBuilder
- about / The other tools
- CocosStudio
- about / The other tools
- CollisionListener class
- methods / Creating a contact listener
- containers
- about / Containers
- Scene / Containers
- Layer / Containers
- Sprite / Containers
- Node / Containers
- controls, Victorian Rush Hour
- adding / Adding the controls
- touches, handling / Time for action – handling touches
- main loop, coding / Time for action – coding the main loop, What just happened?
D
- damping
- about / Creating the ball objects
E
- Eclipse ADT plugin
- URL, for downloading / Time for action – downloading, downloading, downloading
- Eskimo, game
- about / The game – Eskimo
- settings / The game settings
- organizing / Organizing the game
- external data, loading from .plist file / Loading external data from a .plist file
- .plist file, creating / Time for action – creating a .plist file, What just happened?
- level data, loading / Loading the level data
- data, retrieving from .plist file / Time for action – retrieving data from the .plist file, What just happened?
- saving / Saving game data
- completed levels, storing / Time for action – storing the completed levels, What just happened?
- events, using / Using events in your game
- event dispatcher, using / Time for action – using the event dispatcher, What just happened?
- accelerometer, using / Using the accelerometer
- accelerometer data, reading / Time for action – reading accelerometer data, What just happened?
- b2Bodies, reusing / Reusing b2Bodies
- b2Body fixture, changing / Time for action – changing a b2Body fixture
- running, in Android / Time for action – running the game in Android, What just happened?
G
- game
- game configurations
- about / Game configurations
- game project, creating / Time for action – creating your game project, What just happened?
- rules, laying down / Time for action – laying down the rules
- GameLayer interface
- coding / Time for action – coding the GameLayer interface
- init(), implementing / Time for action – implementing init(), What just happened?
- multi-touches, handling / Time for action – handling multitouches
- main loop, adding / Time for action – adding our main loop, What just happened?
- scores, updating / Time for action – updating scores, What just happened?
- game, running in Android / Time for action – running the game in Android, What just happened?
- game loop
- about / The game loop
- main loop, adding / Time for action – adding the main loop
- Glyph Designer
- URL / The other tools
H
- hello world example
- about / Hello-x World-x
- application, creating / Time for action – creating an application, What just happened?
- project, opening in Eclipse / Time for action – deploying to Android, What just happened?
- folder structure / The folder structure
- iOS linkage classes / The iOS linkage classes
- AppDelegate class / The AppDelegate class
- HelloWorldScene class / The HelloWorldScene class
- HelloWorldScene class
- about / The HelloWorldScene class
- deleting / The actual game scene
I
- iOS linkage classes
- about / The iOS linkage classes
L
- letterbox
- about / The game settings
- LineContainer node
- drawing in / Time for action – let's do some drawing!, What just happened?
- live coding
- about / What just happened?
- Lua
- about / So what is Lua like?
- code, debugging / Debugging in Lua – the knights who say nil
M
- Mac port cfxr
- URL / The other tools
- main loop, MiniPool game
- about / The main loop
- adding / Time for action – adding the main loop, What just happened?
- memory
- managing / Instantiating objects and managing memory
- MiniPool game
- about / Our game – MiniPool
- settings / Game settings
- with b2Body objects, combining with sprites / Sprite plus b2Body equal to b2Sprite
- pool table, creating / Creating the pool table
- edges, creating / Creating edges
- ball objects, creating / Creating the ball objects
- collision filters, creating / Creating collision filters
- cue, creating / Creating the cue
- contact listener, creating / Creating a contact listener
- MiniPool game, controls
- about / The game controls
- touch events, adding / Time for action – adding the touch events, What just happened?
N
- Node
- about / Containers
O
- objects
- instantiating / Instantiating objects and managing memory
- Observer Pattern
- about / Using events in your game
P
- parallax effect
- creating / Time for action – creating a parallax effect
- Particle Designer
- URL / The other tools
- particles
- about / So what are particles?
- particle systems, creating / Time for action – creating particle systems, What just happened?
- physics engine
- about / So what is a physics engine?
- Box2D / Meeting Box2D
- b2world object, creating / Meeting the world
- simulation, running / Running the simulation
- Ref objects, avoiding in Box2D / No Ref objects in Box2D
- b2Body object / Meeting the bodies
- pixel to meter (PTM)
- about / Meeting the world
- platform collision
- about / Platform collision logic
- collision detection, adding / Time for action – adding collision detection, What just happened?
- player
- Player object
- about / The Player object
- primitives
- drawing, in Cocos2d-x / Drawing primitives in Cocos2d-x
- Python
- URL / What just happened?
R
- Ref
- about / What you get with Ref
- retina displays
- supporting / Supporting retina displays
- image files, adding / Time for action – adding the image files
- retina support, adding / Time for action – adding retina support, What just happened?
- rocket sprite
- about / The rocket sprite
- updating / Time for action – updating our rocket sprite
- touches, handling / Time for action – handling touches
- Rocket Through, game
- about / The game – Rocket Through
- game settings / The game settings
- Start Project option, using / Play first, work later
- project, starting / The start project
- screen settings / Screen settings
- particles / What just happened?
- grid, creating / Creating the grid
- running, in Android / Time for action – running the game in Android, Have a go hero
S
- sfxr, for Windows
- URL / The other tools
- sky defense, game
- about / The game – sky defense
- game settings / The game settings
- start project / The start project
- screen support, adding for universal app / Adding screen support for a universal app
- background music, adding / Adding background music
- initializing / Initializing the game
- running / Time to make our game tick!
- touches, handling / Time for action – handling touches
- starting / Time for action – starting and restarting the game, What just happened?
- restarting / Time for action – starting and restarting the game, What just happened?
- updating / Time for action – updating the game
- objects, retrieving from pool / Time for action – retrieving objects from the pool, What just happened?
- playing / Play the game!
- running, in Android / Time for action – running the game in Android
- sound effects
- adding / Adding sound effects
- sound files, adding / Time for action – adding the sound files, What just happened?
- Sprite
- extending / Extending Sprite
- GameSprite.cpp, adding / Time for action – adding GameSprite.cpp, What just happened?
- GameSprite, implementing / Time for action – implementing GameSprite, What just happened?
- sprite
- animating, in Cocos2d-x / Animating a sprite in Cocos2d-x
- sprite, Cocos2d-x
- animations, creating / Time for action – creating animations, What just happened?
- SpriteBuilder
- about / The other tools
- sprite sheets
- used, in Cocos2d-x / Using sprite sheets in Cocos2d-x
- static methods
- using / Using static methods
- Stone Age game
- about / The game – Stone Age
- project, creating / Time for action – creating or importing a project, What just happened?
- project, importing / Time for action – creating or importing a project, What just happened?
- screen resolution, setting up / Time for action – setting up our screen resolution, What just happened?
- menu scene, creating / Time for action – creating a menu scene
- game scene, creating / Time for action – creating our game scene
- gems, building / Time for action – building the gems
- grid, changing with GridController / Time for action – changing the grid with GridController, What just happened?
- gems, swapping / Time for action – swapping the gems and looking for matches
- grid, collapsing / Time for action – collapsing the grid and repeating, What just happened?
- grid collapse process, repeating / Time for action – collapsing the grid and repeating, What just happened?
- matches, animating / Time for action – animating matches and collapses
- collapses, animating / Time for action – animating matches and collapses
- publishing, with Cocos IDE / Time for action – publishing the game with the Cocos IDE, What just happened?
T
- terrain object
- about / The terrain object
- player, coding / Time for action – coding the player
- Block object, coding / Time for action – coding the Block object
- Terrain class, planning / Planning the Terrain class
- building / Building the terrain object
- Terrain class, initializing / Time for action – initializing our Terrain class
- Blocks object, initializing / Time for action – initializing our Blocks object, What just happened?
- moving / Time for action – moving and resetting
- resetting / Time for action – moving and resetting
- TexturePacker
- URL / The other tools
- timer, MiniPool game
- adding / Adding a timer to our game
- creating / Time for action – creating a timer
- running, in Android / Time for action – running the game in Android
V
- vector methods / The vector methods
- vectors
- about / What are vectors?
- vector methods / The vector methods
- Victorian Rush Hour, game
- about / The game – Victorian Rush Hour, Victorian Rush Hour – the game
- settings / The game settings
- rectangles, creating / Rapid prototyping with Cocos2d-x
- placeholder sprites, creating / Time for action – creating placeholder sprites
- sprites, adding / New sprites
- animations / Animations
- buildings, texturing with sprites / Texturing our buildings with sprites
- buildings, texturing / Time for action – texturing the buildings, What just happened?
- containers, within containers / Containers within containers
- parallax effect, creating / Creating a parallax effect, Time for action – creating a parallax effect
- menu, adding to / Adding a menu to our game
- Menu, creating / Time for action – creating Menu and MenuItem, What just happened?
- MenuItem, creating / Time for action – creating Menu and MenuItem, What just happened?
- tutorial, adding / Adding a tutorial to our game, Time for action – adding a tutorial, What just happened?
- running, in Android / Time for action – running the game in Android
X
- Xcode
- about / Downloading and installing Cocos2d-x
- URL, for downloading / Downloading and installing Cocos2d-x
Z
- zoom-in effect
- about / The game settings
- Zwoptex
- URL / The other tools