SlideShare a Scribd company logo
1 of 18
Download to read offline
Build a basic maze in
Scratch
Prepared by Joy
Suliman for SLQ
Create the hero
Delete the cat
New sprite
Choose a sprite
from the file
Position it on
stage
Resize (shrink/
grow)
Rename it hero
Moving your hero
Select hero
When up arrow
key pressed
Point in direction 0
Move 10 steps
Duplicate with
stamp 3 times
Adjust values for
all directions
Create the maze background
Stage /
Backgrounds
New Background:
Paint
Select paint
bucket tool
Choose colour
and fill
Draw the maze
Paint new sprite
Zoom out
Select paint bucket
tool
Select rectangle tool
Draw a few
rectangles with
spaces between Rename sprite to maze
Rename costume to maze1
Resetting the hero
Select hero
When flag clicked
Go to x: y:
Point in direction 90
Forever if
Touching maze
Turn 180 degrees
Move 20 steps
Create the prizes
Select new sprite
from folder,
position, resize
Rename
Create the code
Duplicate the sprite
with stamp
Position, resize,
rename new
sprites
Create the maze background
Stage /
Backgrounds
New Background:
Paint
Select paint bucket
tool
Choose colour and
fill
Add sound effects
Select hero
Play drum 39 for 0.1
beats
Insert code into reset
loop
Select prize
Play drum 48 for 0.1
beats
Insert code, repeat for
each prize
Keeping score
Create a variable
called “score” for all
Select hero
Set score to 0
Select prize
Change score by 1
Simple you win
Select hero
When flag clicked
Forever
If
Score
= 3
Say winner!!
Want to add more levels?
We'll need to create a new set of variables
and put them into action
So watch carefully . . .
  Remove the
“winner” script
from the shark
  Create a variable
“level”
  Add this code to
the script for the
stage
  It works by setting
the level to the
score
Setting up the levels
Changing the maze
  Create a new
costume for the maze
called maze 2
  Create a new
costume for the maze
with a win message
called end screen
  Include this code in
the maze scripts
New prizes for the new level
  Draw or import a new
prize sprite
  Create a new
costume for the maze
with a win message
called end screen
  Include this code in
the maze scripts
A bit of tidying up . . .
  Select the hero
  Add these two bits of
code
Pimp and personalise your
game . . .
  Animate the
hero or prizes
  Add more
levels, see if
you can
make then
harder
  Set a timer
for each level
  Use the pen
scripts so
that you hero
leaves a trail
  Create
instructions,
a start screen
and story
  Add or create
soundtrack
for your
game
Want more?
  Go to the scratch website
www.scratch.mit.edu
  Have a look around, find something you like,
check out the code, and see if you can modify it
to use in your game.

More Related Content

What's hot

Belajar Pemrograman Scratch Part 1
Belajar Pemrograman Scratch Part 1Belajar Pemrograman Scratch Part 1
Belajar Pemrograman Scratch Part 1Joko Prasetyo
 
1. pengenalan scratch
1. pengenalan scratch1. pengenalan scratch
1. pengenalan scratchFajar Baskoro
 
Tutorial Blender 3D Pengenalan Interface Fundamental
Tutorial Blender 3D Pengenalan Interface Fundamental Tutorial Blender 3D Pengenalan Interface Fundamental
Tutorial Blender 3D Pengenalan Interface Fundamental Hendi Hendratman
 
Slide Presentasi Game
Slide Presentasi GameSlide Presentasi Game
Slide Presentasi GameHamid San
 
Metode pengembangan game digital
Metode pengembangan game digitalMetode pengembangan game digital
Metode pengembangan game digitalToto Haryadi
 
Pulse width modulation
Pulse width modulationPulse width modulation
Pulse width modulationSidiq Abdullah
 
Autocad lezione 5
Autocad lezione 5Autocad lezione 5
Autocad lezione 5Carella2014
 
2. instalasi scratch
2. instalasi scratch2. instalasi scratch
2. instalasi scratchFajar Baskoro
 
Membuat storyboard
Membuat storyboardMembuat storyboard
Membuat storyboardSayugo
 
2. Materi Pembelajaran Storyboard
2.  Materi Pembelajaran Storyboard2.  Materi Pembelajaran Storyboard
2. Materi Pembelajaran StoryboardMartin Arale
 
