textbook questions..need help...tu
Author |
Message |
CSC
|
Posted: Wed Dec 03, 2008 5:40 pm Post subject: textbook questions..need help...tu |
|
|
can some1 plz help me with these questions. thank u.
7. Write a program like the Bounce program only using a small
circle instead of an asterisk to represent a puck bouncing off
the boards in a hockey game. Make a sound as you bounce.
Use delay rather than a time-wasting loop.
8. Write a program to draw a cartoon of a smiling face in the
Execution window. Change the face to frown; now alternate
between these two faces.
9. Draw the face of a clown centered on the window. Use maxx
div 2, and maxy div 2 as the center of the face. Make the face
in any shape and size oval that you wish. Add a nose in the
center of the face. Add eyes so that they are symmetrically
placed on either side of the face (they should be equidistant
from the center of the face). Add a mouth, an arc. It?s center
coordinate should have maxx div 2 as its x. Add an ear on
each side of the head. Make them so that their center has
maxy div 2 for its y. Now that your clown is drawn, use
animation to close the eye and open it again. The eye should
close by reducing the size of the oval until it hits a size of 0. It
should open by drawing an eye which grows from size 0 to the
previous eye size. Use a delay to control the speed of the
closing and opening of the eye. Which eye you animate is
your choice.
they are frm the text |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Dan
|
Posted: Wed Dec 03, 2008 5:47 pm Post subject: RE:textbook questions..need help...tu |
|
|
We don't do students home work questions here. If you want help try to do the questions your self and post the code and spefice questions about the problem you are having.
Posting the exctact text of an assigment or questoin here is just going to get you flamed, yelled at and warned by the staff of this site (like i am right now :p). |
Computer Science Canada
Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more! |
|
|
|
|
|
|