Alice 3 Cookbook

Alice 3 Cookbook
eBook: $26.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 15%!
Print + free eBook + free PacktLib access to the book: $71.98    Print cover: $44.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters
  • A cookbook for teachers who would like to demonstrate the basics of programming by creating marvelous animated scenes
  • Work with the new Alice 3 environment to add instances and inspect their properties, procedures, and functions
  • Develop interactive 3D scenes and videos with Alice 3
  • The book covers the new Sims module incorporated in Alice 3

Book Details

Language : English
Paperback : 340 pages [ 235mm x 191mm ]
Release Date : April 2011
ISBN : 1849514925
ISBN 13 : 9781849514927
Author(s) : Vanesa S. Olsen
Topics and Technologies : All Books, Other, Cookbooks, e-Learning, Open Source

Table of Contents

Chapter 1: Setting Scenes
Chapter 2: Working with Actors
Chapter 3: Organizing Statements
Chapter 4: Working with Functions and Conditions
Chapter 5: Working with Variables
Chapter 6: Working with Properties
Chapter 7: Working with People
Chapter 8: Working with Keyboard and Mouse Input
Chapter 9: Creating Interactive Stories
Chapter 10: Customizing the Output
  • Chapter 1: Setting Scenes
    • Introduction
    • Working with templates to create a new planet
    • Checking the instances that compose a scene
    • Inspecting the properties for each instance that composes a scene
    • Defining a light's initial properties
    • Animating light's properties
    • Animating an instance's property
    • Checking the procedures and functions for each instance
    • Playing background music
    • Chapter 2: Working with Actors
      • Introduction
      • Browsing galleries to search for a specific class
      • Creating a new instance from a class in a gallery
      • Setting initial properties for an actor
      • Moving an actor
      • Resizing an actor
      • Working with multiple actors
      • Moving an actor with relative positions
      • Facing an actor to a target actor
      • Chapter 3: Organizing Statements
        • Introduction
        • Performing many statements in order
        • Using a counter to run statements many times
        • Running statements for different actors
        • Running statements for many actors
        • Running many statements at the same time
        • Repeating statements at the same time
        • Declaring new procedures
        • Calling customized procedures
        • Chapter 4: Working with Functions and Conditions
          • Introduction
          • Running conditional code
          • Running conditional code within a counter
          • Working with the NOT operator
          • Working with the BOTH...AND operator
          • Working with the EITHER...OR operator
          • Working with relational operators
          • Running a loop while a condition is true
          • Declaring and calling new functions
          • Chapter 5: Working with Variables
            • Introduction
            • Working with a local variable
            • Changing values of variables
            • Working with many local variables
            • Working with constants
            • Using arrays to control two instances
            • Using variables to hold instances of generic classes
            • Using variables to hold separate instances
            • Working with parts of characters
            • Chapter 6: Working with Properties
              • Introduction
              • Defining new properties to store real numbers
              • Using properties to call procedures
              • Changing the properties initial values
              • Combining local variables and properties
              • Calculating new values for properties
              • Working with many instances of the same class
              • Using properties to call functions
              • Assigning values entered by the user to properties
              • Chapter 7: Working with People
                • Introduction
                • Creating a random person
                • Customizing a person's body
                • Customizing a person's head
                • Animating a person's body
                • Animating a person's head
                • Interaction between characters in the scene
                • Speaking with other people
                • Interacting with the environment
                • Chapter 8: Working with Keyboard and Mouse Input
                  • Introduction
                  • Defining a mouse button listener
                  • Reacting to mouse events
                  • Controlling an actor with the mouse
                  • Defining a key listener
                  • Reacting to keyboard events
                  • Controlling an actor with keystrokes
                  • Controlling the camera with the keyboard
                  • Controlling multiple actors with keystrokes
                  • Chapter 9: Creating Interactive Stories
                    • Introduction
                    • Dressing a person
                    • Building a house
                    • Talking at the cafeteria
                    • Managing an amusement park
                    • Organizing the layout of a bedroom
                    • Creating an epic story
                    • Enabling a person to throw a basketball through a hoop
                    • Working with animals on a farm
                    • Chapter 10: Customizing the Output
                      • Introduction
                      • Controlling the output to get different views
                      • Setting the camera's initial position
                      • Exporting a video
                      • Sharing a video
                      • Working with multiple camera markers
                      • Providing different points of view for a 3D world
                      • Following characters with the camera

                      Vanesa S. Olsen

                      Vanesa Olsen is a Speech Therapist. She has been working for more than five years in therapeutic centers, schools, and hospitals. She has been applying modern technologies in language disorders and learning disability treatments, and in helping schools to keep the students in the least restrictive environment. Specifically, she has been working with Moodle as an e-Learning platform, Alice and other tools, combined with the usage of Web 2.0 and general purpose modern hardware as gamepads, pen sketches, touch screens, netbooks and joysticks. She enjoys helping children and teenagers to improve their skills.
                      She has written another book for Packt Publishing, Moodle 1.9 for Teaching Special Education Children (5-10): Beginner's Guide.
                      She lives with her husband, Gaston, and her little son, Kevin. When she is not working she devotes her spare time to her family and hobbies. She enjoys modeling in cold porcelain, swimming, and researching about new technologies and techniques to apply in her treatments.
                      You can contact her at and at

                      Sorry, we don't have any reviews for this title yet.

                      Code Downloads

                      Download the code and support files for this book.

                      Submit Errata

                      Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

                      Sample chapters

                      You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                      Frequently bought together

                      Alice 3 Cookbook +    Microsoft Dynamics GP 2013 Implementation =
                      50% Off
                      the second eBook
                      Price for both: $44.10

                      Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                      What you will learn from this book

                      • Browse galleries with 3D models to add them as actors to a scene
                      • Work with keyboard and mouse input to create interactive stories
                      • Set scenes with live backgrounds, moving actors, and background music
                      • Add animals, people, and objects, and define simple and complex behaviors
                      • Work with parts of characters and people to create realistic animations
                      • Use local variables in procedures and functions to solve complex algorithms
                      • Use counters and loops and evaluate expressions to run conditional code
                      • Combine many sub-expressions with logical operators and relational operators
                      • Customize and animate a person's body and make the person interact with the environment
                      • Control multiple cameras to create realistic experiences

                      In Detail

                      Alice is a free and innovative 3D programming environment that makes it easy to create an animation for telling a story, playing an interactive game, or a video to share on the Web. Alice is a teaching tool designed as a revolutionary approach to teaching and learning introductory programming concepts.

                      Alice 3 Cookbook focuses on performing common tasks required in classrooms with Alice 3. The recipes target teachers who would like to take advantage of this exciting 3D environment in their classrooms and/or labs.

                      Alice 3 uses 3D graphics and a drag-and-drop interface to facilitate a more engaging, less frustrating programming experience. Each recipe provides step-by-step instructions that allow you to learn the most important Alice features by example. You will learn about everything from the addition of the initial actors, up to the advanced procedures to react to the keyboard and mouse input.

                      You will work with the different elements that compose a scene and learn how to change the values for properties and run simple methods. Discover how to create simple animations that will allow you to recognize the most important elements of the user interface and explore the models provided by Alice to use them in games.

                      A cookbook for teachers filled with practical recipes for showing students how to build scenes with animations and videos, using Alice 3


                      Part of Packt's cookbook series, each chapter focuses on a different aspect of working with Alice. Each recipe has practical, step-by-step instructions with lots of screenshots.

                      Who this book is for

                      This book is designed primarily for teachers developing education plans and willing to exploit 3D environments using Alice 3. Alice users who want to improve their Alice programming skills will also find this book useful as it offers innovative 3D models in action.

                      Some basic knowledge of Alice and how it works is necessary, although you are not expected to have worked with version 3 before.

                      Code Download and Errata
                      Packt Anytime, Anywhere
                      Register Books
                      Print Upgrades
                      eBook Downloads
                      Video Support
                      Contact Us
                      Awards Voting Nominations Previous Winners
                      Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                      Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software