Java TOPIC
21 – LOOP APPLICATION: ANIMATION LESSON WORK QUESTION
1 (GROUP WORK?) Make
an object move in a random direction and bounce off the outside of the window
so that it stays on-screen at all times.
Use trial and error to make it bounce at approximately the correct
place but we will discuss why this may be challenging. |
|