Index
A
- accelerometer
- adding / Adding an accelerometer, How to do it…, How it works…
- force, applying with / Applying force with the accelerometer, Getting started, How to do it…
- access specifiers
- about / Access specifiers
- actions
- adding, to sprites / Adding actions to sprites, How to do it…, There's more…
- anchor point
- about / The 2D coordinate system
- Android
- project, porting to / Porting a project to Android, How to do it…
- Android Sprite builder
- online resources / Useful resources
- Android Xcode plugin
- installing / Installing the Android Xcode plugin, How to do it…
- URL / Getting started
- apportable
- URL, for documentation / Useful resources
- arithmetic increment/decrement operations
- arithmetic operators
- about / Arithmetic operators
- arrays
- about / Arrays
- looping / Looping through arrays
- objects, adding / Adding, removing, and inserting objects in arrays
- objects, removing / Adding, removing, and inserting objects in arrays
- objects, inserting / Adding, removing, and inserting objects in arrays
- functions / Important array functions
- assignment operations
- Assistant editor
- about / The while loop
- audio effects
- adding / Adding audio effects, How to do it…
- audio file formats
- reference link / How it works…
B
- background music
- adding / Adding background music, Getting ready, How it works…
- blank screen error
- solving / Blank screen error
- bloom effect
- adding / Adding the bloom effect
- blur effect
- adding / Adding the blur effect
- body properties
- modifying / Changing body properties, How it works…
- brightness effect
- adding / Adding the brightness effect
- buttons
- adding, CCMenu used / Adding buttons with CCMenu, Getting ready, How to do it…
C
- CCBReader file
- about / How to do it…
- CCEffects
- using / CCEffects, Getting ready, How to do it…
- bloom effect, adding / Adding the bloom effect
- blur effect, adding / Adding the blur effect
- brightness effect, adding / Adding the brightness effect
- drop shadow effect, adding / Adding the drop shadow effect
- pixelate effect, adding / Adding the pixelate effect
- stack effect, adding / Adding the stack effect, How it works…
- CCLabel
- used, for adding text / Adding text using CCLabel, How to do it…, There's more…
- about / Glyph Designer
- CCMenu
- used, for adding buttons / Adding buttons with CCMenu, Getting ready, How to do it…
- chasing enemy behavior
- implementing / Chasing enemy behavior, Getting ready, How to do it…
- Chipmunk
- about / Introduction
- classes
- about / Classes
- properties / Properties and initializers
- initializers / Properties and initializers
- custom methods, creating / Custom methods
- Cocos2d
- installing / Downloading and installing Cocos2d, Getting ready, How to do it…, How it works…
- downloading / Downloading and installing Cocos2d, Getting ready, How to do it…, How it works…
- URL / Getting ready
- Cocos2d Swift
- implementing / Implementing Cocos2d Swift, How to do it…, How it works…
- collision detection
- about / Collision detection
- defining / Getting started, How to do it…, How it works…
- comparison operators
- about / Comparison operators
- complex shapes
- creating / Creating complex shapes, Getting started, How to do it…, How it works…
- composite bodies
- creating / Creating composite bodies, How to do it…, How it works…
- conditional expression
- about / The conditional expression
- control flow statements
- decision making statements / Decision making statements
- looping statements / Looping statements
- custom sprite class
D
- 2D coordinate system
- about / The 2D coordinate system
- 2D lighting
- adding / Adding 2D lighting, Getting ready, How it works…, There's more…
- decision making statements
- about / Decision making statements
- if statement / The if statement
- if else statement / The if else statement
- else if statement / The else if statement
- conditional expression / The conditional expression
- switch statement / The switch statement
- device
- USB debugging, enabling on / Enabling USB debugging on a device, How to do it…
- SpriteBuilder project, executing on / Running the SpriteBuilder project on a device, How to do it…
- dictionary
- about / Dictionary
- objects, adding / Adding and removing objects in a dictionary
- objects, removing / Adding and removing objects in a dictionary
- looping / Looping through items in a dictionary
- functions / Dictionary functions
- directional pad
- adding / Adding a directional pad, How to do it…, There's more…
- do while loop
- about / Repeating the while loop
- drop shadow effect
- adding / Adding the drop shadow effect
- dynamic body
- about / How to do it…
- static body, modifying to / How to do it…, How it works…
E
- else if statement
- about / The else if statement
- emitter
- about / Particle system
F
- force
- applying, with accelerometer / Applying force with the accelerometer, Getting started, How to do it…
- for in loop
- about / The for in loop
- for loop
- about / The for loop
- functions
- about / Functions
- func keyword, using / Simple functions
- parameter, passing / Passing a parameter
- multiple parameter, passing / Passing more than one parameter
- value, returning / Returning a value
- named parameters / Default and named parameters
- default parameters / Default and named parameters
- multiple value, returning / Returning more than one value
G
- game loop
- gameplay scenes
- adding / Adding a Gameplay Scene, How to do it…, How it works…
- game scene
- physics, adding / Adding physics to a game scene, How to do it…
- GDataXML
- URL / Getting started
- glass effect
- adding / Getting ready, How to do it…
- glPremitives
- used, for drawing / Drawing glPrimitives, There's more…
- Glyph Designer
- about / Glyph Designer
- using / Glyph Designer, Getting ready
- URL / Getting ready
- Glyph Fill / Getting ready
- Glyph Stroke / Getting ready
- Glyph Shadow / Getting ready
H
- hashtable
- about / Dictionary
I
- if else statement
- about / The if else statement
- if statement
- about / The if statement
- impulse
- applying, with touch control / Applying impulse with the touch control, How to do it…, How it works…
- inheritance
- about / Inheritance
- internal specifiers
- about / Access specifiers
J
- Java runtime error
- solving / No Java runtime error, How to do it…
- JavaScript Object Notation (JSON)
- about / Loading the JSON file data
- JSON file data
- loading / Getting ready, How to do it…, How it works…
K
- kinematic body
- about / How to do it…
L
- level selection scenes
- adding / Adding a Level Selection Scene, How to do it…, How it works…
- scrolling / Scrolling a Level Selection Scene, How to do it…, How it works…
- logical operators
- about / Logical operators
- longpress
- adding / Adding LongPress, How to do it…
- looping statements
- about / Looping statements
- while loop / The while loop
- do while loop / Repeating the while loop
- for loop / The for loop
- for in loop / The for in loop
M
- main menu scenes
- adding / Adding a MainMenu Scene, Getting ready, How it works…
- MainScene
- accessing / Getting access to MainScene, How to do it…
- map
- about / Dictionary
- motion streak effect
- motor joints
- adding / Adding motor joints, How to do it…, How it works…
- mute button
- adding / Adding a mute button, Getting ready, How to do it…
N
- NSUserDefaults
- using / Using NSUserDefaults, How it works…
O
- objects
- creating, with touchBegan function / Creating objects with touchBegan, How it works…, There's more…
- moving, with touchMoved function / Moving objects with touchMoved, How it works…
- openGLES
- about / Drawing glPrimitives
- operators
- about / Operators
- arithmetic operators / Arithmetic operators
- comparison operators / Comparison operators
- logical operators / Logical operators
- optionals
- about / Optionals
P
- pan
- adding / Adding panning, How to do it…
- parallax effect
- Particle2dx
- using / Particle2dx
- URL / Particle2dx
- Motion button / Motion
- Color&Shape button / Color
- Template button / Template
- InOut button / Export
- Background button / Export
- Particle Designer
- URL, for downloading / Particle Designer
- using / Particle Designer
- Emitter configuration / Emitter configuration
- Particle configuration / Particle Settings
- Color settings / Color settings
- Texture settings / Texture settings
- particle effect
- particle system
- about / Particle system
- Particle Designer / Particle Designer
- Particle2dx / Particle2dx
- particle, creating / How to do it…, How it works…
- patrol enemy behavior
- implementing / Patrol enemy behavior, Getting ready, How to do it…, How it works…
- pause button
- physics
- adding, to game scene / Adding physics to a game scene, How to do it…
- PhysicsEditor
- about / PhysicsEditor
- URL / Getting ready, How to do it…
- implementing / Getting ready, How to do it…, How it works…
- Shapes panel / Getting ready
- Preview panel / Getting ready
- Exporter panel / Getting ready
- physics objects
- adding / Adding physics objects, How to do it…, How it works…
- sprite texture, adding / Adding sprite texture to physics objects, How to do it…
- pinch/zoom controls
- adding / Adding pinch/zoom controls, Getting ready
- pixelate effect
- adding / Adding the pixelate effect
- PLIST file data
- loading / Loading the PLIST file data, Getting ready, How to do it…
- saving / Saving the PLIST file data, How to do it…, How it works…
- project
- porting, to Android / Porting a project to Android, How to do it…
- projectile shooting enemy
- creating / Projectile shooting enemy, Getting ready, How to do it…, How it works…
- provision profile error
- solving / Provision profile error, How to do it…
R
- Rain
- about / Particle system
- RenderTexture
- used, for creating sprites / Creating a sprite using RenderTexture, How to do it…, How it works…, There's more…
- resume button
- revolute joints
- adding / Adding revolute joints, How to do it…
- rotation objects
- adding / Adding rotation objects , How to do it…, How it works…
S
- scenes
- sprites, adding / Adding sprites to scenes, How to do it…, How it works…
- transitioning / Getting ready, There's more…
- scoring
- screen coordinate system
- about / The 2D coordinate system
- settings panel, TexturePacker
- about / Getting ready
- Data / Data
- Texture / Texture
- Layout / Layout
- Sprites / Sprites
- SpriteBuilder
- about / Introduction, SpriteBuilder basics, Introduction
- using / How to do it…, How it works…
- SpriteBuilder project
- executing, on device / Running the SpriteBuilder project on a device, How to do it…
- sprite class
- touches, customizing / Customizing touches in the sprite class, How to do it…, How it works…
- sprites
- adding, to scenes / Adding sprites to scenes, How to do it…, How it works…
- creating, RenderTexture used / Creating a sprite using RenderTexture, How to do it…, How it works…, There's more…
- animating / Animating sprites, How to do it…, How it works…
- actions, adding to / Adding actions to sprites, How to do it…, There's more…
- spritesheets
- about / TexturePacker
- creating, TexturePacker used / TexturePacker, Getting ready, Sprites, How it works…
- sprite texture
- adding, on physics objects / Adding sprite texture to physics objects, How to do it…
- stack effect
- adding / Adding the stack effect, How it works…
- star(*) pathfinding
- using / A* pathfinding, How to do it…, How it works…
- static body
- about / How to do it…
- modifying, to dynamic body / How to do it…, How it works…
- Swift syntax
- implementing / Implementing the Swift syntax, Getting started
- variables / Variables
- operators / Operators
- arithmetic increment/decrement operations / Arithmetic increment/decrement and assignment operations
- assignment operations / Arithmetic increment/decrement and assignment operations
- control flow statements / Control flow statements
- arrays / Arrays
- dictionary / Dictionary
- functions / Functions
- classes / Classes
- inheritance / Inheritance
- access specifiers / Access specifiers
- optionals / Optionals
- swipe
- implementing / Understanding swipe, Getting started, How to do it…, There's more…
- switch statement
- about / The switch statement
T
- tap
- implementing / Implementing tap
- text
- adding, CCLabel used / Adding text using CCLabel, How to do it…, There's more…
- TexturePacker
- about / TexturePacker
- used, for creating spritesheets / TexturePacker, Getting ready, Sprites, How it works…
- URL, for downloading / TexturePacker
- settings panel / Getting ready
- touchBegan function
- used, for creating objects / Creating objects with touchBegan, How it works…, There's more…
- touch control
- impulse, applying with / Applying impulse with the touch control, How to do it…, How it works…
- touches
- including / Including touches, How it works…
- customizing, in sprite class / Customizing touches in the sprite class, How to do it…, How it works…
- touchJSON parser
- URL / Getting ready
- touchMoved function
- used, for moving objects / Moving objects with touchMoved, How it works…
- transition effects
- adding / Adding transition effects, There's more…
- tuple
- about / Returning more than one value
U
- USB debugging
- enabling, on device / Enabling USB debugging on a device, How to do it…
V
- variables
- about / Variables
- vertexHelper
- URL / Getting started
- volume slider
- adding / Adding a volume slider, How to do it…, How it works…
W
- while loop
- about / The while loop
X
- Xcode version 6.1.1
- URL / Introduction
- XML file data
- loading / Getting started, How to do it…, How it works…
- saving / Saving to the XML file data, How to do it…, How it works…