How to make a PLATFORMER GAME | Easy code | Simple - Scratch 3.0 FULL Tutorial
Vložit
- čas přidán 8. 07. 2024
- In this video, we explain how to code a nice platformer game in Scratch 3.0. The first part of the video is based on the "How to code jumping and gravity" video ( • How to code JUMPING an... ) I made in the past.
🔗 SCRATCH GAME LINK: scratch.mit.edu/projects/6653...
INDEX:
00:00 Introduction
00:28 Ground and box
01:59 Gravity
07:55 Jump
11:08 Horizontal movement
13:35 Horizontal collisions
20:00 Vertical collisions
22:40 Main character
27:12 More levels
Daily Beetle by Kevin MacLeod is licensed under a Creative Commons Attribution license (creativecommons.org/licenses/...)
Source: incompetech.com/music/royalty-...
Artist: incompetech.com/
My Scratch profile: scratch.mit.edu/users/diegomapo/
My Twitter profile: / primaria_el
Contact: elrincondeprimaria2020@gmail.com
This tutorial helped me so much! It is so fun now! Although my sprite still teleports through the floating grass, it acts like a portal! Thanks for the tutorial!
😊😊
I couldn’t get the replace x right and left the way you did it but I changed the movement to 20 and it worked, also this has to be the most understandable tutorial I’ve seen
👍🏼😊😊
this is incredible tho when my sprite is in between the darker line and the ground it slowly glides down until it touches the edge of the screen then it reappears on top on the edge of the ground/line and it repeats
I could help you out if I saw your project. You can find my email in the description of the video.
Same
My character is gliding down on walls
Same answer: Email me your project.
I think its easy to catch on mind... so logical!
*finally a video that has SIMPLE code that can not get mistaken And WORKS!,*
👍🏼😊 thanks!!
@@elrincondeprimaria*i think your channel is best for scratch tutorials*
@@elrincondeprimaria*oh its not jumping =(*
Thanks!
If it's not jumping, your code is wrong. Check it out again.
tercero
hola me gusta tu contenido gracias a ti pude hacer mis primeros juegos en scratch 😁😁
¡Me alegro mucho! 😊😊
I have couple of problems If the character jumps by using up and left arrow. if it touches the left green dark sides in the air. it applies the red block of replace(up side) first, and it will move down. To fix the problems, I use different familiar color for the bottom outline to distinguish for use in the replace(up side). This may fix this problem.
For all, Really appreciate your tutor.
now you look less scarier, thanks i learned alot man
😂😂😂
Thank you!
gracias por el tutorial 😁
¡De nada! :)
wow you explain so good!
👍🏼😊
this is the best scratch tutorial people out there like I follow a platformer griffpatch tutorial and the second episode did not work so thank you very much
Thanks a lot! I appreciate your comment :)
@@elrincondeprimaria yo you really replied thanks so much and I am gonna make a video and give you a shout out
👍🏼😊
Que grande eres Diego!!!🤩🤩
¡Gracias, Juan! 😊😊
good tutorial thought me well
Thank you! :)
Bro Liked! First Time Understood some difficult code! U are a good Teacher! Love u
Thanks for your support! :)
@@elrincondeprimaria wlcm
@@virajphalswal9260 I need help, im not using a block as my character, but i'm using a mouse as my character, it wont let me jump but when I spam a and w it will let me jump, can u plz help me if u can
@@txletd6143 post screenshot of code on scratch help and send me link of that I will check it
you are the BEST
Thanks! ☺️
Thanks a lot for your tutorial!! I'm new to Scratch and trying to make a game, but it full of bug. This video explain a lot. Can I ask why you have to separate the cat and the box then let the cat follow the box but not apply all the box's code to the cat?? Thanks
Because the cat has an irregular shape (whiskers, tail...) and, when jumping on a platform, it could end up having the whiskers on the platform and the rest of the body hanging from them. I hope I explained myself 😄.
Thanks a lot for your support! :)
That's basically a "hitbox".
I came directly from the jump and gravity video, where do i put the Y (up) Replace? Just before the line of code or??
Just follow this video
This is the best explaining iv'e ever heard!
All the other ones that i have heard were not as good as explaining.
Thanks, EVERYONE SHOULD SUBSCRIBE TO HIM!!!!!!!!! :)
Thanks a lot for your comment! 😊
i love you so much
my problem is fixed with the slow falling!!! :)
👍👍👍
thanks you this was very helpfull! deserves a like!
Thank you!! 😊
Segundo, me encanta tu contenido me sirve
Solo una pregunta como puedo hacer que mi personaje tengan enemigos y se pueda defender?
Podrías hacer que pueda disparar algo, pero es imposible de explicar en un comentario 😅.
@@elrincondeprimaria lo mismo digo. Gracias
You made me change everything from your last video bruh
YES ITS WORKING NOW! :)
My sprite is just teleporting to y velocity 424151 can you tell me to fix that?
I can't without seeing your project... 🤷🏼♂️
How can I do it for 2 people? Like the game Fire and water?
Making another character, another hitbox, other variables, different keys to control it...
@@elrincondeprimaria thanks 😊
DIEGO SOY DE 5°A Y TUS VIDEOS SON LOS MEJORES. POR QUÉ NO NOS LO ENSEÑAS EN LOS CHROMEBOOKS EN CLASE?
Estamos empezando con Scratch, Aitana. Este tutorial todavía es complicado.
the horizontal collisions are still happening to me and nothing is working
does anyone know how to fix this issue
Can't help you without seeing the project.
What if my sprite is falling through the grass on some spots?
I'd need to see your project. You can find my email address in the description of the video.
you should have an outside shot of all the code at the end of the video
Sounds interesting 🤔
I usually leave a link to the project in the description, but I didn't this time.
What is this "Box" sprite and WHAT IT DOES?
Watch the whole video.
Ok, so the "Box" sprite is the PLAYER?
Yep
It keeps going down until it gets do the bottom no matter what.
16:04
HELP! when I go into the left wall it makes me jitter and vibrate. It doesn't do this with the right walls.
I can't help you without seeing your project...
@@elrincondeprimaria ok no problem but how can I show you? discord??? or should I make a video showing the code?
elrincondeprimaria2020@gmail.com
You can share your project and send me the URL.
@@elrincondeprimaria ok sure
@@elrincondeprimariathanks for responding quickly
scratchhhhhhhhhhhhhhhhhhhhh #1
I have a problem where when i go to the next level the diamond dissapears
I'd need to see your project to help you out. You can find my email address in the description of the video.
we por que esta en ingles?
Tienes otro en español.
what If You Have 5 Costumes In The Levels?
I've explained how to make three levels. There's no need to add any further explanations. Same process to make four, five or thirty levels.
Primero :D
😁
porque estaen ingles :( :( :(
czcams.com/video/HUWNhTGqu7U/video.html
…
p♥r♥o♥m♥o♥s♥m 😒
it's because you made it a rectangle dum-dum