Introduction to Game Programming in C++ by Alan ThornIntroduction to Game Programming in C++ by Alan Thorn

Introduction to Game Programming in C++

byAlan Thorn

Paperback | May 29, 2007

Pricing and Purchase Info


Earn 298 plum® points

Prices and offers may vary in store


In stock online

Ships free on orders over $25

Not available in stores


Introduction to Game Programming with C++ explores the world of game development with a focus on C++. This book begins with an explanation of the basics of mathematics as it relates to game programming, covers the fundamentals of C++, and describes a number of algorithms commonly used in games. In addition, it discusses several libraries that can help you manage graphics, add audio, and create installation software so you can get started on the path to making both 2D and 3D games.
Alan Thorn is a London-based game developer, freelance programmer, and author with more than 13 years of industry experience. He founded the game studio Wax Lyrical Games in 2010 and is the creator of the award-winning game Baron Wittard: Nemesis of Ragnarok. He is the author of ten video training courses and thirteen books on game dev...
Title:Introduction to Game Programming in C++Format:PaperbackDimensions:367 pages, 9 × 6 × 0.75 inPublished:May 29, 2007Publisher:Jones & Bartlett LearningLanguage:English

The following ISBNs are associated with this title:

ISBN - 10:1598220322

ISBN - 13:9781598220322


Table of Contents

AcknowledgmentsIntroductionMathematics - The Language of NumbersNumber Systems Decimal System (Base 10) Arithmetic Addition Subtraction Multiplication Division Number Parts Dividing into Parts and Several Parts Special Numbers Ratio Ratio and Proportion Corresponding Proportion or Alternate Proportion Ratios and Common MultipliersRatios and Common DivisorsInverse ProportionSolving Problems with RatiosDiscrete and Continuous SetsFractions - Incomplete MeasureUnit and Reciprocal FractionsFractions and Whole NumbersComplementsEquivalentsComparing FractionsAdding and Subtracting Fractions Multiplying and Dividing Fractions Decimal Notation - Damn Those Dots Converting Vulgar Fractions to Decimals Percentage As Ratio Percent as Fractions Percent Of Conclusion Algebra What Is Algebra? Rules of Algebra Parentheses Multiplication and Factors Distributive Multiplication Division and Multiplication Multiplication Notation Indices or Exponents Directed Numbers Addition with Negatives Subtraction with Negatives Multiplication with Negatives Division with Negatives Algebraic Expressions Coefficients Like Terms Collect Like Terms Linear Equations Rearranging Equations Balancing Equations Balancing Methods Simplification Inequalities Expressing Inequalities Compound InequalitiesChained/Continued InequalitiesSolving InequalitiesSimultaneous Linear Equations Solving by Substitution Solving by Elimination Conclusion The Pictures of Mathematics 1D Coordinates 2D Coordinates 3D Coordinates Primitives and Properties of Space Vertices Lines and Line Segments RayAnglePerpendicularAngle Types Parallel Polygons and Shapes Triangles Squares Area and Perimeter Square Numbers and Square Roots Right Triangles and the Pythagorean Theorem Right Triangles and Angles Sides, Angles, and Ratios Angle and Side Correspondence Side LengthsCo FunctionsArea of a Triangle The Circle Chords Central and Inscribed Angles Length of a Chord Pi ([pi]) Radians Equations of Lines X and Y Intercept Gradients (Slopes) Slope Intercept Equation Vectors Vector Magnitude Unit Vector Conclusion C++ and ProgrammingProgramming C++ as a Language C++ IDE Microsoft Visual Studio.NET Code: Blocks Dev C++ Using an IDE Projects Starting a New Visual C++ Project Starting a New Code::Blocks Project Starting a New Dev C++ ProjectProject TypesCoding Compiling Compiling on Visual Studio Compiling on Code::Blocks Compiling on Dev C++ Executing Executing on Visual Studio Executing on Code::Blocks Executing on Dev C++ Debugging Debugging on Visual Studio .NET Debugging on Code::Blocks Debugging on Dev C++ Opening and Saving Projects Conclusion The Basics of C++The First Program Comments Preprocessor Directives Functions Printing Text Conclusion Variables, Constants, and Arrays Constants Variables Data and Information Data in Memory Constants and Variables in MemoryData Types1Integers1Floats1Boolean1CharConstants in C++Variables in C++Arithmetic OperatorsOutputting ResultsData and ArraysArray DefinitionArray DeclarationArray UsageTwo-dimensional ArraysShorthand OperationsConclusionControlling Program FlowHandling InputMaking DecisionsConditional OperatorsConditional StatementsIf Statement1Using If1If Else StatementUsing If ElseLogical OperatorsIf Else Statements and Logical OperatorsMultiple ChoiceSwitch-Case StatementLoops and RepetitionFor LoopUsing