SlideServe
Menu
Préférences
© SlideServe · v2026

Alice Programming Tutorial: Overview and Concepts

lsavage avatar
19 diapositives · 233 Views · Jan 05, 2020

Learn programming in a fun way with Alice, a 3-D graphical environment where you direct movies by moving objects in a virtual world. Understand concepts like object dimensions, movement directions, and more. Get started with tutorials, exercises, and resources to enhance your skills.

Alice Programming Tutorial: Overview and Concepts - slide 1
01 / 19Alice Programming Tutorial: Overview and Concepts
1 / 17

Télécharger la présentation

Alice Programming Tutorial: Overview and Concepts
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  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