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

Interaction between characters in the scene

In this task, we will make two children interact. The interaction between two children requires running in parallel two blocks with calls to a different number of procedures. However, we also have to consider the time it takes for each procedure to complete its execution because we want each child to start an action at a certain time, when the other child is in execution or has already completed another action.

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. ...

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