Sunday, January 30, 2011

Adding Input With the Mouse




     Recently, I have just completed adding input with the mouse. In this scene, you have to drag the cellphone from the charger into Sally's purse. As you are doing this, you hear the cellphone ringing. I got my code to drag the cellphone from the drag and drop tutorial. It was the easiest task because it worked on the first time. The hardest part was getting the cellphone to disappear into Sally's purse. At first, the cellphone would just cover up the purse. Most of all, it was a great learning experience because I figured out how to code an object to drag, and to add a sound when it reaches its destination.

No comments:

Post a Comment