SCRATCH PROGRAMMING QUARTER ONE

Back to index
Grow and Shrink:

Hopefully you know that the screen area in Scratch can be divided up into the following four quadrants: (-,-), (-,+), (+,-), and (+,+). Since the center of the screen is (0,0) any location to the left of center will have a negative x-value and anything to the right of center will have a positive x-value. Likewise, anything above the center will have a positive y-value and anything below center will have a negative y-value. Plug x and y into your (x,y) coordinate and you can locate any position on the screen.


View project at Scratch

Additionally you should understand that the maximum x-value is 240 and that the minimum x-value is -240. Similarly, the maximum y-value is 180 and the minimum y-value is -180. Of course, this would mean that the center of the (+,+) quadrant would be (120,90).

ASSIGNMENT:

Your job is to alter the demo assignment so that instead of four sprites growing and shrinking to fill four quadrants, you will have eight sprites growing and shrinking to fill eight areas as shown in the diagram below. You will need to figure out the coordinates of the center of each area in order to successfully complete this assignment.