In these scene the actions are done in order. The cat turns to see the mouse which in turn moves away from the cat. The method ti turn the cats head to face the mouse is this.cat gethead, turn ToFace this.mouse, the animation style used is Begin_And_End_Gently with a duration of 1.0 seconds. The method used in moving the mouse away is this.mouse gethead, turn ToFace this.cat, the animation style used is Begin_And_End_Gently with a duration of 1.0 seconds.
the mouse then takes one step forward by lifting its right knee as shown above. The method involved is this.mouse getRightHip turn Right with a distance of 0.25. the hip is then dropped down and the next lifted.The cat on the other hand lifts its back left hip and back right hip at the same time. In this way the mouse is always one step ahead of the cat. This is are the final method and they are looped throughout the game.
Farooq, M. (2012, October 5). Creating a Scene by Adding and Positioning Objects. Retrieved March 4, 2015, from Slideshare: