Windows Phone 7 advanced game programming: Using xNa game studio 4
Basic Information
Title: Professional Windows Phone 7 game development: creating games using xNa game studio 4
Author: (US) Chris G. Williams George W. clingerman [Translator's introduction]
Translator: Xu Xiaoyu Wu huali
Series name: mobile and Embedded Development Technology
Press: Tsinghua University Press
ISBN: 9787302303053
Mounting time:
Published on: February 1, January 2013
Start: 16
Page number: 1
Version: 1-1
Category: Computer> Software and programming> mobile development> other mobile development technologies
Computer> game programming
For more information, Windows Phone 7 advanced game programming: xNa game studio 4
Introduction
Books
Computer books
If you can't wait to enter the Windows Phone 7 game development world, do not miss this book! Windows Phone 7 game advanced programming: Using xNa game studio 4 contains a large number of real examples. It is an essential comprehensive tutorial for windowsphone 7 game development. This book first introduces the features of Windows Phone 7, and then explains the tools used in game development. The clear explanations and rich code examples in the book help you deeply understand the Windows Phone 7 device, so that you can immediately start creating your own game.
Main Content
Contains 3 complete games and provides very helpful guidance on how to release your game to Windows Phone 7 marketplace.
I shared some valuable suggestions on how to use xNa game studio 4.
This article explains how to detect touch inputs and gestures, and explains how to build and use a complete input management system to bring you to the next level.
Explains how to use Microsoft push notifi cation Service
Teaches you how to use a complete status management system to manage game and screen statuses, and you can use this status management system in your own games.
Directory
Windows Phone 7 advanced game programming: Using xNa game studio 4
Chapter 2 learn about Windows Phone 7 device 1
1.1 minimum configuration 1
1.1.1 Design 2
1.1.2 Screen Resolution 2
1.2 Mobile Phone function 2
1.2.1 capacitive touch 3
1.2.2 sensor 3
1.2.3 Digital Camera 4
1.2.4 DirectX 9 acceleration 5
1.2.5 front button 5
1.2.6 QWERTY keyboard 6
1.3 software function 6
1.3.1 start and lock screen 6
1.3.2 hub 6
1.3.3 Other applications 8
1.4 Conclusion 9
Chapter 11 entry 11
2.1 obtain required tools 11
2.1.1 system requirements 12
2.1.2 developer requirements 12
2.1.3 tool 12
2.2 xNa game studio 4.0 13
2.2.1 create the first project 14
2.2.2 Differences between Windows Phone games and other xNa game Projects 15
2.3 set Windows Phone device 18
2.4 use Windows Phone emulator 18
2.5 use command line Option 21
2.6 Conclusion 22
Chapter 2 direction 23
3.1 device direction 23
3.1.1 set device direction 23
3.1.2 detection device Direction 27
3.1.3 run in full screen mode 27
3.2 acceleration count 29
3.3 summary 34
Chapter 5 touch input 35
4.1 touch Event Response 35
4.1.1 touch interface overview 35
4.1.2 touch input detection 36
4.1.3 gesture detection 40
4.1.4 Design of Touch games 46
4.2 sip 48
4.3 Summary 51
Chapter 4 obtain input 53
5.1 create an input management system 53
5.1.1 input. CS 53
5.1.2 gesturede? Nition. CS 69
5.1.3 gameinput. CS 70
5.1.4 touchindicator. CS 76
5.1.5 touchindicatorcollection. CS 79
5.2 use input management system 80
5.2.1 actions. CS 80
5.2.2 game1.cs 81
5.3 Summary 86
Chapter 1 status 87
6.1 game status 87
6.1.1 manage game status 88
6.1.2 Multi-Layer Screen Processing 108
6.2 mobile phone hardware event 109
6.2.1 check the back button 109
6.2.2 rewrite back button 109
6.3 game interruptions 110
6.3.1 notification and temporary interruption 111
6.3.2 game stop event 114
6.4 save game status 114
6.5 conclusion 118
Chapter 4 play music 7th
7.1 Process audio 119
7.1.1 use mediaplayer to play audio 119
7.1.2 soundeffect 125
7.2 xact 3.0 129
7.3 recording audio 130
7.3.1 microphone 130
7.3.2 save and retrieve the captured audio 135
7.4 conclusion 137
Chapter 4 integrated application: Drive & Dodge game 8th
8.1 create a game 140
8.1.1 screen 140
8.1.2 input packaging class 164
8.1.3 add audio and music 189
8.1.4 more screens 194
8.1.5 code 199 for the game home screen
8.1.6 complete the maingame screen: connect to the genie and make the game play 206
8.1.7 save score 214
8.1.8 correct back button 227
8.2 create a basic game template 231
8.2.1 retain only basic elements 231
8.2.2 create a template 234
8.2.3 use template 234
8.3 conclusion 235
Chapter 2 3D games 9th
9.1 3D graphics 237
9.1.1 create a 3D model for the game 237
9.1.2 use 3D model 241 in the game
9.1.3 add texture 243 for the basic 3D model in Blender
9.1.4 perform 3D transformation 246
9.1.5 create 3D animation 248
9.1.6 Microsoft skinning sample 253
9.2 set effect 254
9.2.1 preset effect 255
9.2.2 use reach graphics demo 256
9.3 conclusion 256
Chapter 4 push notifications and vibration 10th
10.1 understand push notification 257
10.1.1 raw notification 258
10.1.2 pop-up toast notification 266
10.1.3 tile notification 273
10.2 useful vibration functions 280
10.2.1 Microsoft. Devices namespace 280
10.2.2 environment class 281
10.2.3 vibratecontroller class 282
10.3 conclusion 284
Chapter 4 create and use services 11th
11.1 use Web Services 285
11.1.1 livetoserveyou instance 286
11.1.2 sample Serveme 290
11.2 global high score system 295
11.2.1 highscoreservice project: 295
11.2.2 scoreme project: 302
11.2.3 anonymous live ID 303
11.2.4 highscoreclient class 304
11.2.5 push notification 305
11.2.6 highscoretester project 309
11.2.7 test the high score ranking service 313
11.3 pairing system 314
11.3.1 matchmaker project 314
11.3.2 matchme project: 320
11.3.3 matchmakertester project 325
11.4 process HTTP request 329
11.4.1 weatherwitch Project 330
11.4.2 use RSS 333 in the game
11.4.3 rest-based Web Service 333
11.5 conclusion 334
Chapter 4 integrated application: poker dice with friends game 12th
12.1 preliminary preparations 335
12.1.1 service process and screen process 336
12.1.2 create poker dice service 336
12.1.3 create a pokerdicetester application 350
12.2 create a poker dice with friends game 356
12.2.1 create game project template 356
12.2.2 modify template 357
12.2.3 enhanced screenstateswitchboard 359
12.2.4 create a gameinformation and dicegame auxiliary class 367
12.2.5 create game hall 370
12.2.6 create gameinfo page 382
12.2.7 Add a dice Model 390
12.2.8 create maingame page 400
12.2.9 create diceselect Page 403
12.3 enhanced game 409
12.4 conclusion 410
Chapter 2 Location API 13th
13.1 understand and use location API 411
13.2 best practices for using location services 411
13.2.1 get user permission 411
13.2.2 412 Power Consumption
13.2.3 Precision Level 412
13.2.4 moving threshold 412
13.3 use location services 412 in the game
13.3.1 civicaddress 412
13.3.2 civicaddressresolver class 413
13.3.3 geocoordinate category 418
13.3.4 geoposition 424
13.4 conclusion 424
Chapter 4 starters and selectors 14th
14.1 frequently used starters and selectors 425
14.2 nowpicturethis 426
14.2.1 cameracapturetask 427
14.2.2 Application Deployment Tool 429
14.2.3 test nowpicturethis 430
14.2.4 photochoosertask 431
14.3 class 433 for message passing tasks
14.3.1 smscomposetask 433
14.3.2 emailcomposetask 434
14.3.3 emailaddresschoosertask 434
14.4 mediaplayerlauncher 435
14.4.1 controls property 436
14.4.2 Location Property 436
14.4.3 media attribute 437
14.5 conclusion 437
Chapter 4 integrated application: picture puzzle game 15th
15.1 picture puzzle game 439
15.2 Design Screen stream 440
15.3 create a puzzle 440
15.3.1 create Title Screen 441
15.3.2 enhanced screenstateswitchboard class 443
15.3.3 create newpuzzle screen 447
15.3.4 puzzle block 452
15.3.5 management status object 464
15.3.6 create selectpuzzle screen 465
15.3.7 create playable game screen 470
15.3.8 create ingamemenu screen 474
15.3.9 create puzzlecomplete screen 477
15.4 game improvement 479
15.5 Conclusion 479
Chapter 4 subsequent work 16th
16.1 trial mode 481
16.1.1 understanding of trial mode 481
16.1.2 testing trial mode 482
16.2 pin the game to the start area 489
16.3 release 491
16.3.1 requirement 491
16.3.2 submit 491
16.3.3 signature 493
16.4 where to get help 494
16.4.1 Forum 494
16.4.2 blog 494
16.4.3 search 494
16.5 conclusion 495
Source of this book: China Interactive publishing network