1 / 19

Alice Tutorial: Overview and Concepts

Alice Tutorial: Overview and Concepts. Wayne Summers Columbus State U. 11/17/06. What is Alice?. It’s not an acronym A fun way to learn programming You “direct” a “movie” in Alice 3-D graphical environment similar to gaming environments You create animations by moving objects in a world.

lsavage
Download Presentation

Alice Tutorial: Overview and Concepts

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Alice Tutorial: Overview and Concepts Wayne Summers Columbus State U. 11/17/06

  2. What is Alice? • It’s not an acronym • A fun way to learn programming • You “direct” a “movie” in Alice • 3-D graphical environment similar to gaming environments • You create animations by moving objects in a world

  3. Alice concepts • Virtual world begins with a template • Template is the initial scene • You can add “objects” to your world • Lots of 3-D models provided in “galleries” (local or web-based) • Example: snowman object

  4. Object concepts • An object has 3 dimensions… 1) Height (vertical, top-to-bottom) 2) Width (horizontal, left-to-right) 3) Depth (front-to-back) • … and 6 directions to move in 1) Up 3) Left 5) Forward 2) Down 4) Right 6) Backward

  5. Object concepts (cont’d) • 6 directions of movement are called • 6 degrees of freedom or orientation • From the object’s perspective • Center of an object • Provides a reference for spin motions • Typically the center of mass

  6. More object concepts • Distance between objects is • Measured from center to center • Position of an object in the world is • Its center • Center of the ground is the center of the (virtual) world in Alice

  7. Getting Started • Open the “Alice” folder • Double-click “Alice” to start the program • You will see the Welcome to Alice! dialog box -

  8. Tutorials • Run the Skater tutorial • Other tutorials • Bunny – create methods • Penguins – events • Space – create scenes

  9. snowLove Exercise • Select the Examples tab and then select the snowLove example and click Open • If you don’t see the Examples tab, then cancel out of the window and… • Select the File menu and then choose Open World • After the example loads, click the Play button to run the animation

  10. snowLove Exercise (cont’d) • Observe the objects and their movements • What do the buttons do? • After the animation stops, close the window and observe… • The windows on the screen • The “Add Objects” button • All the objects in the world

  11. lakeSkater Exercise • Play the lakeSkater world and observe all the details that you did in snowLove Exercise • What makes this world more interesting than snowLove? • Is this more difficult to create than snowLove? Why or why not?

  12. Snowman Exercise (1/5) • Click on File and choose New World • Select the snow template as the initial scene • Click on Add Objects and choose People from Local Gallery • Choose the Snowman (Class Snowman) and click on “Add instance to world” • Notice how Alice positions the snowman in the center of the snow in the world

  13. Snowman Exercise(2/5) • Save your world • What extension does Alice give its worlds? • Click on the snowman object and drag it around on the screen until you like its position in your world

  14. Snowman Exercise (3/5) • One at a time, select each of the buttons on the mouse control toolkit on right top corner and experiment with the snowman • Do you find it difficult or easy to use the buttons? Which button is the easiest to use? Why? Which one is the most difficult to use? Why?

  15. Snowman Exercise (4/5) • Check the “affect subparts” box and then play with each of the buttons to control the snowman’s hat • Uncheck the “affect subparts” box • At any time, you can undo your actions by clicking the “Undo” button (next to “Play” – left top corner)

  16. Snowman Exercise (5/5) • Once you have resized the snowman and moved him (and his hat) the way you want, save the changes to your world again • Now play with the camera controls – the 3 arrow tools directly beneath your snowman in your world • Which control is the easiest? Why?

  17. Tea Party Exercise • Create a Tea Party scene with AliceLiddell, the whiteRabbit, a table, three chairs, a teapot, toaster and plate. • Use method instructions, the mouse, and quad view to properly position objects on the table.

  18. What you can do next • Do the exercises in one of the texts • Go to alice.org and search for more 3-D models in the Web gallery • Try to do the more “challenging” exercises • Work in pairs or teams and have fun!

  19. Resources • http://www.alice.org/ • Demonstration videos • Learning to Program with Alice • A 1-page handout giving a brief overview of Alice • A video (75MB .WMV) describing Alice -- from 2003 • Summer Camps for Middle School Students • Textbook info

More Related