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

making a maze game in scratch 1

5 173 0

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

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 5
Dung lượng 305,42 KB

Nội dung

Making a Maze Game in Scratch This lesson shows how to make a maze game in Scratch On the Stage, I created an Instructions page and Level Making a Maze Game in Scratch - When the player clicks the green flag, the Instructions page comes up I used the broadcast function to start the game You will see in the next step where "start game" comes from When the banana is clicked, it broadcasts a message called "Start Game" Remember that when "Start Game" is broadcasted, it switches the background from the Instructions to Level Making a Maze Game in Scratch - This makes the banana move around the maze If it is touching a wall, it goes backwards which makes it look like it has bounced off the wall This script puts the banana on the top left of the screen at the beginning If it is touching black (which is "End" then it goes back to the beginning and broadcasts "next level" Making a Maze Game in Scratch - Now, you need to make a new level Go to the stage and make a new level It might be a good idea to just copy Level and then change it Make sure that the walls are the same color You can use straight lines or wavy If you want them to be vertical or horizontal, hold down the SHIFT key when drawing the line Make sure that you have zoomed out all the way when drawing the background (see 1) Making a Maze Game in Scratch - Add the script to change the level Making a Maze Game in Scratch - ... it broadcasts a message called "Start Game" Remember that when "Start Game" is broadcasted, it switches the background from the Instructions to Level Making a Maze Game in Scratch - This makes... vertical or horizontal, hold down the SHIFT key when drawing the line Make sure that you have zoomed out all the way when drawing the background (see 1) Making a Maze Game in Scratch - Add the... beginning If it is touching black (which is "End" then it goes back to the beginning and broadcasts "next level" Making a Maze Game in Scratch - Now, you need to make a new level Go to the stage

Ngày đăng: 07/07/2017, 08:36

TỪ KHÓA LIÊN QUAN

w