P

package attribute, 105, 107 Paint class, 165, 168, 175 Paint.setARGB( ) method, 165 Parallel projection, 272 PATH environment variable, 26 pause( ) method, 155, 222, 240, 267,

449, 454, 456, 561, 616 Pause state, 71 paused( ) method, 267 Paused state, 120, 616 pause.png, 231 performance measuring, SpriteBatcher method,

419-420 optimizing for, 338-349 binding vertices, 345-349 limitations with using NIO buffers,

339-340 measuring frame rate, 338-339

reducing calls to OpenGL ES/JNI

methods, 344-345 reducing texture size, 343-344 removing unnecessary state changes, 341-343 slow rendering, 340-341 perspective concept, 31 perspective projection, 272, 495-498 PerspectiveScreen, 497 PerspectiveTest method, 497 Persson, Markus, 640 physics, 365-372

3D programming, 571-572 examples practical, 368-372 theoretical, 367-368 force and mass, 366-367 numerical Euler integration, 365-366 pixels and graphics, 80-82 overview, 165 Pixmap interface, Graphics interface and, 209-223 FastRenderView class, 220-223 handling different screen sizes and resolutions, 210-215 Pixmap parameter, 219 Pixmap reference, 444 Pixmap.dispose( ) method, 93 PixmapFormat, 216, 218 Pixmap.getFormat( ) method, 93 Pixmap.getHeight( ) method, 93 Pixmap.getWidth( ) method, 93 Pixmaps, 233, 237, 240, 265 placeStain( ) method, 258-259 Platform class, 463-464 Platform instance, 464 PlatformAddress instances, 340 PLATFORM_PULVERIZE_TIME

constant, 471, 473 Platforms member, 468 PLATFORM_STATE_NORMAL

constant, 463-464 PLATFORM_STATE_PULVERIZING constant, 463-464, 471

PLATFORM_TYPE_MOVING constant, 463

PLATFORM_TYPE_STATIC constant, 463

Play button, 65 play( ) method, 80, 189, 191 Play option, 580 playback, of audio, 76-77 point lights, 536-537 pointer IDs, 132-133 PointLight class, 539, 545, 558 points, OpenGL ES standard, 325-326 Polling modi operandi, 72 Pool class, 194-196 PoolObjectFactory interface, 195-196, 198

PoolObjectFactory.newObject( )

method, 195 Position, 293, 352 PowerManager.newWakeLock( )

method, 158 precision, and z-fighting, 503-504 present( ) method, 227, 246, 298, 345,

454, 459, 501, 521, 561, 610 presentGameOver( ) method, 482, 616 presentLevelEnd( ) method, 481 presentPaused( ) method, 481, 615 presentRunning( ) method, 481, 616 pressedKey array, 199 primitives, OpenGL ES standard,

325-326 Project option, New menu, 32 projection matrix, defining, 289-292 code snippet, 292 matrix modes and active matrices, 289

orthographic projection with glOrthof method, 289-292 projection plane, 272 projections overview, 272-275 perspective, 495-498 Publish button, 634 publishing, 625-636

Android Market, 631-634 Listing Details section, 633

marketing, 634 Publishing Options panel,

633-634 publishing page, 634 uploading assets, 632-633 becoming registered developer,

626-627 developer console, 634-636 signing APK file, 627-631 testing, 625-626 Publishing Options panel, 633-634 publishing page, 634 pulverize( ) method, 464 put( ) method, 294, 300 puzzle games, 54-55

0 0

Post a comment