ebook img

Professional Windows Phone 7 Game Development: Creating Games using XNA Game Studio 4 PDF

554 Pages·2011·10.149 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Professional Windows Phone 7 Game Development: Creating Games using XNA Game Studio 4

ffffiirrss..iinndddd iivv 11//3311//22001111 33::3366::5500 PPMM PROFESSIONAL WINDOWS® PHONE 7 GAME DEVELOPMENT INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxiii CHAPTER 1 Getting to Know the Windows Phone 7 Device . . . . . . . . . . . . . . . . . . . . . .1 CHAPTER 2 Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11 CHAPTER 3 Orientation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 CHAPTER 4 Touch Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 CHAPTER 5 Give Me Your Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 CHAPTER 6 The State of Things . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 CHAPTER 7 Let the Music Play . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .127 CHAPTER 8 Putting It All Together: Drive & Dodge . . . . . . . . . . . . . . . . . . . . . . . . . . . .147 CHAPTER 9 Whoa! The World Isn’t Flat After All . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247 CHAPTER 10 It’s Your Turn! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .269 CHAPTER 11 The World Outside Your Window(s) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .299 CHAPTER 12 Putting It All Together: Poker Dice with Friends . . . . . . . . . . . . . . . . . . . 351 CHAPTER 13 Dude, Where’s My Car? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .425 CHAPTER 14 Take a Picture; It’ll Last Longer! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 441 CHAPTER 15 Putting It All Together: Picture Puzzle . . . . . . . . . . . . . . . . . . . . . . . . . . .455 CHAPTER 16 Where Do You Go from Here? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 497 INDEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .513 ffffiirrss..iinndddd ii 11//3311//22001111 33::3366::4499 PPMM ffffiirrss..iinndddd iiii 11//3311//22001111 33::3366::5500 PPMM PROFESSIONAL Windows® Phone 7 Game Development ffffiirrss..iinndddd iiiiii 11//3311//22001111 33::3366::5500 PPMM ffffiirrss..iinndddd iivv 11//3311//22001111 33::3366::5500 PPMM PROFESSIONAL Windows® Phone 7 Game Development CREATING GAMES USING XNA GAME STUDIO 4 Chris G. Williams George W. Clingerman ffffiirrss..iinndddd vv 11//3311//22001111 33::3366::5500 PPMM Professional Windows® Phone 7 Game Development Published by Wiley Publishing, Inc. 10475 Crosspoint Boulevard Indianapolis, IN 46256 www.wiley.com Copyright © 2011 by Wiley Publishing, Inc., Indianapolis, Indiana Published simultaneously in Canada ISBN: 978-0-470-92244-6 ISBN: 978-1-118-06798-7 (ebk) ISBN: 978-1-118-06797-0 (ebk) ISBN: 978-1-118-06796-3 (ebk) Manufactured in the United States of America 10 9 8 7 6 5 4 3 2 1 No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748-6011, fax (201) 748-6008, or online at http://www.wiley.com/go/permissions. Limit of Liability/Disclaimer of Warranty: The publisher and the author make no representations or warranties with respect to the accuracy or completeness of the contents of this work and specifi cally disclaim all warranties, including without limitation warranties of fi tness for a particular purpose. No warranty may be created or extended by sales or pro- motional materials. The advice and strategies contained herein may not be suitable for every situation. This work is sold with the understanding that the publisher is not engaged in rendering legal, accounting, or other professional services. If professional assistance is required, the services of a competent professional person should be sought. Neither the pub- lisher nor the author shall be liable for damages arising herefrom. The fact that an organization or Web site is referred to in this work as a citation and/or a potential source of further information does not mean that the author or the publisher endorses the information the organization or Web site may provide or recommendations it may make. Further, readers should be aware that Internet Web sites listed in this work may have changed or disappeared between when this work was written and when it is read. For general information on our other products and services please contact our Customer Care Department within the United States at (877) 762-2974, outside the United States at (317) 572-3993 or fax (317) 572-4002. Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not be available in electronic books. Library of Congress Control Number: 2011920609 Trademarks: Wiley, the Wiley logo, Wrox, the Wrox logo, Programmer to Programmer, and related trade dress are trade- marks or registered trademarks of John Wiley & Sons, Inc. and/or its affi liates, in the United States and other countries, and may not be used without written permission. All other trademarks are the property of their respective owners. Wiley Publishing, Inc., is not associated with any product or vendor mentioned in this book. ffffiirrss..iinndddd vvii 11//3311//22001111 33::3366::5522 PPMM ABOUT THE AUTHORS CHRIS G. WILLIAMS is a principal consultant for Magenic, delivering custom-built .NET solutions to clients. He founded Reality Check Games as a studio for his various XNA projects on Windows, Xbox 360, and Windows Phone 7. In addition to creat- ing games, Williams is a Microsoft MVP in XNA/DirectX (for six years running). He is an active contributor to the XNA Indie Games community, and founded an XNA Developers Group in Minneapolis, MN. He speaks regularly at user groups, code camps, and profes- sional conferences country-wide, lecturing on XNA game development, Windows Phone 7, and other topics. He has also authored articles for the magazines CODE and Flagship. You can follow him on Twitter (@chrisgwilliams). GEORGE W. CLINGERMAN is a business developer who works with .NET and SQL to build WinForm and web software. He also develops games, has won a small game development contest using Managed Direct X, and has released an Xbox Live Indie Game designed for small children (sold worldwide). Clingerman runs an XNA com- munity site, http://XNADevelopment.com, where he creates tutorials for beginning game development, and he helps out in the offi cial Microsoft Creators Club forums. For this work, Clingerman was awarded a Microsoft MVP award for XNA four times. You can reach him at the Geekswithblogs blogging community, or follow him on Twitter (@clingermanw). ffffiirrss..iinndddd vviiii 11//3311//22001111 33::3366::5522 PPMM ABOUT THE TECHNICAL EDITOR PIETER GERMISHUYS is a business applications developer by day and a game developer by night. He is the co-founder of www.mdxinfo.com and www.xnainfo.com. He enjoys dabbling in ASP.NET MVC and jQuery when not attempting to develop the next “big thing” in the game entertainment world. He has a blog at www.pieterg.com, and frequents on http://stackoverfl ow.com/. ffffiirrss..iinndddd vviiiiii 11//3311//22001111 33::3366::5533 PPMM

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.