Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
218 Cards in this Set
- Front
- Back
What Programming Language is used in this book? |
C |
|
What is the name of the free multi-platform game library used in this book? |
Allegro |
|
What Compiler can you use to compile the programs in this book? |
All of the above` |
|
Which operating system does Allegro support? |
All of the above |
|
Which of the following is a popular strategy game for the PC? |
Civilization IV |
|
What is the most important factor to consider when working on a game? |
Gameplay |
|
What is the name of the free open source IDE/compiler included on the CD-ROM |
Dev-C++ |
|
What is the name of the most popular game development library in the world? |
DirectX |
|
Which of the following books discusses the gaming culture of the late 1980's and early 1990's with strong emphasis on the exploits of ID Software |
Masters of Doom |
|
What version of Allegro are we using here? |
4.2 |
|
GNU is an acronym for for which of the following phrases? |
GNU is Not Unix |
|
What is the primary website for Dev-C++ |
http://www.bloodshed.net |
|
What is the name of the compiler used by Dev-Pascal? |
GNU Pascal |
|
What version of Dev-C++ are we using in this book? |
5.0 |
|
Which version of Visual C++ are we focusing on primarily in the book? |
7.1 (2003) |
|
What distinctive features of Dev-C++ sets it apart from commercial development tools? |
All of the above |
|
What is the name of the game programming library featured in this chapter? |
Allegro |
|
What function must be called before you use the Allegro library? |
allegro_init() |
|
What statement must be included at the end of main() in an allegro program? |
END_OF_MAIN() |
|
What is the term used to describe line-based graphics? |
Vector |
|
What does CRT stand for? |
Cathode Ray Tube |
|
What describes a function that draws a simple geometric shape, such as a point, line, rectangle or circle? |
Graphics Primitive |
|
How many polygons does the typical 3D accelerator chip process at a time? |
1 |
|
What is comprised of three small streams of electrons of varying shades of red, green and blue? |
Pixel |
|
What function is used to create a custom 24 or 32 bit colour? |
makecol |
|
what function is used to draw filled rectangles? |
rectfill |
|
Which of the following is the correct definition of the circle function? |
void circle(BITMAP *bmp, int x, int y, int radius, int color) |
|
what function draws a set of curves based on a set of four input points stored in an array |
spline |
|
what text output function draws a formatted string with justification? |
textprint_justify |
|
What is the primary graphics drawing function used to draw the tanks in Tank War? |
rectfill |
|
What function in Tank War sets up a bullet to fire it in the direction of the tank |
fireweapon |
|
what function in tank war updates the position and draws each projectile |
updatebullet |
|
What is the name of the organisation that produced GCC? |
Free Software Foundation |
|
How many players are supported by tank war at the same time? |
2 |
|
what is the technical terminology for handling two objects that crash in the game? |
collision detection |
|
what function in tank war keeps the tanks from colliding with other objects |
clearpath |
|
which function in tank war helps to find out weather a point on the screen is black? |
getpixel |
|
What is the standard constant used to run Allegro in windowed mode? |
GFX_AUTODETECT_WINDOWED |
|
What function in Allegro is used to slow down the game? |
rest |
|
Which function is used to initialize the keyboard handler? |
install_keyboard |
|
What does ANSI stand for |
American National Standards Institute |
|
What is the name of the array containing keyboard scan codes? |
key |
|
Where is the real stargate located? |
colorado springs, colorado |
|
Which finction provides buffered keyboard input? |
readkey |
|
which function is used to initialize the mouse handler? |
install_mouse |
|
which values or functions are used to read the mouse positions? |
mouse_x and mouse_y |
|
which function is used to read the mouse x and y mickeys for relative motions? |
get_mouse_mickeys |
|
what is the name of the main JOYSTICK_INFO array? |
joy |
|
which struct contains joystick button data? |
JOYSTICK_BUTTON_INFO |
|
what is the name of the function that initializes the Allegro Sounds system? |
install_sound |
|
which function can you use to play a sound effect in your own games? |
play_sample |
|
what is the name of the function that specifically loads a RIFF WAS file |
load_wav |
|
which function can be used to change the frequency, volume, panning and looping properties of a sample? |
adjust_sample |
|
what function would you use to shut down the Allegro Sound system |
remove_sound |
|
which function provides the ability to change the overall volume of sound output? |
set_volume |
|
what is the name of the function used to stop playback of a sample? |
stop_sample |
|
within what range must a panning volume remain? |
0-255 |
|
what parameter should you pass install_sound to initialize standard digital sound driver? |
DIGI_AUTODETECT |
|
what is the name of the function that plays a sample through the sound mixer? |
play_sample |
|
What does "blit" stand for |
bit-block transfer |
|
what is DHD |
Dial Home device |
|
how many pixels in an 800 X 800 |
480000 |
|
what is the name of an object used to hold a bitmap in memory? |
BITMAP |
|
allegrorically speaking, why is it important to destroy bitmaps after you're done using them |
because the trash will pie up over time |
|
which allegro function has the potential to create a black hole if used improperly? |
aquire_bitmap |
|
what type of graphics files are supported by allegro |
BMP, PCX, LBM, TGA |
|
what function is used to draw a scaled bitmap? |
strectch_blit |
|
why would you want to lock the screen while drawing on it? |
if it's not locked, allegro will lock and unlock the screen for every draw |
|
what is the name of the game you've been developing in the book? |
tank war |
|
what is the term given to a small image that is moved around on the screen? |
sprite |
|
what function draws a sprite? |
draw_sprite |
|
what is the term for drawing all but a certain colour of pixel from one bitmap to another |
transparency |
|
what function draws a scaled sprite? |
stretch_sprite |
|
which function draws a vertically flipped sprite? |
draw_sprite_v_flip |
|
what function draws a rotated sprite? |
rotate_sprite |
|
which function draws a sprite with both rotation and scaling |
rotate_scaled_sprite |
|
what function draws a pivoted sprite? |
pivot_sprite |
|
which function draws a pivoted sprite with scaling and vertical flip |
pivot_scaled_sprite_v_flip |
|
which function draws a sprite with translucency (alpha blending?) |
draw_trans_sprite |
|
what function draws a standard sprite? |
draw_sprite |
|
what is a frame in context of sprite animation? |
a single image in the animation sequence |
|
what is the purpose of a sprite handler? |
to provide a consistent way to animate and manipulate many sprites on the screen |
|
what is a struct element? |
a variable in a structure |
|
which term describes a single frame of an animation sequence stored in an image file? |
Tile |
|
which allegro function is used frequently to erase a sprite? |
rectfill |
|
which term describes a reusable activity for a sprite that is important in a game? |
behaviour |
|
what is the name of the new function that draws an animation frame to screen? |
drawframe |
|
which term best describes an image filled with rows and columns of small sprite images? |
sprite sheet |
|
how does a sprite struct improve the source code of a game? |
reduces global variable use |
|
What function will convert a normal bitmap in memory into a compressed RLE sprite? |
get_rle_sprite |
|
What function will draw a compressed RLE sprite? |
draw_rle_sprite |
|
What function converts a normal bitmap into a compiled sprite? |
get_compiled_sprite |
|
what is the name of the function presented in this chapter for performing bounding-rectangle collision testing? |
collided |
|
what is the name of the function in the sprite class presented in this chapter that draws a single frame of an animation sequence? |
drawframe |
|
what is the name of the function that calculates angular velocity for x? |
calcAngleMoveX |
|
what mathmatical function is called on to calculate angular velocity for y? |
sine |
|
which function converts a normal sprite into a run-length encoded sprite? |
get_rle_sprite |
|
which function draws a compiled sprite to a destination bitmap |
draw_compiled_sprite |
|
what is the easiest (and most efficient) way to detect sprite collisions? |
Bounding rectangle intersection |
|
Why is it important to use a timer in a game? |
to maintain a constant framerate |
|
Which allegro timer function slows down the program using a callback function? |
rest_callback |
|
what is the name of the function used to initialize the allegro timer? |
install_timer |
|
what is the name of the function that creates a new interrupt handler? |
install_int |
|
what variable declaration keyword should be used with interrupt variables |
volatile |
|
What function must you call during program startup to initialize the timer system? |
install_timer |
|
what is the name of the function that provides a callback function for slowing down the program? |
rest_callback |
|
which function should you use to slow down the game, causing the program to pause for a certain number of milliseconds? |
rest |
|
what function must you call to prepare a variable for use within an interrupt callback routine? |
LOCK_VARIABLE |
|
what function must you call to prepare a function for use as an interrupt callback? |
LOCK_FUNCTION |
|
Does allegro provide support for background scrolling |
yes, but the functionality is obsolete |
|
What does a scroll window show? |
a small part of a larger game world |
|
Which of the programs in this chapter demonstrated bitmap scrolling for the first time? |
ScrollScreen |
|
Why should a scrolling background be designed? |
to achieve the goals of the game |
|
Which process uses an array of images to construct background as it is displayed? |
tiling |
|
what is the best way to create a tile map of the game world? |
by using a map editor |
|
what type of object compromises a typical tile map? |
Numbers |
|
What was the size of the virtual background in the gameworld program? |
800x800 |
|
how many virtual backgrounds are used in the new versions of tank war? |
1 |
|
how many scrolling windows are used in the new tank war? |
2 |
|
what is the home site for Mappy |
http://www.tilemap.co.uk |
|
what kind of information is stored in a map file? |
data that represent the tiles comprising the game world |
|
what name is given to the graphic images that make up a Mappy level? |
tiles |
|
what is the default extension of a Mappy file? |
FMP |
|
where does Mappy store the saved tile images? |
inside the map file |
|
what is one example of a retail game that uses Mappy levels? |
hyperspace delivery boy |
|
what is the recommended format for an exported Mappy level? |
text map data |
|
which macro in Mappy files a map with a specified tile? |
solid rectangle |
|
how much does a licensed copy of mappy cost? |
free |
|
what scripting language does Mappy support? |
LUA |
|
What is the name of the map editor we've been using in this chapter? |
Mappy |
|
What is the name of the function used to load a level/map file? |
MapLoad |
|
What is the name of the helper library used in this chapter to load game levels/maps? |
MappyAL |
|
What function would you use to draw the foreground layer of a map? |
MapDrawFG |
|
What is the name of the global variable containing the width of a tile map? |
mapwidth |
|
What function is used to draw the background layer of a map? |
MapDrawBG |
|
What function returns the tile number at a specified x, y position on the map? |
MapGetBlockID |
|
What is the name of the global variable containing the height value of tiles contained in the map file that has been loaded? |
mapblockheight |
|
what function should you call before ending the program to free the memory used by map data? |
MappFreeMem |
|
Which MappyAL library function loads a Mappy file? |
MapLoad |
|
In which game genre does the vertical shooter belong? |
Shoot-em-up |
|
What is the name of the support library used as the vertical scroller engine? |
MappyAL |
|
what are the virtual pixel dimensions of the levels in Warbirds Pacifica? |
640x48000 |
|
what us the name of the level-editing program used to create the first level of Warbirds Pacifica? |
Mappy |
|
how many tiles comprise a level in warbirds pacifica? |
30000 |
|
which of the following games is a vertical scrolling shooter? |
Mars Matrix |
|
who created the artwork featured in this chapter |
ari feldman |
|
which mappyAL function loads a map file? |
MapLoad |
|
which mappy AL function removes a map from memory? |
MapFreeMemw |
|
which classic arcade game inspired warbirds pacifica? |
1942 |
|
which term is often used to describe a horizontal-scrolling game with a walking character? |
platform |
|
what is the name of the map-editing tool you have used in the last several chapters? |
Mappy |
|
What is the identifier for the Mappy block property representing the first foreground layer |
FGI |
|
which dialog box allows the editing of tile properties in Mappy? |
block Properties |
|
which menu item brings up the range alter block properties dialog? |
range edit blocks |
|
what is the name of the MappyAL struct that contains information in tile blocks? |
BLKSTR |
|
what MappyAL function returns a pointer to a block specified by the (x,y) parameters? |
MapGetBlock |
|
what is the name of the function that draws the map's background? |
MapDrawBG |
|
which MappyAL block struct member was used to detect collisions in the sample program? |
t1 |
|
what is the best way to get started creating a new game? |
play other games to engender some inspiration |
|
What types of games are full of creativity and interesting technology that PC gamers often fail to notice? |
Console games |
|
what phrase best describes the additional features and extras in a game? |
bells and whistles |
|
what is the most complicated core component of a game, also called the graphics renderer? |
the game engine |
|
that is the name of an initial demonstration of a game that presents the basic game play elements before the actual game has been completed? |
prototype |
|
what is the name of the document that contains the blueprints for a game? |
Design Document |
|
What are the two types of game designs presented in this chapter? |
mini and complete |
|
what does NPC stand for? |
non-player character |
|
what are the chances of a newcomer finding a job as a full-time game programmer or designer? |
negligible |
|
what is the most important aspect of game development? |
Design |
|
what is the shorthand term for an allegro data file? |
datfile |
|
what compression algorithm does allegro use for compressed data files? |
LZSS |
|
what is the command-line program that is used to manage allegro data files? |
dat.exe |
|
what is the allegro data file object struct called? |
DATAFILE |
|
what function is used to load a data file into memory? |
load_datafile |
|
what is the data type format shortcut string for bitmap file? |
BMP |
|
what is the data type constant wave files, defined by allegro for use in reading data files? |
DAT_SAMPLE |
|
what is dat option to specify the type of file being added to the data file? |
-t <type> |
|
what function loads an individual object from a data file? |
load_datafile_object |
|
what is the dat option to specify colour depth of a bitmap file being added to the data file? |
-bpp <depth> |
|
which company developed the FLI/FLC file format? |
autodesk |
|
which product first used the FLI format? |
animator |
|
which product premiered the more advanced FLC format? |
animator pro |
|
what is the common acronym used to describe both FLI and FLC file? |
FLIC |
|
which function plays an FLIC file directly? |
play_fli |
|
how many FLIC files can be played back at a time by allegro |
1 |
|
which function loads a FLIC file for low-level playback |
open_fli |
|
which function moves the animation to the next frame in an FLIC file |
next_fli_frame |
|
what is the name of the variable used to set the timing of FLIC playback? |
fli_timer |
|
what is the name of the variable that contains the bitmap of the current FLIC frame? |
fli_bitmap |
|
which of the following is not one of the thee deterministic algorithms covered in this chapter? |
conditions |
|
can fuzzy matrices be used without multiplying the input memberships? why or why not? |
no, it is absolutely necessary to multiply the input memberships |
|
which type of system solves problems that are usually solved by specialized humans? |
expert system |
|
which type of intelligence system is based on an expert system, but is capable of determining fractions of complete answers? |
fuzzy logic |
|
which type of intelligence system uses a method of computing solutions for hereditary logic problem? |
genetic algorithm |
|
which type of intelligence system solves problems by limiting the workings of a brain? |
neural network |
|
which of the following uses predetermined behaviours of objects in relation to the universe problem? |
deterministic algorithm |
|
which type of deterministic algorithm fakes intelligence? |
random motion |
|
which types of deterministic algorithm will cause one object to follow another? |
tracking |
|
which types of deterministic algorithm follows preset templates |
patterns |
|
what library did we use in this chapter to work with multi-threading? |
pthread |
|
which company maintains the multi-threading library for windows systems used in this chapter? |
red hat |
|
which function will terminate a thread? |
pthread_exit |
|
what type of parameter does a thread callback function require? |
void *data |
|
what is the most common method of keeping a thread running inside a thread callback function |
while loop |
|
what is a process that runs within the memory space of a single program but is executed separately from that program? |
Thread |
|
what helps protect data by locking it inside a single thread, preventing that data from being used by another thread until it is unlocked? |
Mutex |
|
what does pthread stand for? |
POSIX Thread |
|
what is the name of the function used to create a new thread? |
pthread_create |
|
what is the name of the function that locks a mutex? |
pthread_mutex_lock |
|
what is the first step you must take before attempting to get your game published? |
evaluate the game |
|
what is the most important question to consider in a game before seeking a publisher? |
is it graphically attractive? |
|
what is the second most important aspect of a game? |
Sound |
|
what, is an important factor of gameplay in the sense of the beginning middle and ending that must be considered? |
continuity |
|
what adjective best describes a best-selling game? |
addictive |
|
what is an NDA? |
Non-Disclosure Agreement |
|
What is a software bug? |
an error in the source code |
|
what term describes a significant date in the development process? |
milestone |
|
who created the game smugglers 2? |
niels bauer |
|
for whom should you create a game for the purpose of entertainment? |
yourself |