1. Trang chủ
  2. » Giáo án - Bài giảng

Scratch coordinate movement

23 208 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 23
Dung lượng 5,24 MB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Scratch Coordinate & Movements Scrat ch Coordinate and Movement... Handout Coordinate Sheet... Move – Common Uses Moving a sprite forward in an animation  Larger steps will make the

Trang 1

Scratch

Coordinate & Movements

Scrat ch

Coordinate and

Movement

Trang 2

JOURNAL: Write an algorithm on how to move the cat down the hall and up the stairs?

Trang 3

Handout Coordinate Sheet

Trang 4

FIND: X:0, Y:0

Trang 5

X:0, Y:0

FIND:

X:100, Y:0

Trang 6

X:100, Y:0

FIND:

X:0, Y:-100

Trang 7

X:0, Y:-100

FIND:

X:200, Y:100

Trang 8

X:200, Y:100

FIND:

X:-200, Y:150

Trang 9

X:-200, Y:150

FIND:

X:100, Y:-180

Trang 10

X:100, Y:-180

Trang 13

to move in the reverse direction

Trang 14

Move – Common Uses

 Moving a sprite forward in an animation

 Larger steps will make the sprite

move faster

 Smaller steps will make the sprite

move slower

 Making a sprite follow a mouse

 The sprite will chase the cursor

around the screen

Trang 15

Go to

 Go to X: () Y: ()

 The “Go to” block sets the sprite’s X and Y

position to the specified amounts.

 X and Y values are related to the coordinate plane

 The “Go to” block is used when a sprite needs

to jump to another spot

 Simplest way to move a sprite around the

screen

Trang 16

Go to – Common Uses

indicated location

the beginning of a stage

Trang 17

 Glide () Secs to X: () Y: ()

 The Glide block moves the sprite steadily to a

specified X and Y position

 The sprite will move in a specified number of seconds

 Smaller numbers will make the sprite move faster

 Larger number will make the sprite move slower

 The Glide block is like the Move block but with more precision

Trang 18

Glide – Common Uses

 Fish moving in a tank

 Falling objects

 A sprite moving to another sprite

Trang 19

Scratch Examples

Log into scratch

URL:

https://scratch.mit.edu /projects/17690143 /

Click Green flag Use number keys

1, 2, 3

To show the different movements

Trang 20

Direct Instruction

 All students log into Scratch

Trang 21

Baseball Code

Trang 22

Assignment: apply castle 4 or

Brick-Wall-and-Stairs

Trang 23

The End

Ngày đăng: 07/07/2017, 09:40

TỪ KHÓA LIÊN QUAN