Membuat Games dengan Scratch
Membuat Games dengan ScratchMembuat Games dengan Scratch
Membuat Games dengan ScratchPutri Lestari
 
Kelompok 6 (Material Pada Blender) X-PM 1
Kelompok 6 (Material Pada Blender) X-PM 1Kelompok 6 (Material Pada Blender) X-PM 1
Kelompok 6 (Material Pada Blender) X-PM 1sitikumaya
 
Elemen formal dalam game
Elemen formal dalam gameElemen formal dalam game
Elemen formal dalam gameToto Haryadi
 

What's hot (20)

Belajar Pemrograman Scratch Part 1
Belajar Pemrograman Scratch Part 1Belajar Pemrograman Scratch Part 1
Belajar Pemrograman Scratch Part 1
 
1. pengenalan scratch
1. pengenalan scratch1. pengenalan scratch
1. pengenalan scratch
 
Tutorial Blender 3D Pengenalan Interface Fundamental
Tutorial Blender 3D Pengenalan Interface Fundamental Tutorial Blender 3D Pengenalan Interface Fundamental
Tutorial Blender 3D Pengenalan Interface Fundamental
 
Slide Presentasi Game
Slide Presentasi GameSlide Presentasi Game
Slide Presentasi Game
 
6. looks scratch
6. looks scratch6. looks scratch
6. looks scratch
 
Osciloscope
OsciloscopeOsciloscope
Osciloscope
 
Metode pengembangan game digital
Metode pengembangan game digitalMetode pengembangan game digital
Metode pengembangan game digital
 
Pulse width modulation
Pulse width modulationPulse width modulation
Pulse width modulation
 
Membuat animasi 2 d dengan adobe flash animasi dasar
Membuat animasi 2 d dengan adobe flash animasi dasarMembuat animasi 2 d dengan adobe flash animasi dasar
Membuat animasi 2 d dengan adobe flash animasi dasar
 
Scratch Lesson 2
Scratch Lesson 2Scratch Lesson 2
Scratch Lesson 2
 
Autocad lezione 5
Autocad lezione 5Autocad lezione 5
Autocad lezione 5
 
7. sound scratch
7. sound scratch7. sound scratch
7. sound scratch
 
2. instalasi scratch
2. instalasi scratch2. instalasi scratch
2. instalasi scratch
 
Membuat storyboard
Membuat storyboardMembuat storyboard
Membuat storyboard
 
2. Materi Pembelajaran Storyboard
2.  Materi Pembelajaran Storyboard2.  Materi Pembelajaran Storyboard
2. Materi Pembelajaran Storyboard
 
04 storyboard
04 storyboard04 storyboard
04 storyboard
 
MANAJEMEN PRODUKSI FILM
MANAJEMEN PRODUKSI FILMMANAJEMEN PRODUKSI FILM
MANAJEMEN PRODUKSI FILM
 
Membuat Games dengan Scratch
Membuat Games dengan ScratchMembuat Games dengan Scratch
Membuat Games dengan Scratch
 
Kelompok 6 (Material Pada Blender) X-PM 1
Kelompok 6 (Material Pada Blender) X-PM 1Kelompok 6 (Material Pada Blender) X-PM 1
Kelompok 6 (Material Pada Blender) X-PM 1
 
Elemen formal dalam game
Elemen formal dalam gameElemen formal dalam game
Elemen formal dalam game
 

Viewers also liked

Scratch In The Classroom
Scratch In The ClassroomScratch In The Classroom
Scratch In The ClassroomJanis Williams
 
Scratch: Programming for everyone
Scratch: Programming for everyoneScratch: Programming for everyone
Scratch: Programming for everyoneAkshar Desai
 
Learn MS Powerpoint basics
Learn MS Powerpoint basicsLearn MS Powerpoint basics
Learn MS Powerpoint basicsvethics
 
Power point tutorial basic animations.pptx
Power point tutorial basic animations.pptxPower point tutorial basic animations.pptx
Power point tutorial basic animations.pptxOsama Adel
 
Microsoft PowerPoint 2010
Microsoft PowerPoint 2010Microsoft PowerPoint 2010
Microsoft PowerPoint 2010nhumar
 
Microsoft Power Point
Microsoft Power PointMicrosoft Power Point
Microsoft Power PointOwly Eyes
 
