Microsoft XNA 4.0
Game Development
Cookbook
Over 35 intermediate-advanced recipes for taking
your XNA development arsenal further
Luke Drumm
BIRMINGHAM - MUMBAI
Microsoft XNA 4.0 Game Development
Cookbook
Copyright © 2012 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system,
or transmitted in any form or by any means, without the prior written permission of the
publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the
information presented. However, the information contained in this book is sold without
warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers
and distributors will be held liable for any damages caused or alleged to be caused directly
or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies
and products mentioned in this book by the appropriate use of capitals. However, Packt
Publishing cannot guarantee the accuracy of this information.
First published: June 2012
Production Reference: 1130612
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-84969-198-7
www.packtpub.com
Cover Image by Sandeep Babu ()
Credits
Author
Luke Drumm
Reviewers
Jason Mitchell
Copy Editor
Insiya Morbiwala
Project Coordinator
Michelle Quadros
Kenneth Dahl Pedersen
Proofreader
Acquisition Editor
Joel T. Johnson
Stephanie Moss
Indexer
Lead Technical Editor
Rekha Nair
Kedar Bhat
Production Coordinator
Technical Editors
Melwyn Dsa
Rati Pillai
Ankita Shashi
Cover Work
Melwyn Dsa
About the Author
Luke Drumm is an experienced software developer and consultant who wrote his first
computer game at age 10, and has been enthusiastically exploring the world of game
development ever since. With the first public release of XNA in 2006, Luke quickly latched onto
the technology and began creating and talking about how to create games within XNA at every
possible opportunity. This culminated in his regular presence at conferences, game camps, and
user groups, and in his becoming a recipient of the Microsoft MVP Award, for XNA and DirectX,
for at least four successive years. Luke lives in Sydney, Australia, with his amazing, patient, and
supportive wife Cheryl, and two dogs, who may or may not rule the roost.
XNA 4.0 Game Development
by Example: Beginner's
Guide – Visual Basic Edition
ISBN: 978-1-84969-240-3
Paperback: 424 pages
Create your own exciting games with Visual Basic and
Microsoft XNA 4.0
1. Visual Basic edition of Kurt Jaegers' XNA 4.0
Game Development by Example. The first book
to target Visual Basic developers who want to
develop games with the XNA framework
2. Dive headfirst into game creation with Visual Basic
and the XNA Framework
3. Focuses entirely on developing games with the
free version of XNA
3D Graphics with XNA Game
Studio 4.0
ISBN: 978-1-84969-004-1
Paperback: 292 pages
Create attractive 3D graphics and visuals in your XNA
games
1. Improve the appearance of your games by
implementing the same techniques used by
professionals in the game industry
2. Learn the fundamentals of 3D graphics, including
common 3D math and the graphics pipeline
3. Create an extensible system to draw 3D models
and other effects, and learn the skills to create
your own effects and animate them
Please check www.PacktPub.com for information on our titles