May 6, 2011

May 6 2011

I actually got a lot done today. First off I started chapter 5. Yay! Chapter 4 was the Crab game, so I'm glad I don't have to do any more work on that. Chapter 5 on the other hand, is making an interactive piano. I got to part 3 of chapter 5, which is good for one day. I hadn't used any boolean code in a while, so i sort of forgot what that was. But when I needed ot use it, i went back to chapter 3 and remembered. One of the first parts of the piano is making two keys play different sounds. I tried three times to get it right, but every time I put in a code (which Michael helped with a little) I would press "f" (the first of the two buttons) and it would play one sound and keep playing after I let go of the button, and then get all frozen. When I pressed "g" nothing would happen. But after some trial and error (and going back a few pages to reread everything) I got the code to work and play any button with a different sound.

No comments:

Post a Comment