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

Performing many statements in order

In this recipe, we will execute many statements for an actor with a specific order. We will add eight statements to control a sequence of movements for a bee.

Getting ready

We have to be working on a project with at least one actor. Therefore, we will create a new project and set a simple scene with a few actors.

  1. Select File | New... in the main menu to start a new project. A dialog box will display the six predefined templates with their thumbnail previews in the Templates tab.
  2. Select GrassyProject.a3p as the desired template for the new project and click OK. Alice will display a grassy ground with a light blue sky.
  3. Click on Edit Scene, at the lower right corner of the scene preview. Alice will show a bigger preview ...

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