B

background.png, 231 ballPos, 369 ballVelocity, 369 ballVertices, 369

batcher.beginBatch( ) method, 419 batcher.endBatch( ) method, 419 batches, and sprites, 412-421 Battery Powered Games, 53 beginBatch( ) method, 415 bin/ directory, 34, 37, 625 bind( ) method, 492, 543 binding vertices, 345-349 Bitmap class, 166, 169, 214, 225, 550 bitmap fonts, handling text with,

437-439 Bitmap instance, creating virtual framebuffer, 214 Bitmap.Config file, 173 Bitmap.drawBitmap( ) method, 213 BitmapFactory, 218, 237 BitmapFactory.decodeStream( )

method, 170 BitmapFactory.Options class, 170 Bitmap.recycle( ) method, 174, 309 bitmaps, 169-174 disposing of, 170 drawing, 170-171 loading and examining, 169-170 test activity, 171-174 uploading, texture mapping, 306-307 bitten.ogg sound, 263

blending alpha, 321-325 of graphics, 87-91 z-buffers, 500-503 BlendingScreen implementation, 323 Bob class, 329-330, 465-467 Bob instance, 332 bobargb8888.png file, 323 BOB_HEIGHT, 484 Bob.hitPlatform( ) method, 473 BOB_JUMP_VELOCITY, 466-467 bob.png file, 170 bobRegion TextureRegion, 412 bobrgb888.png file, 323 BobScreen class, 331, 339 BobScreen.present( ) method, 337, 339 BobScreen.resume( ) method, 342 BOB_STATE_FALLING, 466 BOB_STATE_HIT state, 466, 472-473 BOB_STATE_JUMPING, 466 BobTest example, 420, 505, 508 Bob.update( ) method, 471 bounding shapes in 2D programming constructing, 375-377 overview, 373-375 in 3D programming, 572-573 spheres, overlap testing, 573-574 Bounding Sphere, 573 Breakpoints view, 45 broad phase collision detection, 384-385

Broadcast receivers, manifest file, 104

bufferIndex, 414-416

Build scripts, 11

button.png, 558

Button's text, 37

buttons.png, 231

ByteBuffer.allocateDirect( ) method, 300 ByteBuffers, 293, 300, 316, 420-421, 477, 486

0 0

Post a comment