How to Make A Maze Game in Scratch 3.0 | Scratch 3.0 Tutorial |Scratch Tutorial for begineer

Code For Kids · Beginner ·🛠️ AI Tools & Apps ·4y ago

Key Takeaways

Builds a Maze game in Scratch 3.0 using variables, loops, and conditionals

Full Transcript

everyone welcome back to my channel code for kids so till now we did lots of things like how you will create your fish tank project how you will draw these circles or any shape after that we did dino jump projects so this is our next project like how you will create your main scheme okay first i will show you this project see once you click on the run button you will get your ball okay now once you will click on the down arrow you are able to move to the downside if you want you can just click on your left arrow up arrow then again right arrow okay up arrow again right and now down arrow okay see it will show you your fee okay so now let's start this project okay so first thing i will take for new project i will show you okay how you will create this scheme okay so now first i will take one new project so you need to just click on the file and select the new you will get one new project here so first we will delete the cat now first thing you have to add your maze structure okay now you will add that now we will not select any backdrop we will uh click on the paint option and we have to draw our maze whatever shape you want for your maze you can draw here okay how you will draw that first whatever color you want according to your choice you can select the color i'm selecting the red color okay now you need to just take this square and draw like this by using your left arrow suppose i want one maze here after that i want the second one near about here the third one is like this okay the second one now this is my third one okay i want the fourth one here fifth one here okay so this is our maze now we have to add a sprite how you will add a sprite choose the sprite whatever sprite you want suppose you want this apple or or anything we can add i want to add this ball and i want the ball position like here so you have to add one more sprite which is your winning line so either you can add from here or else you can just create that suppose i want my win line as [Music] this bill so you need to put your bill here suppose i want this is my bill line okay so we have one backdrop and two spreads so how you will start your coding part this is the most important thing so first we will start from the ball and what is our project algorithm we have to take left arrow right arrow up arrow down arrow okay so how you will add that so first thing we will add events so where you will get your email in the event section so instead of space first i will take up arrow again i will take one more which is my down arrow i will take one more which is my lift arrow okay i will take one more sprite one more even which is my up down left right okay so this four events we have here up arrow down arrow lift arrow right arrow so once i will click on up arrow we want to move to the upside how you will do that you have to take one direction okay where you will get that in the motion you will get point in direction just right but how you will decide what thing you want here so just click on this 90 see what is this direction this is the right but we want to move to the up so we will take c this is the up direction so in the up you will get 0 again we will take one more point in direction in the down arrow so for down how you will decide you need to take this arrow here so this is your down down means 180 same we will take one more which is point in direction instead of 90 now we have to move to the left side so where is your left this way so you will get minus 90 in this way you can find out where is your lift where is your right where is your up where is your down so for here we need to take first try it and now how you will decide then i write so this is your right okay so see up we have till now we have up arrow down arrow lift arrow right arrow okay after that we have to move once i will click on the up arrow i have to move once i will click on the down arrow i have to move so you need to just take your move 10 steps in all four blocks so this is our first tape in the maze game like we have to first attach all the arrows now if i will click on the flap or when you click on the down arrow see my ball is moving towards the down if i will click on the right arrow you will get right direction if you will get if you will press up arrow you will get some direction if you will click on left arrow you will get left direction but once this ball will touch to this color because so here we want like a move to minus like this for not able to touch here okay so how we will configure that thing that is the most important part even we can reduce the point also even we can reduce the movement part also okay so now we will see how you will add that one because that is the most important part okay so how we will start that you need to take again one event mean flag is split okay so when flag is clicked what we want we want when ball touch to this color okay so what will happen so we will take that because we want that continuously not one time so we will add this forever now we will just apply some conditions where you will get your conditions again in the control we have this see if if this ball will touch to this color right so this is our conditions so if we just go to this sensing we will take this color option but how you will decide what is this color click on this color option take this paint and now take this one so here you will get a same color if that will touch to color what will happen we have to move instead of 10 we will make it as a minus 3 means now this ball will not able to touch this red color see i will show you now see i am pressing my left arrow see before down also just because it is here we took minus 10 okay after that the ball part is completed means we added fourth in apparel down arrow lift arrow right arrow okay now we will see the next part when this ball will takes to this pill so what will happen it it will say like a uv okay so now where you want to do the coding in the bill so first look on the bin now we will apply again some condition if this ball will touch to this bill so what will happen it will just say you fill so this is our logic part okay how we will add that you need to just go to this control event we will add when flag is clicked okay so in the forever we want not in one time so again we will take that forever means continuously we will check condition if ball will touch to the bell okay so where you will get that again in the sensing so instead of mouse pointer now we will take ball means if bill will attach to your ball it will say uv so instead of halo we will make it as you feel okay now this is the time to test your project so again the most important part if you want like a winneball clip on the flag you want your ball always here so you need to just take one go to x and y okay so take this means this is your fixed position always so what is the x value minus 208 what is the y value this is 154 now if i will take my ball here what will happen if i will click on the run again you will get your ball here okay so now we will test this project now you can enjoy your game just press the right arrow if you want you can press the down arrow again press the up arrow see now the ball will touch to the bill what will happen it will say you fail okay so in this way we can create a maze game so mess structure is up to you okay it means you can create complicated maze also you can create a simple maze also but logic is the same you need to put the same logic okay so always see we want four arrows up arrow down arrow right arrow left arrow now you will decide this point you need to just click on this so automatically you will get see this is your up direction this is your down direction this is the left one and this one is the right okay and what is the second logic if ball will touch to this color it will say it will not say anything suppose if you want to add a c block you will get instead of say we can write touched like this now see if i will run see you will get okay so like that we can add our logics in the bill also if ball will touch to this field it will say you feel okay so in this way we can create the maze game so thank you so much for this video please like share subscribe our channel if you want the more projects in the comment section also you can mention that project and i will explain okay so thank you so much have a great day

