|
Game Exercise 5: Lingo: intersect of sprite property, puppetSound, the mouseH, the mouseV, count(listname) EXAMPLE: The following lingo counts the number of members in a list and updates a field on stage. put count(bricklist) into field "score" REVIEW: basic properties (locH, locV, width, height, color, rotation, blend, locH, locV), marker navigation, and if-then statements. |
IN-CLASS TECHNICAL EXERCISES:
1) Create a single frame movie 640 x 480 pixel stage size. Place at least 5 "bricks" (vector cast membes) on stage in channels 1 through 5. Create a moveable sprite that you can drag around with your mouse when the movie is playing. Make a list that is updated on stage with the number of bricks that your moveable sprite hits when you are interacting.
2) Open an old movie movie with a ball that bounces around the walls of the stage. Place at least 10 "bricks" (vector cast membes) on stage in channels 1 through 10. Create a circular "ball" sprite and place in channel 15. Now have the bricks disappear when your ball sprite touches, or intersects them. Post a score that gives you 10 points per brick that the computer knocks away.
3) Using your movie from exercise 2 make your paddle interactive so that you have to hit it up. Make sure you change the necessary scripts so that you will go to a new marker named "youLost" if the ball does not hit the paddle and hits the bottom of your stage instead.
HOMEWORK: MIDTERM PROJECT PROPOSAL
Midterm project work: At minimum, have the introduction and basic game template done by next week...we will have a short preliminary critique.