Xbox LIVE Indie Games

code sample details

Avatar Multiple Animations Sample

Submitted
6/12/2009
Code Sample

Sample Overview

Often in a game, the developer may want to play more than one animation at a time on different parts of a character's body. One example is having the character walk while they wave their hands. This requires the walk animation to be targeted at the character's legs and feet, while the wave animation plays on the character's arms.

In this sample, we demonstrate how to play two built-in avatar animations at the same time. The celebrate animation is used on most of the body, while the wave animation plays on just the avatar’s right arm.


All content and source code downloaded from this page are bound to the Microsoft Permissive License (Ms-PL).

downloads

Framework

GS 4.0

Framework

GS 4.0

find education content
var gDomain='m.webtrends.com'; var gDcsId='dcschd84w10000w4lw9hcqmsz_8n3x'; var gTrackEvents=1; var gFpc='WT_FPC'; /*<\/scr"+"ipt>");} /*]]>*/
DCSIMG