DAO (data access object), using, 294–295
data
abstracting into hierarchies, 184–185
accessing with SQL, 286–289
compressing and decompressing during runtime, 182
flow upon read request (fig.), 116
flow when reading file in Java vs. native application (fig.), 144
packets, 196
profiling, 173–178
data access object (DAO), 294–295
data caching in game databases, 295–296
data types
OpenGL vs. JOGL (table), 396
Souce floating-point-based properties, 97–98
databases
described, 273
game. See game databases
normalization, 275–276
DatagramChannel, 133
DatagramListener interface, 215
DatagramSocket, 202
DatagramSocketHandler, 217, 218
DataInputStreams, DataOutputStreams, 122
dataless keys, 277
DataOutput interface, 126
DDLs and JNI, 319
debugging scripting languages, 308
demo, Java as scripting language, 313
depth-sorted transparency, 436
Descartes, Rene, 359
DESCRIBE command (SQL), 282
design, game. See game design
detecting collisions. See collision detection
deterministic AI, 49
developer tools, mobile game, 17
devices and AL Context API, 109
devirtualization, using, 164–165
dialog boxes, 419
direct buffer functions, JNI (Java Native Interface), 334–336
Direct Byte-Buffer functions, 322
Direct Input, 342
direct vs. nondirect buffers, 135
directed acyclic graph (DAG), 444
directional light, 3D graphics, 369
DirectSound, loading audio files, 90
DirectX, 338
DirextT DirectSound3D, 110
Discoverer interface, 215
discovery, and game networking process, 210–221
disks, transferring data to application, 116–118
display
color depth, 57
heads-up. See HUD
rending to, 63–70
2D overview, 54–58
display( ) method, 405
displaying and writing to screen, 40
DisplayManager construct, 40
DisplayMode class, 58
Distance Models (JOAL), 98
doorways, 455
Doppler shift
calculating, 91
tinkering with, 107–108
doRender( ) method, 68
double buffering and rendering, 64–65
download sites
JRMS, JSDT APIs, 199
MySQL, 279
using java.nio, 237
draw( ) method, 39–40
Drawable interface, 39
drawAll( ) method, 43
drawing, rendering process (fig.), 64
drivers, JDBC, 284–285
dummy method, 318
dumps, memory, 178
duplicating
data, 117–118
files and converting characters, 123
files in Java, 144–145
files with MappedByteBuffer, 142
dynamic link libraries (DDLs) and JNI, 319
dynamic objects, 471
dynamic port numbers, 232