Tải bản đầy đủ (.pdf) (4 trang)

Scratch practice exercises

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (123.46 KB, 4 trang )

Scratch Practice Exercises

Practice Exercise #1:
The purpose of this assignment is to familiarize you with the Scratch
programming environment by creating a simple animated story similar to the
cat and dog story.
For your animated story, be creative and have some fun! You can implement
any action or any story with any characters that you find interesting. I expect
that you will use the broadcast and When I receive blocks to activate scripts
across sprites. Remember to use good names for the broadcast and receive
messages!
At a minimum, I expect that your animated story will include:






At least two Sprites. You may either draw your own Sprites, use some of
the existing Sprites included with Scratch, or import your own images (in
.jpg or .gif format) to make Sprites
Each Sprite should contain at least three scripts
The scripts should use a variety of blocks from at least the Motion, Looks
and Sounds categories
Add a background other than white!

In your story, you may not use existing code that you find elsewhere, including
the Scratch website. You may look at the behavior of existing Scratch projects
for inspiration, but you should develop all of your code as a completely new
project and not modify, re-mix, or build from anyone else's code.
Save as: Animated Story



GO TO NEXT PAGE


Choose 2 of the following Activities to complete in Scratch:
Activity #1: Create a Pong Game
Requirements:
1. Must have a paddle that the user controls with the mouse.
2. Must have a ball that moves on its own and bounces off the edges of the
world.
3. Ball must bounce off the paddle.
Add Extras:
1. Design a "Breakout" like game where the ball hits bricks in a wall. The bricks
disappear and score is kept.
2. The ball bounces off the paddle in an angle of reflection that is equal to the
angle of attack.
3. Use random statements to vary the ball angle when it bounces off the
paddle.
Step by Step Pong Directions
Activity #2: Spinner Art (Screensaver Program)

Requirements:
1. Have a Sprite that spins stamps itself on stage.
2. Spinning Sprite glides around to random spots around stage - leaving a
stamped trail.
3. When "space" key is pressed - the stamp effects clear the stage.


Add Extras:
1. When "c" key is pressed - the colors of the Stamper Sprite change.

2. Give use to other keys to change the Stamper Sprite's costume.
Sample of Spinner Art Program
Sample 2 of Spinner Art Program
Activity #3: Growing Flowers

Requirements:
1. Have a Sprite that creates a stem and flower when clicked.
2. Use Pen and color change to create colored flowers.
Add Extras:
1. When "c" key is pressed - the screen clears.
2. Make a stage background with grass and sky.
Sample of Flower Art Program


Activity #4: Racing Game

Requirements:
1. A Race Car that the user controls with the arrow keys for direction and speed
2. A simulated road with a striped line down the center showing "speed" and
"motion" of car.
3. Puddles or other obstacles for the car to avoid
Add Extras:
1. Other Race Cars to pass during the game.
2. When the user's Race Car touches a puddle or other cars, the Race Car "spins
out of control."



Tài liệu bạn tìm kiếm đã sẵn sàng tải về

Tải bản đầy đủ ngay
×