How to Make a Jumping Game in Scratch | Tutorial
Vložit
- čas přidán 7. 06. 2024
- In this tutorial, you can learn how to make a game in Scratch -- a game where a character jumps over moving obstacles to score points!
Try it out:
scratch.mit.edu/projects/editor
Music: “Pacific Sun” by Nicolai Heidlas, Creative Commons Attribution 3.0 Unported. creativecommons.org/licenses/...
What character would you choose for your game, and what would you have them jump over? :D
Spikes
jump
A geometry dash player!
jumping over spikes!
Radd the raccoon
Its actually a character from an old old game I made that inspired most characters in the game im working on
THIS LADY IS SO MUCH MORE HELPFUL THAN MY ACTUALY TEACHER TYSM
IKR!!
Fax
IKR IVE BEEN DOING SO BAD IN COMPUTER CLASS
agree !!
MY TEACHER DID NOT EVEN GVE ME TIPS LMAOO
WE ALL WANT YOU AS OUR COMPUTER TEACHER RN!! YOU EXPLAIN SO WELL WITHOUT YELLING OR GIVING DEATH STARES, THANK YOU!!
lol, death stares
So true lol
Yeah true
yeah but the jumping is kinda lazy cause usually to make jumping in scratch u have to code gravity but whatever
I was thinking like that until I become the teacher 😢
The video is so helpful and she made it understand in a simple way. I watched it an hour before my practical exam and my teacher was impressed with the results. Thank you so much❤
Thank you Zinnea! I did my computer homework easily and my teacher praised me
my kids love games and this tutorial is so much helpful. Thanks, Scratch team for sharing such content.
thank you for this, I'm a software developer and my 9 year old son is going for a scratch course next week.. your video is my first look at this and I absolutely love it!
this video is made by scratch-
My teacher literally just told us to make a game in scratch. I had no idea what the first step even was. Thank you so much for helping!!!
THANK YOU SO MUCH!!!! In my class we had a coding project due tomorrow and we have to present them and I didn't have anything to show. You literally just saved my life.
thank you so much zinnea for making all these tutorials and just--well, being you!
if you also want the character to have real world physics, you can make a speed y variable, set it to 0 at the start, and for the falling change speed y by -1 and then change y by speed y, and to reset it when the character lands, set speed y to 0, and when he jumps, set it to a certain number
@aidan coote simple
when 🏁 clicked
forever
if (high score)> then
set [high score] to (score)
How can you pervent flying by spamming the buttons?
@@Alden_Redstoner run jump only if he is touching the ground
@@apple_ilev5s how to detect a sprite touching an invisible sprite(the costome is invis, not using hide block)
@@Alden_Redstoner if its using ghost, then it will sense it as normal
i was searching everywhere for a jumping and then i found this- its so simple but so effective :D
Litterally didnt do anything for my 3 week assign ment and all it took was this 1 video and im saved
your lucky dude
Same
i must agree
Omg thank you so much you are a scratch CZcamsr that actually helps! You made this so easy for me. THANK YOU
AMAZING! This tutorial was so easy to follow, and I LOVED it!
thank you so much it helped me finish my brother project
Me 2 LOL
It Literally helped me a lot in making a scratch work
Thanks a lot, this was my first time in scratch and i did it perfectly, your video is short and easy to understand, the steps super clearly, congrats!!!!
BRO SHE EXPLAINS IT SO SIMPLY ASWELL WHEN WE DID SCRATCH MY TEACHER ACTED LIKE IT WAS ROCKET SCIENCE
THIS LADY IS SOOOOOOOHELPFUL FOR ME TO CREATE A GAME ON SCRATCH! THANK YOU!!!
Thank you, I have been trying forever to make something jump and fall back down again. I can't believe it's that simple.
Thank you so much! I have my practical test on scratch tomorrow and I can finally make this 😊.
No scratch = no knowledge about coding... Thanks for existing, Scratch!
yes finally i can get my grades up, the teacher doesnt help at all. thank youu!
I'm in 2021 and that's not same
And she is really helpful
@@icfanleader7511 yep!
@@prestigehome614 :)
omg imagen if ur teacher sees this comment
If you want a smoother jump, instead of changing the y of your object directly, use velocity variables and change those, and change the x by that variable.
Pls how can I do that?
what
idk what that means but thx
so (if up arrow pressed)
(set speed y to 16)
change speed y by -1
change y by speed y
@@Katzegaming1 My attempt at explaining: forever [ change x by (velocity) ]
when space key pressed v
set (velocity) to [30]
repeat until [ change (velocity) by [-2] ]
All the scratch tutorials have been really confusing but this one has been really simple
thats because the stratch team makes sure the tutorials are not confusing
you've been a big GAME changer in my scratch technique!
Thanks for the tutorial this was a school project i had to make after i finished with the project i decided to make this it was so fun to make thanks again !
Hey your project was just amazing just loved it:N
This tutorial got me started on scratch, now I make cool 3d games. Thanks.
Thank you for this tutorial. I followed it with my son (7) and we "made" the game before bedtime! This just made his day!
Awww, yay, this comment made me so happy! -- Zinnea
Wait , bedtime means night time right ? Then how can it make his day ??
@@varshasrivastava5430
That means like it made his day happy
@@bootylicker90000 , it was a joke ....
I made a game with a reindeer in it jumping over crabs on the boardwalk with the ocean. IT WAS AMAZING! My brother said that he wants to play it everyday! Thank you so much!
Thank you! This helped me a lot doing my recent project!
beautiful you just hit the nail on the head
i'll try to mix this with the scrolling background
This was very helpful. Wonderful presenation !!! The character I used was the Penguin 2 and I had had it jump over Rocks in the snowy Slopes backdrop.
this tutorial really helped me to make a game, thanks!
Oh, that's awesome!!
Wow Thanks, Yet another tutorial.
Always helping scratches everywhere if it wasn't for these tutorials scratch wouldn't be the same!
:)
Nah it would be the same tbf
@@leroyspeelt Not many people would know how to use scratch :/
i have seen many scratch tutorial but it all seems to be very difficult but this one is so easy and i love it
i had homework about creating a game on scratch...this helped very much, thank you! :)
Thank you so much!! We have this project coming up in school tomorrow and we have to make a game so this helped a lot!! Much love Scratch Team!! ❤️❤️
your lucky are teacher does not let us do scratch
My teacher gave this project work for me so I watch this and its really helpfull! Tysm! :D
Hi Uraraka!
@@icfanleader7511 hello!
@@ochakouraraka1605 how are you!?
Thank you soooo much! This was so helpful for me. I made the same but with other stuff (Samurai background ninja stickman character and thunder obstacle
I can still remember this so easily. Brings back memories...
Thanks so much!😁 I’m a beginner and this is my first game❗️😀
My friends love it!! Keep on making these videos, you can help a lot more people❤️
it was my first game too.
@@TheIroncladCommander it is my first game, and i hope i get better to the point where i start using unity
Yeah me too❤
Brooo ur tutorials are so helpful!!
Thanks so much. I'm just starting my first project and you helped me a lot :D
This tutorial is really clear, and easy! Good job!
i am making a side scroller and needed to know how to jump so thanks!
If you dont know how to make a character jump, defenitely dont use this method. Use a y velocity variable and set it to 13 or whatever you want it to be. Also, dont just throw yourself into a scroller game, scrolling in scratch is hard
@@habibikhader I know
This is amazing this has enhanced my scratch skills!
This is incredible! Thankyou so much!
Thank you so much 😊
I was not understanding any video but when I see this one I even make my own game
Thanks again
This is alot better than very long tutorial's, keep it up
Wow! Zinnea, you are really good! Your videos help me become more of a Scratcher! Thank you so so much!
She became the member of scratch team
Thanks for the help i only needed the jump😅 but when I started scratch for a loong time I actually needed this to do games!
This is one of the best scratch tutorial I have watched…Thanks Loads
Although I left scratch quite the while ago, I do keep visiting every now and then. It nice to see that the community is still active :D
this helped sooo much!!! my dream is to become a coder, and i think this is a step closer!! thank you!!!!!!!!!!!
Usually you would use clones instead and variables for the jumps but this is good for beginner's
The explanation is really good and it was really helpful.
Thank you, 10000x better than my teacher. This video is not only informative, but very easy to understand. I’ve had trouble with other scratch tutorials, but this is the only one I can understand 👍🏻
note: why tf did I write this lmfao
Yeah I agree😂
Thank you now I can do my homework ❤️
I also !!
Hi
Same with me!! I was wondering how to make one, I am also just beginning to use scratch and I love it!
Me also😉
Yeah me too
Wow she should be getting paid from scratch for this type of content. Very easy to follow and professional. Great tutorial.
this is so helpful, you make it easy to understand, kudos to you
Hey Scratchers.
Another way to get a character to jump is to create a variable, set it to 10, and then change the variable by -1 and move the character's y position by that many spaces. You can copy and paste the repeat 10 loop and replace the 10 with a 19. Put the "change by -1" block and the "change y by" block in this loop. It's a little more complicated but it will make the jumping look much more realistic.
@Nut's Channel Don't worry. It took me a long time to learn about Scratch to know how to do this.
this is the jump that i want :D
Can you please explain a bit more. I m 11 yrs old and very new with Scratch. Thanks
@@colourpallette635 It’s pretty complicated so I’ll make it more precise for you.
Basically, make a variable in the “Variables” tab and use the “set variable to” block to set it to 10 (The name of the variable doesn’t matter).
Then, use the “change variable by” block and change the 1 to -1.
Afterwards, use the “change y by” block in the “Motion” tab and replace the 10 with the circular block with your variable name in the “Variables” tab.
Next, add the variable changing block and the y changing block into a “repeat 10” loop found in the “Control” tab.
Finally, copy the loop and in the second variable changing button, change the -1 back into a 1.
I hope I made this more clear. This technique for jumping is very complicated and requires a lot of knowledge about Scratch.
@Axel? Exactly
Thank you so much for this content if I hadn’t seen it my parents wouldn’t have let me continue game devoloping
I’m a real noob at scratch and I just started so videos from this lady is very helpful
thank youuu, i'm new to scratch and proudly make one game following the tutorial. clearly explained
Thanks for making these! All these lessons can really help people that just joined scratch!!
This tutorial deserves way more like than it has.
The jump part really helped me,THANK YOU for the help
That code actually has a flaw.
You can just jump really fast and get the score really high.
A way to prevent this is by changing the score when the egg gets to the corner, so you can't cheat.
Hope that helps!
O
A*
I have made this before the tutorial, but it had moving background props, various opsticals, and a duck move!
I’m a advanced scratcher I don’t need it
@@nathankwok1292 a d v a n c e d
@@randomappleman5243 a d a n c e
Very nice and simple tutorial! :)
It Helped Me Alot Thank you For Being Awesome In Scratch And Making Games.😀
Thank you! Now I can do my college homework :)
No offense but I’m doing this in 4th grade how are u in college and doing this
@@anayakhan7969 im doing this in 6th grade..
@@AKBBallin me in 7th
@@LazaRoblox now I’m in 7th
@@AKBBallin good
AMAZING! This tutorial was so easy to follow, thanks a lot!
Uhm u see click space 2 times at once u see the problem
I love how you show the mistake and explain how to fix it not just say the code without explaining I just tried the game rn. It is super cool and I love your way of talking 🤗😆😃
thanks I never was able to understand scratch but you made it seem so easy thanks
This lady is so helpful for school. I've been doing so bad in computer class
I’ve been doing so good that the teacher is having trouble finding projects for me to do.
I litterly understand code I have no idea why I can’t code.
You can also move the change score to the egg following the glide, this will prevent spamming jumps to rack up points
Thanks! Throughout the holidays my computer teacher told us to make a game on scratch as homework
My teacher asked me to make a jumping game, so I'll make this one you showed. Thanks! 😊
You basically did my homework for me thanks 🙏🏾
She did my project worth 45 points
Vlone. Wervo mine was 100
this is so cool I feel like an actual coder! :D
:D That's awesome! You *are* an actual coder!
@zinnea hey I used the pixel art tutorial and this one and its super cool!
It’s called scripting not coding 😅
@@Zinnea I did the verbal pet one
@@Hindle71 add,
She is so good salute to scratch team 🤩 this also helps so much now I can finally create my own games in scratch 🙂🙂✨✨
Thanks! This was so much fun!
me just copying exactly what she's doing parents "good job"
Me: Following a tutorial
When I’m done parents come in
Parents: Good job! You’re so smart!
Me: Umm…. Yeah?😅
Professional: copies code from Stack Overflow
Boss: Good job!
tysm! now i can make my mom proud of me
Good luck!!!!!!!!
Really nice explanation! I posted this and this was really fun! Nice! Good vid btw!
this helped a lot thanks you and good luck may the lord be with you on your way
First like!! I love your scratch tutorials since I have really got better with them!!
:D I'm so glad!!
Happy you feel glad!
@@Zinnea hey zinnia what happens if the character jumps before the egg comes this will count as an unearned point to them which isn’t good
@@iizac0034 That's a good point! You could fix it by having it only change the score by 1, if the difference between the x position of the Egg and the x position of the chick, is less than a certain number
@@Zinnea i just join scratch today but i can't comment and share
Hey Zoey, I just want to say THANK YOU.
:D You're welcome!
@DIVINE CRAFTS first choose ur 1 level backdrop and then for level 2 choose ur backdrop again and get the block switch backdrop to and whatever ur 2 backdrop is
This was a very informative and interesting video!
Scratch always makes the best tutorials
very fun! i played this for 2 hours! and this took a lot of time for me to make this.
Thank you, really helped my 11 year old son make his homework :)
I'm so glad!
he's lucky i just have to do math for homework
@@trainedkirbylife 😂 True but math is easy
That helped sooo much thanks!
Very interesting video 😀😀😀
I learned this, thank you!
Have a great weekend.🙂
this is like the google dinosaur game
yes!
Could you tell me what name of the cactus plant in scratch plant
@@mamtanaik9809 You can find it in this Scratch project! scratch.mit.edu/projects/452687969/ (it's not in the Scratch sprite library but you can put it in your backpack)
Big bruh moment
@@Zinnea thanks a lot . I am Jiya I was on my mother's mobile ( known as @Scratch_Gamer_Jiya on scratch )
My sprite just jumps up and down but the screen won’t move