How to make a PLATFORMER GAME | Easy code | Simple - Scratch 3.0 FULL Tutorial

Sdílet
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

Komentáře • 102

  • @schnittlewolf
    @schnittlewolf Před rokem +9

    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!

  • @meltedfinch4700
    @meltedfinch4700 Před rokem +5

    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

  • @lenavu4723
    @lenavu4723 Před 6 měsíci +3

    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

  • @al4m.a4
    @al4m.a4 Před rokem +2

    I think its easy to catch on mind... so logical!

  • @NotAlphaSlayer15
    @NotAlphaSlayer15 Před 3 měsíci +2

    *finally a video that has SIMPLE code that can not get mistaken And WORKS!,*

  • @Miguelotzzo88
    @Miguelotzzo88 Před 2 lety +4

    tercero
    hola me gusta tu contenido gracias a ti pude hacer mis primeros juegos en scratch 😁😁

  • @liuxuhan6572
    @liuxuhan6572 Před rokem

    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.

  • @pureaut1sm
    @pureaut1sm Před rokem

    now you look less scarier, thanks i learned alot man

  • @bethhouston2971
    @bethhouston2971 Před rokem +1

    gracias por el tutorial 😁

  • @woopergtag
    @woopergtag Před rokem

    wow you explain so good!

  • @-the_raging_gamer_
    @-the_raging_gamer_ Před 11 dny

    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

  • @juanescobar9760
    @juanescobar9760 Před 2 lety

    Que grande eres Diego!!!🤩🤩

  • @gagechannal4812
    @gagechannal4812 Před rokem

    good tutorial thought me well

  • @virajphalswal9260
    @virajphalswal9260 Před rokem +1

    Bro Liked! First Time Understood some difficult code! U are a good Teacher! Love u

    • @elrincondeprimaria
      @elrincondeprimaria  Před rokem

      Thanks for your support! :)

    • @virajphalswal9260
      @virajphalswal9260 Před rokem

      @@elrincondeprimaria wlcm

    • @txletd6143
      @txletd6143 Před rokem

      @@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

    • @virajphalswal9260
      @virajphalswal9260 Před rokem

      @@txletd6143 post screenshot of code on scratch help and send me link of that I will check it

  • @fexel-hd5jg7wh8g
    @fexel-hd5jg7wh8g Před 2 lety

    you are the BEST

  • @LongTran-uo6iq
    @LongTran-uo6iq Před rokem +4

    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

    • @elrincondeprimaria
      @elrincondeprimaria  Před rokem +2

      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! :)

    • @cs.abouttheatre
      @cs.abouttheatre Před 23 dny

      That's basically a "hitbox".

  • @pssspsspssspss
    @pssspsspssspss Před rokem +1

    I came directly from the jump and gravity video, where do i put the Y (up) Replace? Just before the line of code or??

  • @atemkengfolefac4306
    @atemkengfolefac4306 Před 24 dny

    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!!!!!!!!! :)

  • @Restrained_wind
    @Restrained_wind Před 3 měsíci +1

    i love you so much

  • @Psychic9000
    @Psychic9000 Před 2 lety +1

    my problem is fixed with the slow falling!!! :)

  • @HangingwithRiley
    @HangingwithRiley Před 2 měsíci +1

    👍👍👍

  • @Handinon
    @Handinon Před rokem +2

    thanks you this was very helpfull! deserves a like!

  • @PeterParker-gx3yg
    @PeterParker-gx3yg Před 2 lety +1

    Segundo, me encanta tu contenido me sirve
    Solo una pregunta como puedo hacer que mi personaje tengan enemigos y se pueda defender?

    • @elrincondeprimaria
      @elrincondeprimaria  Před 2 lety +1

      Podrías hacer que pueda disparar algo, pero es imposible de explicar en un comentario 😅.

    • @PeterParker-gx3yg
      @PeterParker-gx3yg Před 2 lety

      @@elrincondeprimaria lo mismo digo. Gracias

  • @jacobomizrahi7215
    @jacobomizrahi7215 Před 7 měsíci

    You made me change everything from your last video bruh

  • @thehunkin1132
    @thehunkin1132 Před 2 lety

    YES ITS WORKING NOW! :)

  • @Lime_GT.
    @Lime_GT. Před rokem

    My sprite is just teleporting to y velocity 424151 can you tell me to fix that?

  • @amalkalps1954
    @amalkalps1954 Před 3 měsíci

    How can I do it for 2 people? Like the game Fire and water?

    • @elrincondeprimaria
      @elrincondeprimaria  Před 3 měsíci +2

      Making another character, another hitbox, other variables, different keys to control it...

    • @amalkalps1954
      @amalkalps1954 Před 3 měsíci

      ​@@elrincondeprimaria thanks 😊

  • @estherestebaranz7788
    @estherestebaranz7788 Před 2 lety

    DIEGO SOY DE 5°A Y TUS VIDEOS SON LOS MEJORES. POR QUÉ NO NOS LO ENSEÑAS EN LOS CHROMEBOOKS EN CLASE?

    • @elrincondeprimaria
      @elrincondeprimaria  Před 2 lety

      Estamos empezando con Scratch, Aitana. Este tutorial todavía es complicado.

  • @RandomPurrsone
    @RandomPurrsone Před 2 lety +1

    the horizontal collisions are still happening to me and nothing is working

  • @amalkalps1954
    @amalkalps1954 Před 2 měsíci

    What if my sprite is falling through the grass on some spots?

    • @elrincondeprimaria
      @elrincondeprimaria  Před 2 měsíci +1

      I'd need to see your project. You can find my email address in the description of the video.

  • @bellajenssen7408
    @bellajenssen7408 Před rokem

    you should have an outside shot of all the code at the end of the video

    • @elrincondeprimaria
      @elrincondeprimaria  Před rokem

      Sounds interesting 🤔
      I usually leave a link to the project in the description, but I didn't this time.

  • @g4me_mobile66
    @g4me_mobile66 Před rokem

    What is this "Box" sprite and WHAT IT DOES?

  • @thehunkin1132
    @thehunkin1132 Před 2 lety

    It keeps going down until it gets do the bottom no matter what.

  • @wow_uh_cool8483
    @wow_uh_cool8483 Před 5 měsíci

    16:04

  • @Gort_theSerf
    @Gort_theSerf Před rokem

    HELP! when I go into the left wall it makes me jitter and vibrate. It doesn't do this with the right walls.

    • @elrincondeprimaria
      @elrincondeprimaria  Před rokem

      I can't help you without seeing your project...

    • @Gort_theSerf
      @Gort_theSerf Před rokem

      @@elrincondeprimaria ok no problem but how can I show you? discord??? or should I make a video showing the code?

    • @elrincondeprimaria
      @elrincondeprimaria  Před rokem

      elrincondeprimaria2020@gmail.com
      You can share your project and send me the URL.

    • @Gort_theSerf
      @Gort_theSerf Před rokem

      @@elrincondeprimaria ok sure

    • @Gort_theSerf
      @Gort_theSerf Před rokem

      @@elrincondeprimariathanks for responding quickly

  • @lucianoescobar7569
    @lucianoescobar7569 Před rokem

    scratchhhhhhhhhhhhhhhhhhhhh #1

  • @penguinahead5970
    @penguinahead5970 Před 3 měsíci

    I have a problem where when i go to the next level the diamond dissapears

    • @elrincondeprimaria
      @elrincondeprimaria  Před 3 měsíci

      I'd need to see your project to help you out. You can find my email address in the description of the video.

  • @BLOK363
    @BLOK363 Před rokem

    we por que esta en ingles?

  • @drawingking527
    @drawingking527 Před rokem

    what If You Have 5 Costumes In The Levels?

    • @elrincondeprimaria
      @elrincondeprimaria  Před rokem

      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.

  • @SanthiagoProvV1
    @SanthiagoProvV1 Před 2 lety

    Primero :D

  • @elbareita53
    @elbareita53 Před 2 lety +1

    porque estaen ingles :( :( :(

  • @Smp421
    @Smp421 Před 11 měsíci

  • @lesliefreeman9070
    @lesliefreeman9070 Před 2 lety

    p♥r♥o♥m♥o♥s♥m 😒

  • @sjrlouise2003
    @sjrlouise2003 Před rokem

    it's because you made it a rectangle dum-dum