Skip to content

Starting Out with Games and Graphics in C++

Spend $50 to get a free DVD!

ISBN-10: 032151291X

ISBN-13: 9780321512918

Edition: 2010

Authors: Tony Gaddis

List price: $125.40
Blue ribbon 30 day, 100% satisfaction guarantee!
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!

Customers also bought

Book details

List price: $125.40
Copyright year: 2010
Publisher: Pearson Education
Publication date: 3/27/2009
Binding: Paperback
Pages: 600
Size: 7.75" wide x 9.75" long x 1.00" tall
Weight: 2.882
Language: English

Introduction to Computers and Programming
1.1
Hardware
How Computers Store Data
How a Program Works
C++ and the Dark GDK Library
Graphics Programming with C++ and the Dark GDK Library
Getting Your Feet Wet with the Dark GDK Library
The Screen Coordinate System
Basic 2D Shapes
Displaying Text
In the Spotlight: The Orion Constellation Program
The Program Development Cycle
Variables, Calculations, and Colors
Introduction
Literal Data
Variables
Calculations
In the Spotlight: Drawing Simple Bar Charts
Getting Values from Functions
Colors
In the Spotlight: Drawing the Italian Flag
Named Constants
void Functions
Modularizing a Program with Functions
Defining and Calling a void Function
Designing a Program to Use Functions
Local Variables
Passing Arguments to Functions
Global Variables and Constants
Working with Images
Introduction
Bitmaps
Images and Transparency
Control Structures
Introduction
Single-Alternative Decision Structures: The if Statement
Dual-Alternative Decision Structures: The if-else Statement
Nested Decision Structures and the if-else-if Statement
Repetition Structures: The while Loop and the do-while Loop
The Increment and Decrement Operators
Repetition Structures: The for Loop
Using the for Loop to Process Pixels in an Image
Logical Operators
The switch Statement
Numeric Truth, Flags, and bool Variables
The Game Loop and Animation
The Game Loop
Simple Animation
Controlling Objects with the Keyboard
Sprites
Cel Animation and Sprite Sheets
Sprite Collision Detection
The Vulture Trouble Game: Introducing Audio, Physics, and Text Effects
Introduction
Playing Sound Effects and Music
Simulating Falling Objects
Text Effects
The Vulture Trouble Game
Value-Returning Functions and Mouse Input
Writing a Value-Returning Function
Working with the Mouse
The Bug Zapper Game
Arrays and Tile Mapping
Array Basics
Sorting Arrays
Two-Dimensional Arrays
Tile Maps
Strings and Files
Working with Strings
Introduction to File Input and Output
Saving a Game's High Score
Object-Oriented Programming
Procedural and Object-Oriented Programming
Classes and Objects
An Object-Oriented Game: Balloon Target
Inheritance
Downloading and Installing the Required Software
The ASCII Character Set
Online
Case Study: Scones McNabb
Case Study: Object-Oriented Vulture Trouble