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

Scratch programming introduction to game creation
Scratch programming  introduction to game creationScratch programming  introduction to game creation
Scratch programming introduction to game creationAnkita Shirke
 
Computer Coding with Scratch: Lesson 2_primaryschoollessons
Computer Coding with Scratch: Lesson 2_primaryschoollessonsComputer Coding with Scratch: Lesson 2_primaryschoollessons
Computer Coding with Scratch: Lesson 2_primaryschoollessonsSeniorInfants
 
Pong on SCRATCH Directions
Pong on SCRATCH DirectionsPong on SCRATCH Directions
Pong on SCRATCH Directionsvkmitchell
 
Scratch programming
Scratch programmingScratch programming
Scratch programmingYvonieDoria
 
Introduction to scratch
Introduction to scratchIntroduction to scratch
Introduction to scratchemreyz
 
Inspiring Kids to Code Using Scratch and Other Tools
Inspiring Kids to Code Using Scratch and Other ToolsInspiring Kids to Code Using Scratch and Other Tools
Inspiring Kids to Code Using Scratch and Other ToolsSt. Petersburg College
 
Lecture 5 macromedia flash
Lecture 5 macromedia flashLecture 5 macromedia flash
Lecture 5 macromedia flashpoleyseugenio
 
Scratch for Data Logging and Graphing
Scratch for Data Logging and GraphingScratch for Data Logging and Graphing
Scratch for Data Logging and GraphingBrian Huang
 
An introduction to Scratch
An introduction to ScratchAn introduction to Scratch
An introduction to ScratchPiers Midwinter
 
Scratch Parrot Game
Scratch Parrot GameScratch Parrot Game
Scratch Parrot Gamejenloudun
 

What's hot (20)

Scratch programming introduction to game creation
Scratch programming  introduction to game creationScratch programming  introduction to game creation
Scratch programming introduction to game creation
 
Computer Coding with Scratch: Lesson 2_primaryschoollessons
Computer Coding with Scratch: Lesson 2_primaryschoollessonsComputer Coding with Scratch: Lesson 2_primaryschoollessons
Computer Coding with Scratch: Lesson 2_primaryschoollessons
 
Pong on SCRATCH Directions
Pong on SCRATCH DirectionsPong on SCRATCH Directions
Pong on SCRATCH Directions
 
Day 1( magic camp)(1)
Day 1( magic camp)(1)Day 1( magic camp)(1)
Day 1( magic camp)(1)
 
Scratch programming
Scratch programmingScratch programming
Scratch programming
 
Scratch Animation
Scratch AnimationScratch Animation
Scratch Animation
 
Introduction to scratch
Introduction to scratchIntroduction to scratch
Introduction to scratch
 
Libre office calc
Libre office calcLibre office calc
Libre office calc
 
Manual de practicas de dreamweaver
Manual de practicas de dreamweaverManual de practicas de dreamweaver
Manual de practicas de dreamweaver
 
Inspiring Kids to Code Using Scratch and Other Tools
Inspiring Kids to Code Using Scratch and Other ToolsInspiring Kids to Code Using Scratch and Other Tools
Inspiring Kids to Code Using Scratch and Other Tools
 
Lecture 5 macromedia flash
Lecture 5 macromedia flashLecture 5 macromedia flash
Lecture 5 macromedia flash
 
Scratch for Data Logging and Graphing
Scratch for Data Logging and GraphingScratch for Data Logging and Graphing
Scratch for Data Logging and Graphing
 
An introduction to Scratch
An introduction to ScratchAn introduction to Scratch
An introduction to Scratch
 
Scratch Parrot Game
Scratch Parrot GameScratch Parrot Game
Scratch Parrot Game
 
Lecture 1.pptx
Lecture 1.pptxLecture 1.pptx
Lecture 1.pptx
 
Manual de publisher 2016.docx
Manual de publisher 2016.docxManual de publisher 2016.docx
Manual de publisher 2016.docx
 
Scratch Lesson 2
Scratch Lesson 2Scratch Lesson 2
Scratch Lesson 2
 
Visual studio 2019 launch
Visual studio 2019 launch Visual studio 2019 launch
Visual studio 2019 launch
 
crear tablas en word
crear tablas en wordcrear tablas en word
crear tablas en word
 
Guia ejercicios flash
Guia ejercicios flashGuia ejercicios flash
Guia ejercicios flash
 

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

Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxAmita Gupta
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxdhanalakshmis0310
 
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
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 

Recently uploaded (20)

Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
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
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 

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.