Original Description

How to Make A Maze Game in Scratch 3.0 | Scratch tutorial for Beginners|Scratch Tutorial for begineer In this tutorial, we will learn how to make a Simple Maze Game in Scratch 3.0. Link to Scratch Website - http://scratch.mit.edu/ Download offline Scratch Editor - https://scratch.mit.edu/download Query Solved how to make maze game in scratch scratch maze game download scratch maze game pdf scratch maze game lesson 1 how to make a maze game in scratch maze game background maze game code python how to make a game on scratch with levels
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Code For Kids · Code For Kids · 11 of 60

1 #Scratch Tutorial 1 | How to create your own Scratch account #codeforkids #scratch #Game Development
#Scratch Tutorial 1 | How to create your own Scratch account #codeforkids #scratch #Game Development
Code For Kids
2 #Scratch Tutorial 2 ||How to enable Share Button option in Scratch #codeforkids #scratch #game
#Scratch Tutorial 2 ||How to enable Share Button option in Scratch #codeforkids #scratch #game
Code For Kids
3 Fish Moving inside an Ocean 🌊🌊 #codeforkids #scratch 🥰
Fish Moving inside an Ocean 🌊🌊 #codeforkids #scratch 🥰
Code For Kids
4 Scratch Programming | Fish Aquarium game | #codeforkids #scratch #game
Scratch Programming | Fish Aquarium game | #codeforkids #scratch #game
Code For Kids
5 Draw the circle in scratch#codeforkids #scratch #game
Draw the circle in scratch#codeforkids #scratch #game
Code For Kids
6 Draw Circles in Scratch || How do you draw shapes on Scratch? #codeforkids #scratch #game #coding
Draw Circles in Scratch || How do you draw shapes on Scratch? #codeforkids #scratch #game #coding
Code For Kids
7 How to Make a Dino Jump Game in Scratch | Tutorial #codeforkids #scratch #game
How to Make a Dino Jump Game in Scratch | Tutorial #codeforkids #scratch #game
Code For Kids
8 Scratch Tutorial || How to Make a Catch Game in Scratch.|| Scratch Tutorial for absolute beginer
Scratch Tutorial || How to Make a Catch Game in Scratch.|| Scratch Tutorial for absolute beginer
Code For Kids
9 Scratch Tutorial || Day 1
Scratch Tutorial || Day 1
Code For Kids
10 Scratch Tutorial || Day 2  (DJ System , Dance and Story writing)
Scratch Tutorial || Day 2 (DJ System , Dance and Story writing)
Code For Kids
How to Make A Maze Game in Scratch 3.0 | Scratch 3.0 Tutorial |Scratch Tutorial for begineer
How to Make A Maze Game in Scratch 3.0 | Scratch 3.0 Tutorial |Scratch Tutorial for begineer
Code For Kids
12 Scratch Tutorial || Day 3
Scratch Tutorial || Day 3
Code For Kids
13 Scratch Tutorial || Day 4
Scratch Tutorial || Day 4
Code For Kids
14 Scratch Tutorial | Cat And Mouse Game | Scratch Tutorial for  Beginner
Scratch Tutorial | Cat And Mouse Game | Scratch Tutorial for Beginner
Code For Kids
15 Scratch Tutorial || Day 5
Scratch Tutorial || Day 5
Code For Kids
16 how to make dress up game on scratch || Scratch Tutorial for Beginner
how to make dress up game on scratch || Scratch Tutorial for Beginner
Code For Kids
17 How to Make a Pong Game in Scratch || Scratch Tutorial for Beginner
How to Make a Pong Game in Scratch || Scratch Tutorial for Beginner
Code For Kids
18 Scratch Tutorial || Day 6(part 1)
Scratch Tutorial || Day 6(part 1)
Code For Kids
19 Scratch Tutorial || Day 6( Part 2)
Scratch Tutorial || Day 6( Part 2)
Code For Kids
20 Scratch Tutorial || Day 7
Scratch Tutorial || Day 7
Code For Kids
21 Scratch Tutorial || Day 8
Scratch Tutorial || Day 8
Code For Kids
22 How to Make Piano Game || Learn to Use Music Extension || Scratch Tutorial || Day 8
How to Make Piano Game || Learn to Use Music Extension || Scratch Tutorial || Day 8
Code For Kids
23 How to Make Piano Game || Learn to Use Music Extension ||Scratch Tutorial for beginner
How to Make Piano Game || Learn to Use Music Extension ||Scratch Tutorial for beginner
Code For Kids
24 Scratch Tutorial || Day 9
Scratch Tutorial || Day 9
Code For Kids
25 Scratch Tutorial || Draw Shapes #shorts #codeforkids #youtubeshorts
Scratch Tutorial || Draw Shapes #shorts #codeforkids #youtubeshorts
Code For Kids
26 Scratch Tutorial |How to Draw Shapes in Scratch #scratch #scratchtutorials #codeforkids
Scratch Tutorial |How to Draw Shapes in Scratch #scratch #scratchtutorials #codeforkids
Code For Kids
27 Day 10|| Scratch Tutorial
Day 10|| Scratch Tutorial
Code For Kids
28 Scratch Tutorial || Archery Tutorial
Scratch Tutorial || Archery Tutorial
Code For Kids
29 #1 || Thunkable  Beginner Tutorial  Platform Overview
#1 || Thunkable Beginner Tutorial Platform Overview
Code For Kids
30 App Development ||Tutorial 2 || how to add button in Thunkable || Thunkable for beginner #codeforkid
App Development ||Tutorial 2 || how to add button in Thunkable || Thunkable for beginner #codeforkid
Code For Kids
31 App Development || Tutorial 3||  Beginner Tip "Change screens with a button click" in Thunkable
App Development || Tutorial 3|| Beginner Tip "Change screens with a button click" in Thunkable
Code For Kids
32 Scratch Tutorial ||
Scratch Tutorial ||
Code For Kids
33 Thunkable Tutorial || Using Camera and Image Recognition components with Thunkable
Thunkable Tutorial || Using Camera and Image Recognition components with Thunkable
Code For Kids
34 Build a Translator App with Thunkable ||Thunkable App Development || Tutorial 5||
Build a Translator App with Thunkable ||Thunkable App Development || Tutorial 5||
Code For Kids
35 Thunkable Beginner Tutorial #6  || Web Viewer|| Redirecting App
Thunkable Beginner Tutorial #6 || Web Viewer|| Redirecting App
Code For Kids
36 #1 World in Python || Python Tutorial || Python Programming || Google Colab
#1 World in Python || Python Tutorial || Python Programming || Google Colab
Code For Kids
37 #2 Python Tutorial for Beginners | User input in Python | Command Line Input | Python Variable
#2 Python Tutorial for Beginners | User input in Python | Command Line Input | Python Variable
Code For Kids
38 #3 Python  Comments | How To Write Comments In Python | Python Tutorial For Beginners |
#3 Python Comments | How To Write Comments In Python | Python Tutorial For Beginners |
Code For Kids
39 #4 Python Tutorial for Beginners | Data Types in Python
#4 Python Tutorial for Beginners | Data Types in Python
Code For Kids
40 #5 Numbers & Typecasting in python | Python Tutorial
#5 Numbers & Typecasting in python | Python Tutorial
Code For Kids
41 #6  Strings Tutorial | How To Use Strings In Python | Python Tutorial | Python Training |
#6 Strings Tutorial | How To Use Strings In Python | Python Tutorial | Python Training |
Code For Kids
42 #7 Slicing And Other Functions In Python | Python Tutorials For Absolute Beginners.
#7 Slicing And Other Functions In Python | Python Tutorials For Absolute Beginners.
Code For Kids
43 #8 Boolean in Python | Python Tutorial for Begniner
#8 Boolean in Python | Python Tutorial for Begniner
Code For Kids
44 #9 Python Tutorial for Beginners | Operators in Python
#9 Python Tutorial for Beginners | Operators in Python
Code For Kids
45 #10  Lists And List Functions | Python Tutorials For Absolute Beginners
#10 Lists And List Functions | Python Tutorials For Absolute Beginners
Code For Kids
46 #11 Tuple in Python | Python Tutorial
#11 Tuple in Python | Python Tutorial
Code For Kids
47 #12  In Python | Python Sets Tutorial | Python Tutorial for Beginners | #python #pythonprogramming
#12 In Python | Python Sets Tutorial | Python Tutorial for Beginners | #python #pythonprogramming
Code For Kids
48 #13 If Elif Else Statement in Python || Python Tutorial for Beginners |
#13 If Elif Else Statement in Python || Python Tutorial for Beginners |
Code For Kids
49 #14  While Loop in Python ||Python Tutorial for Beginners
#14 While Loop in Python ||Python Tutorial for Beginners
Code For Kids
50 Python Tutorial for addition of 2 numbers #shorts #youtubeshorts #codeforkids #pythonprogramming
Python Tutorial for addition of 2 numbers #shorts #youtubeshorts #codeforkids #pythonprogramming
Code For Kids
51 Python Tutorial for absolute Beginner|| While loop #pythonprogramming #shorts #youtubeshorts
Python Tutorial for absolute Beginner|| While loop #pythonprogramming #shorts #youtubeshorts
Code For Kids
52 Machine learning for the kids with Scratch || Machine Learning for kids ||Day 1
Machine learning for the kids with Scratch || Machine Learning for kids ||Day 1
Code For Kids
53 # Tutorial 1 || Machine Learning for kids | Image Classification example | Girl and boy
# Tutorial 1 || Machine Learning for kids | Image Classification example | Girl and boy
Code For Kids
54 #15 For loop in Python || Python Tutorial for Beginner
#15 For loop in Python || Python Tutorial for Beginner
Code For Kids
55 # Tutorial 2 || Machine Learning for kids | Smart Home Automation | Turn On the Fan
# Tutorial 2 || Machine Learning for kids | Smart Home Automation | Turn On the Fan
Code For Kids
56 #Tutorial 3 || Snapchat Filter in Machine Learning|| Machine Learning for the kids ||
#Tutorial 3 || Snapchat Filter in Machine Learning|| Machine Learning for the kids ||
Code For Kids
57 #Tutorial 4 || Image Identification || Machine Learning for the  kids|| Tiger , Elephant, boy
#Tutorial 4 || Image Identification || Machine Learning for the kids|| Tiger , Elephant, boy
Code For Kids
58 Scratch Tutorial || Apple Catcher Game || Fruit Catcher|| catch game in Scratch
Scratch Tutorial || Apple Catcher Game || Fruit Catcher|| catch game in Scratch
Code For Kids
59 Scratch Tutorial || How to record audio in Scratch || Scratch Tutorial for beginner ||
Scratch Tutorial || How to record audio in Scratch || Scratch Tutorial for beginner ||
Code For Kids
60 Scratch Tutorial || how to translate language in scratch || Scratch tutorial for beginner
Scratch Tutorial || how to translate language in scratch || Scratch tutorial for beginner
Code For Kids

Related Reads

Up next
The Difference Between Review Capacity and Review Control | ARDEM Incorporated
ARDEM Incorporated
Watch →