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

Building a house

In this task, we will add parts to an incomplete house when the user clicks on certain labels. We will create a new procedure to make a model appear by increasing the value of its opacity from 0 to 100%. Then we will call this procedure with a specific model as a parameter when the user clicks on the 3D text that represents the model.

Getting ready

Follow these steps to create a new project and display the Model Gallery:

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

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