Index
A
- assets, Concentration game
- about / Making assets react to clicks and touches
- title, picking as initial attempt / Picking a tile as an initial attempt
- assets folder / Preloading and adding images
- asteroids, Helicopter game
- adding / Adding asteroids
- versus spaceship collision / Asteroid versus spaceship collision
- Audacity
- URL / Choosing sounds
B
- background color
- backtracking / Backtracking
- board
- creating / Creating the board
- Box2D
- URL / Before you start
- about / Before you start
- Box2D engine
- adding, to project / Adding the Box2D engine to your project
- collisions among bodies, checking / Checking for collisions among bodies
- Box2D world
- body, adding / Adding bodies to the world
C
- cart
- controlling, with ghost buttons / Controlling the cart with ghost buttons
- controlling, virtual pad used / Controlling the cart with a virtual pad
- controlling, with finger / Controlling the cart just with your finger
- cc.MenuItemFont.create function / Creating a sound menu
- Chipmunk2D engine
- adding / Adding the Chipmunk2D engine to your project
- physics game / A physics game, without physics
- collisions among bodies, checking / Checking for collisions among bodies
- Chipmunk2D space
- bodies, adding to / Adding bodies to the space
- updating / Updating Chipmunk2D space and using debug draw
- CocoonJS
- Cocos2d-JS
- about / What Cocos2d-JS is and how it works
- working / What Cocos2d-JS is and how it works
- requisites / Requirements to run Cocos2d-JS
- Cocos Code IDE / Requirements to run Cocos2d-JS
- URL / Requirements to run Cocos2d-JS, Staying up-to-date
- project structure / The structure of your Cocos2d-JS project
- sounds / Choosing sounds
- Cocos2D proprietary JSB API
- Cocosban game
- graphic assets, loading / Loading graphic assets
- sprite sheets / Loading graphic assets
- texture atlases / Loading graphic assets
- TexturePacker / Loading graphic assets
- level, building / Building a level
- swipes, detecting / Detecting swipes
- finishing / Completing the game
- Cocos Code IDE
- code
- protecting / Protect your code
- Concentration game
- multiple instances, creating / Creating multiple instances of game assets
- gradient background, adding / Adding a gradient background
- Sprite class, extending / Extending the Sprite class beyond its capabilities
- Sprite class, extending beyond capabilities / Extending the Sprite class beyond its capabilities
- constraint solver / Configuring the physics world
- CreateBody method / Adding bodies to the world
- createLevel function / Creating the board
- cross platform games
- CSS sprites / Loading graphic assets
D
- debug draw
- drawing API
E
- endless scrolling background, Helicopter game
F
- FGL
- URL / Licensing your game
- first globe
- selecting / Selecting and deselecting the first globe
- deselecting / Selecting and deselecting the first globe
G
- gameThrust variable / Controlling the spaceship
- ghost buttons
- used, for controlling cart / Controlling the cart with ghost buttons
- globez
- removing / Removing globez
- fall down activity / Making the globez fall down
- creating / Creating new globez
- globez chains
- creating / Making globez chains
- Google Chrome / Requirements to run Cocos2d-JS
- gradient background, Concentration game
- adding / Adding a gradient background
- graphic assets
- using / Using your own graphic assets
- graphic assets, Cocosban game
- loading / Loading graphic assets
- graphic resources, Helicopter game
- loading / Loading and placing graphic resources
- placing / Loading and placing graphic resources
H
- Helicopter game
- graphic resources, loading / Loading and placing graphic resources
- graphic resources, placing / Loading and placing graphic resources
- endless scrolling background, adding / Adding an endless scrolling background
- spaceship, adding / Adding the spaceship
- spaceship, controlling / Controlling the spaceship
- asteroids, adding / Adding asteroids
- asteroid, versus spaceship collision / Asteroid versus spaceship collision
- invulnerability feature / Invulnerability
- spaceship, preventing to fly off screen / Preventing the spaceship from flying off the screen
- particles, adding / Adding particles
- Hello Cross-World
- about / Hello Cross-World
- debugMode / Hello Cross-World
- showFPS / Hello Cross-World
- frameRate / Hello Cross-World
- id / Hello Cross-World
- engineDir / Hello Cross-World
- modules / Hello Cross-World
- jsList / Hello Cross-World
- HTML5GameDevs
- about / Staying up-to-date
I
- images
- adding / Preloading and adding images
- preloading / Preloading and adding images
- removing / Removing images and changing the background color
- infinity / Adding bodies to the space
J
- Javascript Obfuscator
- URL / Protect your code
- JavaScript Object Notation (JSON) / The structure of your Cocos2d-JS project
- JScrambler
- URL / Protect your code
K
- Kongregate
- URL / Publishing your game
- about / Publishing your game
L
- landscape game, virtual pads
- creating / First things first – the game
- update function, conditions / First things first – the game
- level, Cocosban game
- building / Building a level
- cratesArray / Building a level
- playerPosition / Building a level
- playerSprite / Building a level
M
- MAMP
- Match 3 game
- setting up / Setting up the game
- board, creating / Creating the board
- first globe, selecting / Selecting and deselecting the first globe
- first globe, deselecting / Selecting and deselecting the first globe
- globez chains, creating / Making globez chains
- backtracking / Backtracking
- globez, removing / Removing globez
- globez fall down activity / Making the globez fall down
- globez, creating / Creating new globez
- drawing API, using for visual feedback / Bonus – using the drawing API for a visual feedback
- porting, on mobile devices as native app / Port your game on mobile devices as a native app
- publishing / Publishing your game
- licensing / Licensing your game
- updating / Staying up-to-date
- multiple instances, Concentration game
- creating / Creating multiple instances of game assets
- music
- effects, managing / Managing music and sound effects
N
- Newgrounds
- URL / Publishing your game
- about / Publishing your game
O
- onTouchBegan event / Controlling the cart with a virtual pad
- onTouchBegan function / Detecting swipes
- onTouchEnded event / Controlling the cart with a virtual pad
- onTouchMoved event / Controlling the cart with a virtual pad
P
- particles, Helicopter game
- adding / Adding particles
- designer, URL / Adding particles
- PhoneGap
- physics space
- configuring / Configuring the physics space
- physics world
- configuring / Configuring the physics world
- picture, Concentration game
- displaying / Showing the tile picture
- project structure, Cocos2d-JS
- about / The structure of your Cocos2d-JS project
- cocos2d-html5 / The structure of your Cocos2d-JS project
- index.html / The structure of your Cocos2d-JS project
- main.js / The structure of your Cocos2d-JS project
- project.json / The structure of your Cocos2d-JS project
- PSPad
- Pythagorean Theorem / Making globez chains
R
- RGBA (Red, Green, Blue, Alpha) format / Adding a gradient background
S
- score, Concentration game
- SetAsBox method / Adding bodies to the world
- sounds
- selecting / Choosing sounds
- preloading / Preloading sounds
- menu, creating / Creating a sound menu
- Menu.create function / Creating a sound menu
- effects, managing / Managing music and sound effects
- getMusicVolume method / Managing music and sound effects
- setMusicVolume method / Managing music and sound effects
- space bodies, Chipmunk2D engine
- destroying / Selecting and destroying space bodies
- selecting / Selecting and destroying space bodies
- spaceship, Helicopter game
- adding / Adding the spaceship
- controlling / Controlling the spaceship
- preventing, to fly off screen / Preventing the spaceship from flying off the screen
- spaceship collision, Helicopter game
- versus asteroids / Asteroid versus spaceship collision
- Sprite class, Concentration game
- sprite images, Concentration game
- changing / Changing sprite images on the fly
- sprites position
- swipes, Cocosban game
- detecting / Detecting swipes
T
- texture atlases / Loading graphic assets
- TexturePacker
- URL / Loading graphic assets
- TextWrangler
- tiles, Concentration game
- picking, as initial attempt / Picking a tile as an initial attempt
- shuffling / Shuffling the tiles and adding the score
- Totem Destroyer
V
- virtual pads
- about / Overview of virtual pads
- landscape game, creating / First things first – the game
- cart controlling, ghost buttons used / Controlling the cart with ghost buttons
- used, for controlling cart / Controlling the cart with a virtual pad
- onTouchBegan event / Controlling the cart with a virtual pad
- onTouchMoved event / Controlling the cart with a virtual pad
- onTouchEnded event / Controlling the cart with a virtual pad
- cart controlling, with fingers / Controlling the cart just with your finger
W
- WAMP
- world bodies, Box2D engine
- destroying / Selecting and destroying world bodies
- selecting / Selecting and destroying world bodies