did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9781598639063

Game Programming With Silverlight

by
  • ISBN13:

    9781598639063

  • ISBN10:

    1598639064

  • Edition: 1st
  • Format: Paperback
  • Copyright: 2009-06-24
  • Publisher: Cengage Learning PTR

Note: Supplemental materials are not guaranteed with Rental or Used book purchases.

Purchase Benefits

  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $40.00 Save up to $8.00
  • Rent Book $32.00
    Add to Cart Free Shipping Icon Free Shipping

    TERM
    PRICE
    DUE
    USUALLY SHIPS IN 24-48 HOURS
    *This item is part of an exclusive publisher rental program and requires an additional convenience fee. This fee will be reflected in the shopping cart.

Supplemental Materials

What is included with this book?

Summary

This book is a comprehensive guide that will walk readers through every feature needed to create a web based game using Silverlight, a new, free rendering tool that supports a variety of programming languages and fast, cost-effective delivery of high-quality video to all major browsers. Each chapter in the book builds upon the previous and by the end of the book the user will have completed the creation of a multi-player online adventure game for the web using Silverlight. There are no other books on the market that teach game programming using Silverlight, and its web-based platform makes game development fun and easy.

Author Biography

Mike Snow is a Senior Lead Software Design Engineer in Test at Microsoft. He has more than two decades of experience as a hobbyist game developer. He is the creator of one of the original multiplayer text-based LP MUDs (see http://en.wikipendia.org/wiki/LPMud) called Tsunami Realms. Currently he is a strong advocate for game programming with Silverligth and owns a game-centric Silverlight Tips of the Day belong that can be found at http://www.silverlight.net/blogs/msnow. When he is not focused on Silverlight, he enjoys the outdoors, especially participating in Adventure Racing. Mike Snow lives in Sammamish, Washington, with his wife and four kids.

Table of Contents

Introductionp. xi
Silverlight 101p. 1
All About Silverlightp. 1
Silverlight's Toolsp. 2
All About XAMLp. 2
Attribute Syntaxp. 3
Property Element Syntaxp. 4
Content Element Syntaxp. 4
Collection Syntaxp. 5
Eventsp. 5
Final Notesp. 7
An Overview of Silverlight Controlsp. 7
AutocompleteBoxp. 9
DockPanelp. 10
HeaderedContentControlp. 12
Expanderp. 12
HeaderedItemsControlp. 13
Labelp. 14
TreeViewp. 14
ViewBoxp. 16
WrapPanelp. 16
NumericUpDownp. 17
Chartp. 18
DatePickerp. 19
Using Themesp. 20
Third-Party Controlsp. 22
Summaryp. 23
Getting Startedp. 25
Gathering the Tools You Needp. 25
Visual Studio 2008 with Service Pack 1p. 25
Silverlight Tools for Visual Studio 2008 Service Pack 1p. 26
Expression Blend 2 SPIp. 26
Creating a Silverlight Application Projectp. 26
Exploring the Silverlight Application Projectp. 28
The Designer Previewp. 29
The XAML Code Editorp. 30
Solution Explorerp. 30
Properties Windowp. 31
Exploring Your Project Filesp. 32
Website Projectp. 32
Silverlight Application Projectp. 34
Taking a Peek at Visual Studio 2010p. 36
Using Common Silverlight Utility Functionsp. 38
Summaryp. 41
What's New with Silverlight 3p. 43
Perspective Transformsp. 44
Pixel Effectsp. 46
Navigation Templatep. 49
SaveFileDialogp. 52
CaretBrushp. 53
Bypassing the Image Cachep. 54
ImageOpened Eventp. 55
Multi-Selection List Boxp. 55
Pixel APIsp. 56
System Colorsp. 58
Text Rendering for Animationp. 59
GPU/Hardware Accelerationp. 59
Media Support for H.264/AAC Media Playbackp. 61
Local Connectionp. 62
Animation Easingp. 62
Out-of-Browser Applicationsp. 65
Data Validationp. 68
Network Change Detectionp. 72
Binary XMLp. 72
Merged Resource Dictionaryp. 73
Summaryp. 74
Silverlight Game Tips and Tricksp. 75
Creating the Main Game Loopp. 76
Putting Your Game in Full-Screen Modep. 77
Accessing the HTML DOM from Your Gamep. 78
Centering Your Game Window in the Browserp. 79
Setting Browser Cookies from Your Gamep. 80
Communicating with JavaScriptp. 81
Capturing Browser Resizesp. 82
Communicating Between the Application and MainPage Classesp. 83
Enabling and Disabling Your Game Controlsp. 84
Making a Browser Window Pop Upp. 84
Dynamically Loading and Displaying Your Gamep. 85
Making Your Silverlight Control Transparentp. 86
Scaling Your Game Controls in Your Browserp. 87
Image Loadingp. 88
Obtaining Image Dimensionsp. 90
Monitoring for Mouse and Keyboard Eventsp. 92
Cropping Objects in Your Gamep. 93
Loading a Silverlight Control Within Another Silverlight Controlp. 93
Adding Tooltips to Buttons and Objectsp. 95
Leveraging Isolated Storage for Game Purposesp. 96
Working with Image Source Filenamesp. 98
Working with Strokes and Shapesp. 99
Loading Images from Streamsp. 101
Loading and Managing Images in Your Gamep. 102
Setting the Default Browser from Within VSp. 103
Detecting Mouse Double Clicksp. 104
Summaryp. 105
Creating the Worldp. 107
The Gamep. 107
Artworkp. 108
Converting 3d Models to Spritesp. 109
Coordinate Systemp. 112
The Map Editorp. 114
Object Templatesp. 115
Opacity Masksp. 117
Preview Windowp. 121
Object Placementp. 122
Object Editingp. 122
Collision Detectionp. 122
Triggersp. 123
Save and Loadp. 124
Creating Transparent Imagesp. 125
Summaryp. 127
Object Managementp. 129
Web Servicesp. 129
Loading Object Templatesp. 136
ObjectBase Classp. 138
Terrian Objectsp. 140
Creature Objectsp. 144
Map Objectsp. 153
Game Objectsp. 156
Summaryp. 159
Animationp. 161
Dispatcher Timerp. 161
The Storyboard Timerp. 162
Doubleanimationp. 165
PointAnimationp. 167
ColorAnimationp. 168
Key Framesp. 170
CompositionTarget. Renderingp. 172
Frame-Based Animationp. 172
Performance Tipsp. 179
FPSp. 179
EnableRedrawRegionsp. 180
Image Sizep. 180
Hardware Accelerationp. 180
Summaryp. 182
The Client UIp. 183
Using Grid Controlsp. 183
Creating Buttonsp. 187
Creating Dialog Boxesp. 193
Using Stylesp. 202
Summaryp. 204
Networking Support: Making It Multi-Player!p. 205
Policy Serverp. 205
The Serverp. 210
The Packet Managerp. 219
The Clientp. 221
Summaryp. 226
Sound, Music, and Videop. 227
Using MediaElementp. 227
Using SoundManagerp. 231
Using Timeline Markersp. 235
Summaryp. 236
Extrasp. 237
Scrolling a Map Smoothlyp. 237
Fine-Tuning Player Movementp. 239
Creating a Chat Boxp. 243
Reflections and Shadowsp. 247
Summaryp. 251
Indexp. 253
Table of Contents provided by Ingram. All Rights Reserved.

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program