O'Reilly logo

XNA® Game Studio 4.0 for Xbox 360® Developers by Jonathan S. Harbour

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 12. Avatars

An avatar is a 3D model that serves as a gamer’s virtual representation online in Xbox Live, and can be customized to the gamer’s preferences with different body types, gender, hair style, clothing, and so forth. In this chapter, you will learn how to use an avatar in a game. In addition to retrieving and rendering the gamer’s custom-designed avatar in your own code, you can also generate random avatars for use as non-player characters (NPCs) for computer-controlled AI players or for scenery.

Here are topics of import in this chapter:

  • Retrieving a gamer avatar

  • Creating a random avatar

  • Rendering a gamer avatar

  • Avatar Demo project

  • Custom avatar animations

Note

Unfortunately, this feature is not available for a Windows game, so this chapter ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required