Getting Started With Alice The Basics精品分析.pptVIP

  • 4
  • 0
  • 约5.94千字
  • 约 13页
  • 2018-09-07 发布于湖北
  • 举报

Getting Started With Alice The Basics精品分析.ppt

Getting Started With Alice The Basics精品分析

Getting Started With Alice: The Basics By Jenna Hayes under the direction of Professor Susan Rodger Duke University July 2008 /csed/alice/aliceInSchools * Step 1: Background Open up Alice, and choose a background for your Alice world. Your world is something you can put objects in and make them do things. There are six different background options. For this example, choose grass. Step 2:Object Library Add an object to your Alice world. Alice is full of different kinds of objects to add to your world to make it interesting. Click on the Add Objects button: Click on the animals folder of objects: * Step 3: Add Object Find the bunny among the types of objects and click on it. Then click Add Instance to World. This is how you add an object to your Alice world. The bunny object will appear in your world. Click the green Done arrow on the right hand side of the screen to begin working with your new bunny. Step 4: Finding Methods On your Alice screen, you should see your method editor. This is the area where you will be telling your bunny what to do. It looks like this: A method is a command you can tell to your bunny. Your bunny already knows certain commands. Find the object tree that lists the objects in your world, in the left hand corner of your screen, and click on bunny: * Step 5: Adding Methods Below the object tree, the methods, or commands, that your bunny already knows will pop up: We are going to make your bunny jump, by using the move method to tell it to go up and then back down again. Before we can do that, we need to find the Do in order button under the method editor, click it, and drag and drop it into the method editor: When we drop methods into this new Do in order command, this will make the bunny, guess what, do them in order! * Step 6: Adding Methods cont. Click on the move method in the list of methods under the object tree, drag it across to the method editor, and drop it on top of your Do in order command: When you release the mo

文档评论(0)

1亿VIP精品文档

相关文档