This preview shows page 1. Sign up to view the full content.
Unformatted text preview: The first should be blue and 5 pixels from the left end. It should begin with a vertical speed of 1 pixel/loop downward, and when it reaches the bottom or top of the screen, it should bounce off. The second should be red and 5 pixels from the right end. It should begin with the same speed, but when it touches the bottom of the screen, it should appear back at the top and continue with the same speed, so it has a scrolling effect. 5. [10%] Extra Credit: Make the scrolling effect when the right paddle reaches the bottom smooth. That is, as each row of the rectangle passes the boundary, only that row will appear back at the top, so it is a continuous transition. To Submit on T-Square: 1. Submit your file main.c for Assignment 2....
View Full Document
This note was uploaded on 10/20/2009 for the course COE 1 taught by Professor Many during the Spring '09 term at Georgia Institute of Technology.
- Spring '09