Using Alice This is an introduction to Alice.
I am creating a new world in Alice so I will click on New World.
These template choices are shown – I am going to select snow.
I am now going to open the object gallery by clicking on Add Objects.
The local gallery now comes up and I can scroll through looking for objects to add to my snow scene.
I am going to first select something from nature.
I dragged the Classic Birch Tree to the scene.
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.
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.
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.
Now I have dragged over glide.
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.
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.
You can see that the penguin does all of the activities that are defined as part of the glide.
I decided that when the penguin jumped it was jumping too high so I have changed the height to 1.
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.
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.
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.
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.
Now I want to turn the penguin and move him forward toward the center of the screen.
The penguin has now turned around – next will code a forward mothion.
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.
This shows the results of having the penguin think…
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.