Skip to Content
Windows® Phone 7 Programming for Android™ and iOS Developers
book

Windows® Phone 7 Programming for Android™ and iOS Developers

by Baijian Yang, Zhinan Zhou, Pei Zheng, Robert Zhu
August 2011
Intermediate to advanced
360 pages
9h 14m
English
Wrox
Content preview from Windows® Phone 7 Programming for Android™ and iOS Developers

Chapter 8

Graphics

WHAT’S IN THIS CHAPTER?

  • Defining basic 2D and 3D graphics terms
  • Understanding when to use XNA
  • Using the XNA game loop
  • Drawing 2D and 3D graphics with XNA

Developers have greatly improved the user experience on mobile devices by leveraging high-performance graphics and animations. And not surprisingly, many best-selling mobile applications have also relied on great graphics. It’s important for developers to understand how to draw graphics in the Windows Phone 7 (WP7) platform.

Graphics is an area that even many seasoned software developers are unfamiliar with. That’s why this chapter begins with a basic glossary of graphics terms. However, if you’ve already created graphics on the iOS or Android platform, you can certainly skip the “Graphics Fundamentals” section. Next, you’ll learn how graphics are handled in WP7 at a conceptual level, and how techniques differ when working with the iOS and Android.

The most important concept you’ll learn in this chapter is how to work with the graphics API in the XNA (New generation Architecture) framework. XNA is a set of programming tools that’s built on top of the .NET framework and provides both powerful graphics and a formidable gaming engine. Unlike Silverlight, XNA is not an event-driven framework. Instead, it utilizes the game loop concept. In this chapter, you’ll learn how to draw 2D or 3D graphics using XNA and how to implement animations and enable special effects in WP7.

RUNNING XNA GRAPHICS ON WP7 EMULATOR

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Web Geek’s Guide to the Android™-Enabled Phone

Web Geek’s Guide to the Android™-Enabled Phone

Jerri Ledford, Bill Zimmerly, Prasanna Amirthalingam

Publisher Resources

ISBN: 9781118154229Purchase book