Microsoft Cloud Authors: Kevin Benedict, Pat Romanski, Liz McMillan, Lori MacVittie, Elizabeth White

Related Topics: Microsoft Cloud

Microsoft Cloud: Book Review

Building XNA 2.0 Games

A Practical Guide for Independent Game Development

This book is a great introductory and tutorial book for XNA programming. It's clearly written, assumes no significant prior knowledge, and will have even beginners creating basic games by the end of the book.

Chapter 1 gives a crash course in .NET and programming in C#. It's a nice lead-in to the book, but too short to be of any value in learning .NET or C#. If you need an introduction to .NET or C#, check out Beginning C# 2008: From Novice to Professional, also by Apress. Chapter 2 starts off kicking butt immediately by creating a pong game and showing everything you need to know to start creating simple games for Windows and the Xbox 360 using XNA. From installing C# Express (VB.NET is supported for Windows games, but not the Xbox, because VB.NET uses functionality not support by the XBox's compact framework) and the XNA Game Studio to create backgrounds, paddle and ball movement, and finally, sound, this chapter gets you started right. But it doesn't include scoring or detecting when the ball contacts a paddle.

The third chapter talks a bit about game design, warning about trying to do too much and pointing out the advantages of creating some tools to make creating the game easier. It uses a map editor and a character editor as examples of the type of tools that make the game programmer's job easier. In Chapter 4, the reader is walked through creating a map editor, and in Chapter 5, the character editor is created.

Chapter 6 makes use of all this by creating a basic "ZombieSmashers" game. Chapter 6 also introduces scripting characters. Chapter 7 introduces particles in the form of smoke trails for rockets. It also introduces "triggers," which are created during game play, such as bullets, blood spurts, and muzzle flashes. and starts digging into particle collisions.

Chapter 8 covers all things related to sound, including editing with Audacity, scripting audio, adding music, and adding controller rumble.

Chapter 9 goes into more scripting, setting up a simple AI (artificial intelligence) system, and scripting zombie creation, actions, and deaths.

Chapter 10 adds player health, map transitions, scoring, menus, debugging, and deploying to the Xbox 360.

Chapter 11 covers post-processing effects, things like pixel shaders, bloom, water and refraction effects, and a "blurry grayscale pause effect." This is a complex topic that is barely touched on here. They are covered just enough to let you add some pizzazz to your games.

Chapter 12 covers network play and all that that entails. This is where multi-player capability is added, as well as instructions on how to add your game to Xbox Live. It covers the issues you need to address in moving your game from running on a single Xbox to running on multiple Xboxes across the Internet, including creating, finding, and joining sessions on the Internet, sending and receiving game messages, and packing and sending data over a network.

The two appendices are about the same size and have similar content to the chapters in the rest of the book, so I'll include them in the review just like there were two more chapters. Appendix A is called "Designing the Wraith: Our Freaky Awesome Skeleton Monster." It show how the character was created using the character editor, how it was animated, how hit detection was done, including displaying hits (blood and gore), and showing damage after the hit. The final section, Appendix B, details saving settings, options, and errata such as high scores.

I like this book for its simplicity. At just over 400 pages, books several times bigger than this one have been written on subjects like pixel shading that are only touched on in this book. This book won't make you an expert, or even moderately competent in any of the areas touched on; it will, however, take you from basic knowledge of programming to having your own game up and running on Windows or the XBox 360 in a very short order. Anyone with the ability to write a simple C# program can ,after reading this book, not only write simple games, but will understand how real games are created, and be ready to delve as deeply into game design as they want.

Authors: James Silva and John Sedlak
Publisher: Apress
ISBN: 978-1-4302-0979-9
Price: $39.99

More Stories By Dennis Hayes

Dennis Hayes is a programmer at Georgia Tech in Atlanta Georgia where he writes software for the Adult Cognition Lab in the Psychology Department. He has been involved with the Mono project for over six years, and has been writing the Monkey Business column for over five years.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.

IoT & Smart Cities Stories
DXWordEXPO New York 2018, colocated with CloudEXPO New York 2018 will be held November 11-13, 2018, in New York City and will bring together Cloud Computing, FinTech and Blockchain, Digital Transformation, Big Data, Internet of Things, DevOps, AI, Machine Learning and WebRTC to one location.
Discussions of cloud computing have evolved in recent years from a focus on specific types of cloud, to a world of hybrid cloud, and to a world dominated by the APIs that make today's multi-cloud environments and hybrid clouds possible. In this Power Panel at 17th Cloud Expo, moderated by Conference Chair Roger Strukhoff, panelists addressed the importance of customers being able to use the specific technologies they need, through environments and ecosystems that expose their APIs to make true ...
"Space Monkey by Vivent Smart Home is a product that is a distributed cloud-based edge storage network. Vivent Smart Home, our parent company, is a smart home provider that places a lot of hard drives across homes in North America," explained JT Olds, Director of Engineering, and Brandon Crowfeather, Product Manager, at Vivint Smart Home, in this SYS-CON.tv interview at @ThingsExpo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
We are seeing a major migration of enterprises applications to the cloud. As cloud and business use of real time applications accelerate, legacy networks are no longer able to architecturally support cloud adoption and deliver the performance and security required by highly distributed enterprises. These outdated solutions have become more costly and complicated to implement, install, manage, and maintain.SD-WAN offers unlimited capabilities for accessing the benefits of the cloud and Internet. ...
In an era of historic innovation fueled by unprecedented access to data and technology, the low cost and risk of entering new markets has leveled the playing field for business. Today, any ambitious innovator can easily introduce a new application or product that can reinvent business models and transform the client experience. In their Day 2 Keynote at 19th Cloud Expo, Mercer Rowe, IBM Vice President of Strategic Alliances, and Raejeanne Skillern, Intel Vice President of Data Center Group and G...
Business professionals no longer wonder if they'll migrate to the cloud; it's now a matter of when. The cloud environment has proved to be a major force in transitioning to an agile business model that enables quick decisions and fast implementation that solidify customer relationships. And when the cloud is combined with the power of cognitive computing, it drives innovation and transformation that achieves astounding competitive advantage.
DXWorldEXPO LLC announced today that "IoT Now" was named media sponsor of CloudEXPO | DXWorldEXPO 2018 New York, which will take place on November 11-13, 2018 in New York City, NY. IoT Now explores the evolving opportunities and challenges facing CSPs, and it passes on some lessons learned from those who have taken the first steps in next-gen IoT services.
The current age of digital transformation means that IT organizations must adapt their toolset to cover all digital experiences, beyond just the end users’. Today’s businesses can no longer focus solely on the digital interactions they manage with employees or customers; they must now contend with non-traditional factors. Whether it's the power of brand to make or break a company, the need to monitor across all locations 24/7, or the ability to proactively resolve issues, companies must adapt to...
"IBM is really all in on blockchain. We take a look at sort of the history of blockchain ledger technologies. It started out with bitcoin, Ethereum, and IBM evaluated these particular blockchain technologies and found they were anonymous and permissionless and that many companies were looking for permissioned blockchain," stated René Bostic, Technical VP of the IBM Cloud Unit in North America, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Conventi...
Founded in 2000, Chetu Inc. is a global provider of customized software development solutions and IT staff augmentation services for software technology providers. By providing clients with unparalleled niche technology expertise and industry experience, Chetu has become the premiere long-term, back-end software development partner for start-ups, SMBs, and Fortune 500 companies. Chetu is headquartered in Plantation, Florida, with thirteen offices throughout the U.S. and abroad.