Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 554 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
554
Dung lượng
9,59 MB
Nội dung
[...]... SelectPuzzleScreen.cs Creating the Playable Game Screen MainGame.cs Making the InGameMenu Screen InGameMenu.cs Creating the PuzzleComplete Screen Message.cs Enhancing Your Game Summary 45 2 45 2 45 3 45 3 45 4 45 5 45 5 45 6 45 6 4 57 4 57 46 0 46 0 46 3 46 3 46 8 46 8 47 0 47 1 47 8 47 9 47 9 48 0 48 1 48 5 48 5 48 8 48 8 49 1 49 2 49 4 49 5 xix ftoc.indd xix 1/31/2011 3: 37: 58 PM CONTENTS CHAPTER 16: WHERE DO YOU GO FROM HERE? Trial Mode Understanding... Threshold 382 383 383 385 385 386 386 3 94 3 97 3 97 40 4 40 5 41 4 41 44 17 4 17 42 3 42 4 42 5 42 5 42 5 42 6 42 6 42 6 42 6 Using Location Services in Your Games 42 6 CivicAddress CivicAddressResolver Did You Order Pizza? Resolving an Address Synchronously Resolving an Address Asynchronously GeoCoordinate GeoCoordinateWatcher FindMe GeoPosition 4 27 4 27 4 27 42 8 Summary CHAPTER 14: TAKE A PICTURE; IT’LL LAST LONGER!... Exporting Your Shapes Using 3D Models in Your Game Adding Models to Your Project Displaying the Models Onscreen Texturing a Basic 3D Model in Blender Configuring Your Workspace Texturing the Model 215 219 221 2 24 2 24 225 226 228 231 231 2 34 2 37 2 37 240 240 241 241 241 242 242 243 244 244 245 2 47 2 47 2 47 248 248 248 249 249 250 250 251 251 251 2 54 2 54 2 54 xv ftoc.indd xv 1/31/2011 3: 37: 57 PM CONTENTS Performing... IT’LL LAST LONGER! Launchers and Choosers NowPictureThis 43 1 43 3 43 3 43 5 43 9 43 9 44 1 44 1 44 3 xviii ftoc.indd xviii 1/31/2011 3: 37: 57 PM CONTENTS CameraCaptureTask The Application Deployment Tool Testing NowPictureThis PhotoChooserTask 44 3 44 5 4 47 4 47 Classes for Messaging Tasks 44 9 SmsComposeTask EmailComposeTask EmailAddressChooserTask 44 9 45 0 45 1 MediaPlayerLauncher The Controls Property The Location... the MainGame Screen: Hooking Up the Sprites and the Game Play 132 133 136 1 37 138 138 143 145 1 47 148 149 149 153 155 1 57 159 159 160 162 168 170 1 74 1 74 179 181 193 195 198 198 199 202 203 203 2 04 2 07 2 07 210 212 215 xiv ftoc.indd xiv 1/31/2011 3: 37: 57 PM CONTENTS MainGame.cs InGameMenu.cs GameOver.cs Keeping Score Score.cs ScoreList.cs Scores.cs SerializableDictionary.cs Screen.cs MainGame.cs GameOver.cs... Requirements ftoc.indd xi xxiii 1 1 2 3 3 3 4444 5 5 5 6 6 6 6 7 777 8 8 8 8 8 9 9 10 10 11 11 12 1/31/2011 3: 37: 56 PM CONTENTS Satisfying the Developer Requirements What You Get XNAGameStudio4. 0 Creating Your First Project Spotting Differences Between the WindowsPhoneGame and Other XNAGame Projects Setting Up a WindowsPhone Device Using the WindowsPhone Emulator Using Command-Line Options Summary... and Chapter 15 (Picture Puzzle) WHAT THIS BOOK COVERS This book covers XNAGameStudio4. 0 as it relates to Windows Phone7game development You can make games for Windows Phone7 with Silverlight, but that topic is not covered in this book Furthermore, you may use XNAGameStudio4. 0 to make games for Windows and Xbox Live Indie Games Those platforms are referenced in this book but are not covered... Designing for Touch Games 40 40 44 47 47 48 48 48 48 49 49 49 50 50 50 51 xii ftoc.indd xii 1/31/2011 3: 37: 57 PM CONTENTS Remember Your Platform Design for the Right Resolution Be Consistent and Predictable The Soft Input Panel (SIP) Summary CHAPTER 5: GIVE ME YOUR INPUT Building the Input Management System Download from Wow! eBook Input.cs GestureDefinition.cs GameInput.cs TouchIndicator.cs... Maybe you are one of the following: ‰ An iPhone or Android game developer who wants to port your games to Windows Phone7 ‰ An experienced Windows developer who is getting into game development for the first time ‰ A developer who is cranking out Xbox Live Indie Games titles and who wants to know what’s new in XNAGameStudio4. 0 as it relates to Windows Phone7 No matter what your story, you can fi nd... 352 353 353 3 54 355 359 363 365 366 Creating “Poker Dice with Friends” Setting Up the Game Project Template Modifying the Templates Title.cs Enhancing the ScreenStateSwitchboard Class ScreenStateSwitchboard.cs 371 372 372 373 373 3 74 375 xvii ftoc.indd xvii 1/31/2011 3: 37: 57 PM CONTENTS Adding the PokerDiceService Creating the GameInformation and DiceGame Supporting Classes DiceGame.cs GameInformation.cs . 386
Message.cs 3 94
Creating the GameInfo Screen 3 97
GameInfo.cs 3 97
Adding the Dice Model 40 4
Die.cs 40 5
Creating the MainGame Screen 41 4
MainGame.cs 41 4
Creating. Interfaces 40
Detecting Touch Input 40
Detecting Gestures 44
Tap 47
DoubleTap 47
Hold 48
HorizontalDrag 48
VerticalDrag 48
FreeDrag 48
DragComplete 49
Flick 49
Pinch