Scratch Tutorial For Beginner || Mini Project in Scratch || Ghost in Scratch
Key Takeaways
Builds a Ghost game using Scratch programming
Full Transcript
hello everyone welcome back to my channel code for kids so today we are going to learn about the course project okay so what i will do first i will run this project i will show you okay so see so here we have our ghost hunter you have to press s to start you have to press i for instruction suppose first i will press the i so what you will get here your goal is to find the evil coast who is hiding among all the good ghost you don't have long so hurry up respect to fire your blaster okay after that we have to press m to go back to the menu and press s to start if you want to start your project after that you have moves so you need to just press your space bar okay you have to find out who is [Music] you have to find out [Music] so you have to find out [Music] see we have only 43 time left okay [Music] so you have to just [Music] so we have to create this project okay first thing we have to add some backdrop so as you can see in the backdrop section we have this is our first backdrop after that we have our main screen which is ghost hunter press s to start press eye for instruction after that we have the third backdrop which is your goal is to find the evil ghost who is hiding then you have to write level 2 and in the label two we have our next backdrop which is the bedroom okay so you have to add all these backdrops see it means we have to add five backdrop after that we have to add a sprite okay so this is our first sprite for this fourth sprite we have a second costume as this one after that we have our second sprite but for second sprite we have only one costume for third sprite we have one costume for fourth sprite we have one costume and this is our player okay so it means we have to add five pro five spread so now i will explain you the first sprite which is ghost spatial if you will click on that what will happen your score will increase okay so first thing when s key is pressed okay from where we will get this s key we need to just go to the event we have to take this space and here we need to select your s key okay after that what we want we want to show the sprite and initially our costume is one after that inside the forever forever wins we want to move that again and again continuously for that we have to glide slide means we have to move from one position to another here for x-axis we have to pick a random value for y-axis also we have to pick a random value okay so how you will decide this value suppose this is our x-axis we want to move from this position to here so as you can see here we have a value minus 235 if you will take this here you will get value so you have to take a near about value okay after that what size we want for this spread so suppose i want 60 percent in your case if you want to add the bigger size or the smaller size you have to add that after that if we will press the space key what will happen if you will press the space key and if that voltage to your sprite one okay so we have to switch our costume to coast to a and it will say you caught me for two second we have to switch a costume we need to broadcast one message here and again it will go to one random position so this is we have to do for our sprite one okay after that when flag is clicked suppose we want to hide this and when you will receive your label to you have to hide you have to wait for two second and you have to show this after that again women when we will press our s e so what will happen what we want to do here we need to wait for one second in the forever if your time is equal to 0 you have to stop everything because in that time if you will get a 0 you have to stop everything so this project is the mini project because it is a game okay so you can try this project i will give you the link in the description box so you can try this project okay whatever you have done in the comment section you can ask me this doubt so this is the code for our sprite one which is coast special okay after that we will see for ghost two so for the ghost to we can see when we will press the s key smith start key we want to play the game okay so we want to show our second sprite again it will glide glide means we have to move from one position to another and whatever size you want for your spread you can add see instead of this ghost if you want to add other ghost like colorful or any dangerous even you can do that okay and when we will receive the level 2 we need to hide this and after waiting for 2 seconds we will create a clone clone means we have to create a duplicate okay and again when flag is clicked okay so what we want we want to hide our sprite when we will receive the level 2 again we have to do the same thing what we did in the sprite one after that see if we broadcast the message in the sprite one so when we will receive that message again we have to glide okay and see here we created the clone for that clone what we want so when i start as a clone again we want to glide this and we have to take our random value and whatever size we want we need to add that okay after that when s key is pressed we have to wait for once again in the forever if your time is zero you have to stop this game miss the same coding what we did here we have to do for our course true also so this is the script for our ghost to as you can see this is very easy so you can try this okay after that we will see for ghost 3 everything is same here miss when we will press the s key we want to glide this at this random position again we can increase or decrease the size according to our choice when we will receive the level 2 again it will hide it will create a clothe and when you will start the clothes for that what we want here we want like when i start as a cloth we want to apply it and again what size you want for that new clone that new duplicate okay so see every coding is same here for all the sprite we have to do the same coding for ghost forest so we have to do the same so you can just copy and paste the coding okay and if you want how to duplicate the kodi so what you need to do suppose i want to copy this one into my other sprite what you need to do you need to take this and you have to put wherever you want in which sprite you want you need to put that okay so this is the script for all our four ghosts okay after that we will see for our next sprite so see again when s key is pressed so we want to play the game it was we want to show the sprite what size you want you can take so here i want 80 percent so i took the 80 percent even you can increase or decrease this and it is following my mouse as you can see [Music] it is following my mouse wherever i will take my me so mouse the score is straight now okay and it will come to your front layer and again when you will receive the level 2 for that we want to hide this sprite okay after that what we want to do when space keys pressed so suppose if you want to attach any sound even you can attach the sound according to your choice after that what will happen again if i will press the s key it will wait for some time if your time is equal to zero we need to stop it will say you scored and whatever is your score point good job okay and for that we need to create a variable also which is score and time so how you will create a variable you need to make a variable write down whatever name you want suppose i want to create abc variable and okay so you will get your abc variable here okay after that what we want this is just for what sound you want for your project okay so this is the coding for our sprite you have to try this coding because this is your mini project so i will give you one suggestion directly don't access this video if you want to learn from the starting point you have to access our previous videos i will give you the link in the description box so you can learn one by one so directly you will get all these things and meaning of each and every block you will get there okay after that we have to do the little bit coding for our backdrop also so when we will press the s key so which backdrop we want okay you have to take that backdrop you have to initially set your time to 100 see if i will run this initially the time is 100 and how many times okay so what will happen we have to show the variable time also and score also and when flag is clicked we want the time to zero and we have to hide this fire cable okay initially when i will run so you will not get any bad cables here okay but when backdrop will switch then you will get your variable okay after that what we want here when we will press the s key in the forever if your score is 100 then you need to broadcast your level 2 you have to change your score by 10 okay even you can change by 20 years or 30 years according to your choice and then we need to switch our path draw in a same way when i will press or i keep we want to switch or if we want to see our backdrop too so what is our backdrop which is this one which is instruction okay after that when you will receive the level 2 so now you have to change your time by 16 okay so in this way you can do the coding for your backdrop and you can do the coding for your sprite okay so in this project we have five back profiles right you can try this project and once you will complete this project you have to share your project link with me how you will share that in the comment section you can just put the project i will see that and i will give you that review okay so this is our mini project you have to try this okay so thank you so much for watching this video please like share and subscribe our channel and press the bell icon if you want more latest update so thank you so much
Original Description
hello everyone,
In this Video we are going to learn about Scratch Tutorial For Beginner || Mini Project in Scratch || Ghost in Scratch
Project link: https://scratch.mit.edu/projects/724111565
Scratch Link:
https://scratch.mit.edu/
#scratch
#codeforkids
#scratchprogramming
#game
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from Code For Kids · Code For Kids · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#Scratch Tutorial 1 | How to create your own Scratch account #codeforkids #scratch #Game Development
Code For Kids
#Scratch Tutorial 2 ||How to enable Share Button option in Scratch #codeforkids #scratch #game
Code For Kids
Fish Moving inside an Ocean 🌊🌊 #codeforkids #scratch 🥰
Code For Kids
Scratch Programming | Fish Aquarium game | #codeforkids #scratch #game
Code For Kids
Draw the circle in scratch#codeforkids #scratch #game
Code For Kids
Draw Circles in Scratch || How do you draw shapes on Scratch? #codeforkids #scratch #game #coding
Code For Kids
How to Make a Dino Jump Game in Scratch | Tutorial #codeforkids #scratch #game
Code For Kids
Scratch Tutorial || How to Make a Catch Game in Scratch.|| Scratch Tutorial for absolute beginer
Code For Kids
Scratch Tutorial || Day 1
Code For Kids
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
Code For Kids
Scratch Tutorial || Day 3
Code For Kids
Scratch Tutorial || Day 4
Code For Kids
Scratch Tutorial | Cat And Mouse Game | Scratch Tutorial for Beginner
Code For Kids
Scratch Tutorial || Day 5
Code For Kids
how to make dress up game on scratch || Scratch Tutorial for Beginner
Code For Kids
How to Make a Pong Game in Scratch || Scratch Tutorial for Beginner
Code For Kids
Scratch Tutorial || Day 6(part 1)
Code For Kids
Scratch Tutorial || Day 6( Part 2)
Code For Kids
Scratch Tutorial || Day 7
Code For Kids
Scratch Tutorial || Day 8
Code For Kids
How to Make Piano Game || Learn to Use Music Extension || Scratch Tutorial || Day 8
Code For Kids
How to Make Piano Game || Learn to Use Music Extension ||Scratch Tutorial for beginner
Code For Kids
Scratch Tutorial || Day 9
Code For Kids
Scratch Tutorial || Draw Shapes #shorts #codeforkids #youtubeshorts
Code For Kids
Scratch Tutorial |How to Draw Shapes in Scratch #scratch #scratchtutorials #codeforkids
Code For Kids
Day 10|| Scratch Tutorial
Code For Kids
Scratch Tutorial || Archery Tutorial
Code For Kids
#1 || Thunkable Beginner Tutorial Platform Overview
Code For Kids
App Development ||Tutorial 2 || how to add button in Thunkable || Thunkable for beginner #codeforkid
Code For Kids
App Development || Tutorial 3|| Beginner Tip "Change screens with a button click" in Thunkable
Code For Kids
Scratch Tutorial ||
Code For Kids
Thunkable Tutorial || Using Camera and Image Recognition components with Thunkable
Code For Kids
Build a Translator App with Thunkable ||Thunkable App Development || Tutorial 5||
Code For Kids
Thunkable Beginner Tutorial #6 || Web Viewer|| Redirecting App
Code For Kids
#1 World in Python || Python Tutorial || Python Programming || Google Colab
Code For Kids
#2 Python Tutorial for Beginners | User input in Python | Command Line Input | Python Variable
Code For Kids
#3 Python Comments | How To Write Comments In Python | Python Tutorial For Beginners |
Code For Kids
#4 Python Tutorial for Beginners | Data Types in Python
Code For Kids
#5 Numbers & Typecasting in python | Python Tutorial
Code For Kids
#6 Strings Tutorial | How To Use Strings In Python | Python Tutorial | Python Training |
Code For Kids
#7 Slicing And Other Functions In Python | Python Tutorials For Absolute Beginners.
Code For Kids
#8 Boolean in Python | Python Tutorial for Begniner
Code For Kids
#9 Python Tutorial for Beginners | Operators in Python
Code For Kids
#10 Lists And List Functions | Python Tutorials For Absolute Beginners
Code For Kids
#11 Tuple in Python | Python Tutorial
Code For Kids
#12 In Python | Python Sets Tutorial | Python Tutorial for Beginners | #python #pythonprogramming
Code For Kids
#13 If Elif Else Statement in Python || Python Tutorial for Beginners |
Code For Kids
#14 While Loop in Python ||Python Tutorial for Beginners
Code For Kids
Python Tutorial for addition of 2 numbers #shorts #youtubeshorts #codeforkids #pythonprogramming
Code For Kids
Python Tutorial for absolute Beginner|| While loop #pythonprogramming #shorts #youtubeshorts
Code For Kids
Machine learning for the kids with Scratch || Machine Learning for kids ||Day 1
Code For Kids
# Tutorial 1 || Machine Learning for kids | Image Classification example | Girl and boy
Code For Kids
#15 For loop in Python || Python Tutorial for Beginner
Code For Kids
# Tutorial 2 || Machine Learning for kids | Smart Home Automation | Turn On the Fan
Code For Kids
#Tutorial 3 || Snapchat Filter in Machine Learning|| Machine Learning for the kids ||
Code For Kids
#Tutorial 4 || Image Identification || Machine Learning for the kids|| Tiger , Elephant, boy
Code For Kids
Scratch Tutorial || Apple Catcher Game || Fruit Catcher|| catch game in Scratch
Code For Kids
Scratch Tutorial || How to record audio in Scratch || Scratch Tutorial for beginner ||
Code For Kids
Scratch Tutorial || how to translate language in scratch || Scratch tutorial for beginner
Code For Kids
More on: Visual / Block Coding
View skill →Related Reads
🎓
Tutor Explanation
DeepCamp AI