O'Reilly logo

Alice 3 Cookbook by Vanesa S. Olsen

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

Animating a person's head

In this recipe, we will make a child shake his head while the other child dances by calling two existing procedures at the same time. We will create an animation that includes complex movements of different parts of two instances concurrently.

Getting ready

We have to be working on a project with two people from the Sims 2 art assets. Therefore, we will use an existing project that has two children. kevin and vanessa are two instances of the MyChild class.

  1. Open the project saved in the Animating a person's body recipe in this chapter.
  2. Click on Edit Code, at the lower-right corner of the big scene preview. Alice will show a smaller preview of the scene and will display the Code Editor on a panel located at the right-hand side ...

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