Presentation is loading. Please wait.

Presentation is loading. Please wait.

Using Alice This is an introduction to Alice..

Similar presentations


Presentation on theme: "Using Alice This is an introduction to Alice.."— Presentation transcript:

1 Using Alice This is an introduction to Alice.

2 I am creating a new world in Alice so I will click on New World.

3 These template choices are shown – I am going to select snow.

4 I am now going to open the object gallery by clicking on Add Objects.

5 The local gallery now comes up and I can scroll through looking for objects to add to my snow scene.

6 I am going to first select something from nature.

7 I dragged the Classic Birch Tree to the scene.

8 Now I have dragged a penguin to the scene
Now I have dragged a penguin to the scene. I then clicked on done since I am finished moving objects for the moment.

9 I now dragged two methods to my world
I now dragged two methods to my world. First the penguin is going to wing_flap 2 times and then it is going to jump 2 times. If I click on Play, I can see it happen. Note the penguin glide is on a tab because I dragged it over and then changed my mind. I decided to wait to put it on.

10 This shows the penguin after I clicked play
This shows the penguin after I clicked play. It flapped and jumped and now it has stopped. I will now click stop so I can continue planning.

11 Now I have dragged over glide.

12 The glide has predefined instructions that are done together to make the penguin glide. They are shown in this screen. Notice that when the penguin glides, it glides 5 meters. This takes it off the screen. I adjusted that to 1 meter as shown on the next slide.

13 When the penguin glides forward the wings flap.
You can see I changed the move to 1 meter. This shows the end of the glide. When I watch the penguin glide forward for 1 meter I can also see that he flaps his wings. This is grouped together as shown above. When the penguin glides forward the wings flap.

14 You can see that the penguin does all of the activities that are defined as part of the glide.

15 I decided that when the penguin jumped it was jumping too high so I have changed the height to 1.

16 At the end of the glide the penguin is facing down, so I am going to make him stand. These are some of the choices I can make as I do that.

17 When I test this, the penguin is ending up looking up
When I test this, the penguin is ending up looking up. I don’t like this view so I am going to change it.

18 I am happier with the head now. Note that I periodically do a file save. If I don’t Alice will prompt me every few minutes.

19 Now I have decided that I want the penguin to do two things together, so I dragged up the Do together and then I dragged over waling and wing flapping.

20 Now I want to turn the penguin and move him forward toward the center of the screen.

21 The penguin has now turned around – next will code a forward mothion.

22 After the penguin turned
After the penguin turned .5 revolutions, there was forward motion followed by another turn. When I play, I see all of the actions that I have coded.

23 This shows the results of having the penguin think…

24 Now I want to do a loop – 4 times was not an option so I selected other and then keyed in 4 as a custom number. I then put in the activities that I wanted to happen each of the four times that the loop is executed.


Download ppt "Using Alice This is an introduction to Alice.."

Similar presentations


Ads by Google