ptg11524036
ptg11524036
Game Programming
Algorithms and
Techniques
ptg11524036
This page intentionally left blank
ptg11524036
Upper Saddle River, NJ • Boston • Indianapolis • San Francisco
New York • Toronto • Montreal • London • Munich • Paris • Madrid
Capetown • Sydney • Tokyo • Singapore • Mexico City
Game Programming
Algorithms and
Techniques
A Platform-Agnostic Approach
Sanjay Madhav
ptg11524036
Many of the designations used by manufacturers and sellers to distinguish their
products are claimed as trademarks. Where those designations appear in this book,
and the publisher was aware of a trademark claim, the designations have been
printed with initial capital letters or in all capitals.
The author and publisher have taken care in the preparation of this book, but make
no expressed or implied warranty of any kind and assume no responsibility for errors
or omissions. No liability is assumed for incidental or consequential damages in
connection with or arising out of the use of the information or programs contained
herein.
For information about buying this title in bulk quantities, or for special sales
opportunities (which may include electronic versions; custom cover designs; and
content particular to your business, training goals, marketing focus, or branding
interests), please contact our corporate sales department at corpsales@pearsoned.
com or (800) 382-3419.
For government sales inquiries, please contact governmentsales@pearsoned.com.
For questions about sales outside the U.S., please contact international@pearsoned.
com.
Visit us on the Web: informit.com/aw
Library of Congress Control Number: 2013950628
Copyright © 2014 Pearson Education, Inc.
All rights reserved. Printed in the United States of America. This publication is
protected by copyright, and permission must be obtained from the publisher prior
to any prohibited reproduction, storage in a retrieval system, or transmission in any
form or by any means, electronic, mechanical, photocopying, recording, or likewise.
To obtain permission to use material from this work, please submit a written request
to Pearson Education, Inc., Permissions Department, One Lake Street, Upper Saddle
River, New Jersey 07458, or you may fax your request to (201) 236-3290.
Screenshot from Jetpack Joyride ©2011 Halfbrick Studios. Used with permission.
Screenshot from Jazz Jackrabbit 2 ©1998 Epic Games, Inc. Used with permission.
Screenshot from Quadrilateral Cowboy ©2013 Blendo Games LLC. Used with
permission.
Screenshot from Skulls of the Shogun ©2013 17-BIT. Used with permission.
Screenshot from Unreal Engine 3 ©2005 Epic Games, Inc. Used with permission.
Screenshot from Unreal Tournament 3 ©2007 Epic Games, Inc. Used with permission.
Screenshots from Microsoft® Visual Studio® 2010 ©2010 Microsoft. Used with
permission from Microsoft.
Image in Figure 2-10 courtesy of © denis_pc/fotolia.
Images in Figures 4-4, 8-5, and 8-6 courtesy of © York/fotolia.
ISBN-13: 978-0-321-94015-5
ISBN-10: 0-321-94015-6
Text printed in the United States on recycled paper at R.R. Donnelley in
Crawfordsville, IN. First printing: December 2013
Editor-in-Chief
Mark Taub
E x e c u t i v e E d i t o r
Laura Lewin
D e v e l o p m e n t E d i t o r
Chris Zahn
M a n a g i n g E d i t o r
Kristy Hart
P r o j e c t E d i t o r
Elaine Wiley
C o p y E d i t o r
Bart Reed
Indexer
WordWise Publishing Services
Proofreader
Jess DeGabriele
Technical Reviewers
Alexander Boczar
Dustin Darcy
Jeff Wofford
Editorial Assistant
Olivia Basegio
C o v e r D e s i g n e r
Chuti Prasersith
C o m p o s i t o r
Nonie Ratcliff
G r a p h i c s
Laura Robbins
评论6
最新资源