Slideshare Powerpoint presentation
Slideshare Powerpoint presentationSlideshare Powerpoint presentation
Slideshare Powerpoint presentationelliehood
 

Viewers also liked (13)

Ms power point grade vi
Ms power point grade viMs power point grade vi
Ms power point grade vi
 
Ms powerpoint
Ms powerpointMs powerpoint
Ms powerpoint
 
Microsoft Powerpoint Basics
Microsoft Powerpoint BasicsMicrosoft Powerpoint Basics
Microsoft Powerpoint Basics
 
Scratch In The Classroom
Scratch In The ClassroomScratch In The Classroom
Scratch In The Classroom
 
Power Point Basics
Power Point BasicsPower Point Basics
Power Point Basics
 
Scratch: Programming for everyone
Scratch: Programming for everyoneScratch: Programming for everyone
Scratch: Programming for everyone
 
Learn MS Powerpoint basics
Learn MS Powerpoint basicsLearn MS Powerpoint basics
Learn MS Powerpoint basics
 
Power point tutorial basic animations.pptx
Power point tutorial basic animations.pptxPower point tutorial basic animations.pptx
Power point tutorial basic animations.pptx
 
Microsoft PowerPoint 2010
Microsoft PowerPoint 2010Microsoft PowerPoint 2010
Microsoft PowerPoint 2010
 
Microsoft Power Point
Microsoft Power PointMicrosoft Power Point
Microsoft Power Point
 
PowerPoint Tutorial
PowerPoint TutorialPowerPoint Tutorial
PowerPoint Tutorial
 
Slideshare Powerpoint presentation
Slideshare Powerpoint presentationSlideshare Powerpoint presentation
Slideshare Powerpoint presentation
 
Slideshare ppt
Slideshare pptSlideshare ppt
Slideshare ppt
 

Recently uploaded

Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 

Recently uploaded (20)

Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 

Build a basic maze in scratch (v1)

  • 1. Build a basic maze in Scratch Prepared by Joy Suliman for SLQ
  • 2. Create the hero Delete the cat New sprite Choose a sprite from the file Position it on stage Resize (shrink/ grow) Rename it hero
  • 3. Moving your hero Select hero When up arrow key pressed Point in direction 0 Move 10 steps Duplicate with stamp 3 times Adjust values for all directions
  • 4. Create the maze background Stage / Backgrounds New Background: Paint Select paint bucket tool Choose colour and fill
  • 5. Draw the maze Paint new sprite Zoom out Select paint bucket tool Select rectangle tool Draw a few rectangles with spaces between Rename sprite to maze Rename costume to maze1
  • 6. Resetting the hero Select hero When flag clicked Go to x: y: Point in direction 90 Forever if Touching maze Turn 180 degrees Move 20 steps
  • 7. Create the prizes Select new sprite from folder, position, resize Rename Create the code Duplicate the sprite with stamp Position, resize, rename new sprites
  • 8. Create the maze background Stage / Backgrounds New Background: Paint Select paint bucket tool Choose colour and fill
  • 9. Add sound effects Select hero Play drum 39 for 0.1 beats Insert code into reset loop Select prize Play drum 48 for 0.1 beats Insert code, repeat for each prize
  • 10. Keeping score Create a variable called “score” for all Select hero Set score to 0 Select prize Change score by 1
  • 11. Simple you win Select hero When flag clicked Forever If Score = 3 Say winner!!
  • 12. Want to add more levels? We'll need to create a new set of variables and put them into action So watch carefully . . .
  • 13.   Remove the “winner” script from the shark   Create a variable “level”   Add this code to the script for the stage   It works by setting the level to the score Setting up the levels
  • 14. Changing the maze   Create a new costume for the maze called maze 2   Create a new costume for the maze with a win message called end screen   Include this code in the maze scripts
  • 15. New prizes for the new level   Draw or import a new prize sprite   Create a new costume for the maze with a win message called end screen   Include this code in the maze scripts
  • 16. A bit of tidying up . . .   Select the hero   Add these two bits of code
  • 17. Pimp and personalise your game . . .   Animate the hero or prizes   Add more levels, see if you can make then harder   Set a timer for each level   Use the pen scripts so that you hero leaves a trail   Create instructions, a start screen and story   Add or create soundtrack for your game
  • 18. Want more?   Go to the scratch website www.scratch.mit.edu   Have a look around, find something you like, check out the code, and see if you can modify it to use in your game.