Sunday, May 14, 2017

Hand Ball - ALICE Program

Hand Ball

Create a world with a right hand (People) holding a toy ball (Sports).  Have the fingers close to grasp the ball. Then, throw the ball into the air while opening the fingers of the hand. Finally, make the hand catch the ball as the hand recloses its fingers.

Hint: Tips & Techniques 2 tells how to use the vehicle property to make the ball move as the hand moves.
                                                            

Solution:
When this program starts, hand throws the ball and then grasps it - closing and opening the fingers of the hand. The hand throws the ball up five times.
Below is the video for this Alice program, created using Alice 2.3
                                          
   

Contact me for the comprehensive step-by-step guide on how to create this game in ALICE as well as the final source code. I can modify the program if you would need any changes.
                                    
                               

Drinking Parrot - ALICE Program

Drinking Parrot

A small toy popular with children is a drinking parrot. The parrot is positioned in front of a container of water and its body given a push. Because of the counterbalance of weights on either end of its body, the parrot repeatedly lowers its head into the water. Create a simulation of the drinking parrot (Objects). Use an infinite Loop statement to make the parrot drink.

Hint: We used the blender object (Kitchen gallery), p
ushed the base into the ground, deleted the lid, and changed the color of the blender to blue to simulate a bucket of water.

                                                                                        

Solution:
In this program, when the user first clicks anywhere on the parrot, it starts moving up and down infinitely.
Below is the video for this Alice program, created using Alice 2.3


Contact me for the comprehensive step-by-step guide on how to create this game in ALICE as well as the final source code.

Friday, December 2, 2016

Room Remodel - ALICE Program

Room Remodel

Sometimes the hardest decision to make when repainting a room is choosing the color. Create a world that helps a person decide what color they should choose for their walls and carpeting. Make a room scene by using three squares (SHAPES) as the wall and add furniture (Furniture) to it. To get the look and feel of carpeting, add the moonSurface (Space) and use its texture for the floor. Create a list named wallColor (a list of type Color) and add five colors to the list. Create a second list of colors name floorColors and add five colors to the list. Use nested For all loops with the lists to show every possible combination for the wall and floor colors. Use a wait statement to allow the viewer to see a color combination a couple second before showing the next color combination