How to make a SCROLLING PLATFORMER in SCRATCH | Tutorial

In this video I showed how to make a scrolling platformer :)
( I'm still working on the update for the Sonic ripoff btw, credits to Sega )
I tried to make the video as short as possible so I hope it's not too confusing...
If you want to look at the platformer on scratch: scratch.mit.edu/projects/7640...
Music:
UNDERTALE Soundtrack
Spear of Justice - Toby Fox
Wii Shop Channel theme - Kazumi Totaka
✘ Title: Movement Proposition
✘ Music: Kevin MacLeod
✘ License: CC BY 3.0 (goo.gl/BlcHZR)
✘ Download: incompetech.com/music/royalty-...
✘ Title: Volatile Reaction
✘ Music: Kevin MacLeod
✘ License: CC BY 3.0 (goo.gl/BlcHZR)
✘ Download: incompetech.com/music/royalty-...
✘ Title: Quirky Dog
✘ Music: Kevin MacLeod
✘ License: CC BY 3.0 (goo.gl/BlcHZR)
✘ Download: incompetech.com/music/royalty-...
✘ Title: Ice Flow
✘ Music: Kevin MacLeod
✘ License: CC BY 3.0 (goo.gl/BlcHZR)
✘ Download: incompetech.com/music/royalty-...
✘ Title: Happy Bee
✘ Music: Kevin MacLeod
✘ License: CC BY 3.0 (goo.gl/BlcHZR)
✘ Download: incompetech.com/music/royalty-...
✘ Title: Hitman
✘ Music: Kevin MacLeod
✘ License: CC BY 3.0 (goo.gl/BlcHZR)
✘ Download: incompetech.com/music/royalty-...
✘ Title: At Rest
✘ Music: Kevin MacLeod
✘ License: CC BY 3.0 (goo.gl/BlcHZR)
✘ Download: incompetech.com/music/royalty-...

Пікірлер: 483

  • @CubeXC
    @CubeXC Жыл бұрын

    I think ur the only one that can make me watch tutorial without following it :D!

  • @bowxd

    @bowxd

    11 ай бұрын

    ... is that good or bad

  • @CubeXC

    @CubeXC

    11 ай бұрын

    @@bowxd good

  • @ImpoSher

    @ImpoSher

    10 ай бұрын

    ​@@bowxdIts intertaning not just a "how to"

  • @Animtor747

    @Animtor747

    4 ай бұрын

    Fr

  • @moredreamroadto100subscrib3
    @moredreamroadto100subscrib3 Жыл бұрын

    Man! Your Back Again! That’s Great and also for 5k do a Q and A that would be great!

  • @ZeplifySchoolAccountScratch
    @ZeplifySchoolAccountScratch11 ай бұрын

    Dude, Kudos to this guy!!! This tutorial helped me make a sweet game with what I was able to learn today!!! Thank you so much man!

  • @XzernityREAL

    @XzernityREAL

    7 ай бұрын

    Young Sheldon?

  • @KitGamrReal
    @KitGamrReal Жыл бұрын

    Hello! I'm making a project using your engine, and it is (somewhat) easy to work with! I was going to make a Griffpatch based engine, but this one is simply easier to use. Good job with the engine!

  • @triocilokgamingkecil

    @triocilokgamingkecil

    Жыл бұрын

    iam not

  • @NotJellyMochi

    @NotJellyMochi

    4 ай бұрын

    No one asked@@triocilokgamingkecil

  • @Wazaro296
    @Wazaro29611 ай бұрын

    Nice And Clean Work There M8!

  • @R6Silver
    @R6Silver Жыл бұрын

    Cheers! I can never get gravity or collisions to work but with this it did!

  • @A.VeryConfusedFello

    @A.VeryConfusedFello

    Жыл бұрын

    me to

  • @leifsilva4816

    @leifsilva4816

    3 ай бұрын

    I got the gravity to work but I can just walk through the walls

  • @supermariokingdom-official8975
    @supermariokingdom-official8975 Жыл бұрын

    Love it bro ! 👌

  • @mickhithemouse
    @mickhithemouse Жыл бұрын

    for the animation you could’ve done: if

  • @apenascyclo
    @apenascyclo Жыл бұрын

    Dude, do you know if you can do your gravity method in the pocket code application?

  • @BrynnDavison
    @BrynnDavison Жыл бұрын

    fir the "move" block can we use our own move script or will it ruin the project code?

  • @charliesmysteryadventures5899
    @charliesmysteryadventures5899Ай бұрын

    your tutorial helped me so much.thank you😃

  • @serbianball726
    @serbianball726 Жыл бұрын

    When i put the block: switch costume to, the number 1 and 2 did not appear in the drop-down menu,but costume1,please explain in detail if i did something wrong,thanks in advance.

  • @ThatOneYoutuber1193
    @ThatOneYoutuber1193 Жыл бұрын

    tysm this is a wayyy better way then my scrolling platformers :D

  • @ThatOneYoutuber1193

    @ThatOneYoutuber1193

    6 ай бұрын

    10 Months Later... There. Is A Better Way To Clone The Levels. Less Blocks.. Switch Costume To level number. Go To X (scroll X + ( 400 * level number) ). I Did It Before And It Saved. alot of time. I Did Not Have To Duplicate Any Blocks. Also You Can Automatically Set Repeat. make A Custome Block. Set Costume To ((Costume Number) - 1) Set Repeat number to (Costume Number) Yes You Have To Make A New Variable Or Just Set Repeat Number To ((Costume Number) - 1) If You Update your Game With This Just Give Credit. -Dommy561

  • @TV-rs4ed
    @TV-rs4ed9 ай бұрын

    Thank you for sharing for your engine!

  • @kinghotcoc0
    @kinghotcoc0 Жыл бұрын

    To improve on the clone costume and settings, instead of an If block, set costume to (level number), and do go to x [(scroll x) + 500×(level number)] Also small tip: the dimensions of the screen is 480x360.

  • @blooketfan-jw8gt

    @blooketfan-jw8gt

    Жыл бұрын

    everybody knows the demensions of the screen

  • @kinghotcoc0

    @kinghotcoc0

    Жыл бұрын

    @@blooketfan-jw8gt not everybody does.

  • @pingasman435

    @pingasman435

    11 ай бұрын

    IS THE IF/THEN needed GROUND IF I'M MAKING A GAME WHERE U CAN'T JUMP

  • @kinghotcoc0

    @kinghotcoc0

    11 ай бұрын

    @pingas man everything there besides the gravity is needed.

  • @MadeOutOfGold

    @MadeOutOfGold

    7 ай бұрын

    I found a bug in this engine that annoys me a lot! The bug is where if the player is below a platform and they hold the jump button, they float below the platform and once they get off the floating platform while jumping (floating), they can jump off the platform below to the top of the platform! PLEASE HELP ME FIND A WAY TO FIX THIS!

  • @thatbattlecatsperson6967
    @thatbattlecatsperson6967 Жыл бұрын

    help i did the exact same code as you but i have a problem: When the hitbox jumps, i can move freely (left and right), but then the falling gets stopped higher than its supposed to. a few seconds later, it looks like its on the ground, but the only kind of moving the hitbox can do is jumping. How can you help with this?

  • @Idiot6983
    @Idiot6983 Жыл бұрын

    Thanks Man Really Appreciate it

  • @Darknight__1
    @Darknight__1 Жыл бұрын

    dude u growed very fast :)

  • @IAmBlueChicken
    @IAmBlueChicken Жыл бұрын

    Amazing video!!

  • @DeletedUserOfficial
    @DeletedUserOfficial Жыл бұрын

    because of this tutorial I got 5423 views and 1247 favorites with an additional 2310 likes/hearts

  • @furnacedev
    @furnacedev Жыл бұрын

    yay scratch cat tutorials i love it

  • @minkiyina
    @minkiyina10 ай бұрын

    aint no way thats me also thanks so much for the tutorial i kept breaking the one griffpatch made and this one worked out perfectly

  • @GMDBuLbUl
    @GMDBuLbUl Жыл бұрын

    Thanks for tutorial :)

  • @XzernityREAL
    @XzernityREAL Жыл бұрын

    Your videos are so fun to watch that I don’t even follow them, I just like to watch it.

  • @g4me_mobile66

    @g4me_mobile66

    Жыл бұрын

    true.

  • @MoneyYT292
    @MoneyYT292 Жыл бұрын

    This really helped! Can you do a tutorial on how to add different level, a shop that you can buy different skins and world (like mario)

  • @MadeOutOfGold

    @MadeOutOfGold

    7 ай бұрын

    Which Mario Game?

  • @UrG4y69
    @UrG4y69 Жыл бұрын

    Nice!

  • @triocilokgamingkecil
    @triocilokgamingkecil Жыл бұрын

    for some reason, if I use the Giffpatch engine with the others, how come it doesn't get weird

  • @gwenyellylittleproject6114
    @gwenyellylittleproject6114 Жыл бұрын

    Love this video bro 😎 ❤ 👌

  • @PumFedidao123
    @PumFedidao123 Жыл бұрын

    I have a quetion, what if my character holds a item? I tried but the item just follows the character like a stuck block, i tried to make it smooth but i can't can you try then make a tutorial?

  • @NazarioTV
    @NazarioTV Жыл бұрын

    is there any way you can do a part 2 to maybe make moving enemies? (for instance mario has Gombas that walk around the map) i was wondering you can maybe implement something like that!

  • @NazarioTV

    @NazarioTV

    Жыл бұрын

    @Cooper D yeah and i commented this when he didnt make a video about it

  • @DoorsFan2
    @DoorsFan2 Жыл бұрын

    I have a question, I used your engine, but how come the platform only goes up to 3? can you fix that please

  • @Gas_8380
    @Gas_8380 Жыл бұрын

    Yayy a new video :D

  • @ThatLegoDude
    @ThatLegoDude6 ай бұрын

    why does it lag when i make the character fall and i broadcast restart again?

  • @switchkidslol
    @switchkidslol Жыл бұрын

    Yessssssss scratch cat you are a legend

  • @-....L
    @-....L8 ай бұрын

    theres one problem you can pass trough blocks on the left side and its annoying because it will make my players cheat can you fix that?

  • @woll7785
    @woll7785 Жыл бұрын

    can you show us how to add animations to the movement? like when you press d or the right arrow, a walking/running animation will play

  • @g4me_mobile66

    @g4me_mobile66

    Жыл бұрын

    I did it, just make a bad animation based on 4 walking/running frames and 1 idle frame, or do this: When green🏳clicked forever if then repeat (the amount of frames your animation has) next costume wait (the speed that fits better with your animation, the smaller the number, the faster you play the animation) if then switch costume to (run1/Run1/run 1/Run 1/walk1/Walk1/walk 1/Walk 1) if then switch costume to Idle1

  • @sulianimates
    @sulianimates Жыл бұрын

    Thx for tutorial it helped

  • @potatokid3950
    @potatokid3950 Жыл бұрын

    at around 2:48 when your getting the background scrolling i did everything you did but my hitbox doesnt move after you at the little bit of code to the ground sprite is there any way to fix it?

  • @user-nx3lm3nv4z

    @user-nx3lm3nv4z

    24 күн бұрын

    your hit box is moving but it looks like its not because the whole stage looks the same keep moving right and you will see the edge

  • @stick90
    @stick90 Жыл бұрын

    that is amazing

  • @michelegerhart2593
    @michelegerhart2593 Жыл бұрын

    What do i do with sprite 1 in the beginning?

  • @gigiMan07
    @gigiMan07 Жыл бұрын

    Where did you get this cute cats above your codes?

  • @catwithoutaname6778
    @catwithoutaname6778 Жыл бұрын

    You know if you make an invisible box outside of each level costume (that's slightly bigger than the level itself) it removes the need for the border, right? It can help make the game look a whole lot cleaner.

  • @FrostyPenguin779

    @FrostyPenguin779

    10 ай бұрын

    you can also play it in turbowarp and turn off fencing. which is easier

  • @lolidk8986

    @lolidk8986

    9 ай бұрын

    well whats the code for this, you can just give me a link

  • @tzfinest75
    @tzfinest75 Жыл бұрын

    THIS IS A GOOD STARTER FOR MY GAME!!!

  • @jeffdadaggoYT
    @jeffdadaggoYT8 күн бұрын

    Idea: Instead on making your hitbox a different sprite just make it a costume in the player sprite then forever switch to it, then when your done with collisions, switch the costume to one of the player's costumes, this will simply save on loading time, and will allow the player to directly be at the hitbox instead of being a bit behind

  • @jeffdadaggoYT

    @jeffdadaggoYT

    8 күн бұрын

    also add slope detection

  • @bankio6957
    @bankio6957 Жыл бұрын

    A cool effect scratchers could add is by making the camera drag instead of it just following the cat every frame.

  • @scratchcatthings

    @scratchcatthings

    Жыл бұрын

    yeah, but I don't know how to do that... :/

  • @ThatOneYoutuber1193

    @ThatOneYoutuber1193

    Жыл бұрын

    @@scratchcatthings maybe make that cat go to X : Variable X and Y : Variable Y

  • @CameronSROOM

    @CameronSROOM

    Жыл бұрын

    Hello ScratchCatThings!!!

  • @NonFireCan0n
    @NonFireCan0n Жыл бұрын

    Very epic!!

  • @tormer1850
    @tormer1850 Жыл бұрын

    Nice

  • @RetroTechfan123
    @RetroTechfan123 Жыл бұрын

    After you make the scrolling, i can't move can you help ?

  • @Hockey_guy_17
    @Hockey_guy_17 Жыл бұрын

    I think this is the only KZreadr who makes everything simple in scratch unlike griffpatch

  • @hyperhype2629

    @hyperhype2629

    Жыл бұрын

    i barely even understood this video because of so much memes

  • @pingasman435
    @pingasman43511 ай бұрын

    I'm tring to make a sidescroller where you can't jump, is the Y required?

  • @pingasman435

    @pingasman435

    11 ай бұрын

    Is air stuff needed?

  • @chilly42069
    @chilly42069 Жыл бұрын

    very very amazing man thank you so much man thanks man. I really thank you so much for this man thanks man thanks.

  • @Noob64
    @Noob64 Жыл бұрын

    how do we keep the background moving? I only see it clone twice. Great video by the way.

  • @Blu2556
    @Blu2556 Жыл бұрын

    Instead of using invis wall make it so when hitbox y goes lower than -50 it broadcasts restart which sets all scroll to 0 and sets y and x to 0 and its way better than invis wall

  • @user-pj8fx3ek4j
    @user-pj8fx3ek4jАй бұрын

    where did u get the watermelon thing

  • @user-oe1in2ot1v
    @user-oe1in2ot1v10 күн бұрын

    under rated

  • @DantetheArtist2024
    @DantetheArtist202410 ай бұрын

    i wonder what is the font you use

  • @AnimationSwell
    @AnimationSwell Жыл бұрын

    YOOO A NEW UPLOADD

  • @supermariokingdom-official8975
    @supermariokingdom-official8975 Жыл бұрын

    But the hitbox's lenght shouldn't be bigger than Scratch ones, else if you test the game , Scratch will not look like hes touching the ground

  • @g4me_mobile66

    @g4me_mobile66

    Жыл бұрын

    You're correct! This is right.

  • @A.VeryConfusedFello

    @A.VeryConfusedFello

    Жыл бұрын

    yes

  • @pingasman435

    @pingasman435

    11 ай бұрын

    IS THE IF/THEN needed GROUND IF I'M MAKING A GAME WHERE U CAN'T JUMP

  • @Hockey_guy_17
    @Hockey_guy_17 Жыл бұрын

    Tutorial for the 2 player partner game?

  • @beggol___p
    @beggol___p Жыл бұрын

    finnaly! thanks

  • @oodlethedoodle9328
    @oodlethedoodle9328 Жыл бұрын

    Thank goodness someone else did this (griffpatch didn’t exactly help)

  • @hyperhype2629

    @hyperhype2629

    Жыл бұрын

    its because you have no patience mostly because griffpatches videos are really long but he could easily make a better game i would rather a tutorial that dosnt have edits or memes then a long tutorial

  • @Soup-cat
    @Soup-cat Жыл бұрын

    movement did not work i did the exact same code it still didnt work how would i fix this?

  • @JJTraptYT
    @JJTraptYT Жыл бұрын

    SCRATCH CAT IS BACK YESS!!11!!1

  • @jeffwiltsey1902
    @jeffwiltsey1902 Жыл бұрын

    if the hitbox starts floating when you jump just go into the y if else script make it so the else its says change y by 1 make it so that its change y by -1

  • @DontComeHereAnymore
    @DontComeHereAnymore Жыл бұрын

    Here’s your new sub

  • @Qwerty_msm309
    @Qwerty_msm3094 ай бұрын

    How you made the ground??

  • @jaycesobotka8497
    @jaycesobotka84979 ай бұрын

    can you please help i have a problem with my game. im sinking into the ground and then it makes me very slow

  • @mcnoodleinnitold

    @mcnoodleinnitold

    9 ай бұрын

    same but im just not able to move

  • @agileboardess
    @agileboardess2 ай бұрын

    good tutorial

  • @sontae609
    @sontae609 Жыл бұрын

    Thanks for the tip

  • @theworldssmallestviolen
    @theworldssmallestviolen Жыл бұрын

    can you do another one that has enemy clones, and levels but you can just do enemy clones but you can just do more then

  • @adhvikparri9127
    @adhvikparri91274 ай бұрын

    ze spike are moving in my project. What do i do?

  • @FireX295
    @FireX2957 ай бұрын

    im jsut curious on how you got a cat face on you start and define blocks

  • @coolr850

    @coolr850

    7 ай бұрын

    Scratch Addons

  • @g4me_mobile66
    @g4me_mobile66 Жыл бұрын

    I made a crouch mechanic. But when I press the down arrow or S key i can't move, I need to jump to be able to move while crouching. How I fix this? (Edit: Now it works! I fixed this problem and now i can walk while crouching! But I had another unexpected bug, my project works normally, but there are few moments my stage 1 & stage 2 backgrounds mix together, making a kind of "ancient futuristic city", because I made 2 stages, i will make more. I am using this tutorial to make a actual non-generic scrolling platformer. If you see a cube robot in this game, it is Cubbot, and I created him, so don't comment he is generic, he has hands and feet.)

  • @l_totallynotjudd6859
    @l_totallynotjudd6859 Жыл бұрын

    Im 5 Months late. Why not for the walls use the ground sprite mechanism for the wall? Im Very confused on why

  • @sabersaw25
    @sabersaw25 Жыл бұрын

    If you want scratch to be costume 1 if not moving you could swap costume 1 with costume 2

  • @blooketfan-jw8gt
    @blooketfan-jw8gt Жыл бұрын

    its super good and can you add enemy clones

  • @progaming915
    @progaming915 Жыл бұрын

    nice!

  • @cameronevans3403
    @cameronevans34035 ай бұрын

    There’s something wrong with my hitbox, it will only move when I press a or d in mid air and when it’s on the ground it doesn’t move. I did all the code and I went through it and I didn’t mess any of the code up

  • @filipgrzesko8156

    @filipgrzesko8156

    5 ай бұрын

    In the hitbox you must have: change not set (the change scroll x/scroll y by position x/y * -1 script)

  • @tomorquotes
    @tomorquotes5 ай бұрын

    How do you make to mouse?

  • @louloufnf7506
    @louloufnf7506 Жыл бұрын

    I did the tutorial on till the speed was Super Slow can you tell me how you're speed was fast

  • @benjaminthomas5446
    @benjaminthomas5446 Жыл бұрын

    im trying to add more levels but they are not showing up can you please show a more in-depth tutorial to add more levels

  • @bluetenthecreator3590
    @bluetenthecreator3590 Жыл бұрын

    Do a fighting game tutorial with health bars and character selection

  • @lukasrais7410
    @lukasrais7410 Жыл бұрын

    Hello I want to ask someone if they have any idea how to make the screen a little higher while the Cat stays in place (Basically I want there to be a little of the ground seen and more of the sky as it seems quite bad to have half the screen filled with dirt.) Simply moving any of the positions won't work. I will be happy if someone can come up with a solution.

  • @magmalife7330

    @magmalife7330

    Жыл бұрын

    Did you find out how to do this?

  • @megatron4507
    @megatron4507 Жыл бұрын

    Wow! Thank you for the video!

  • @jonzlee7633
    @jonzlee7633 Жыл бұрын

    thanks now I can make a scrolling platformer. Yay!

  • @jonzlee7633

    @jonzlee7633

    Жыл бұрын

    but thats lots of blocks. Welp, gotta work it

  • @jonzlee7633

    @jonzlee7633

    Жыл бұрын

    @ItzCandyPusheen on scratch

  • @gamepicker2411
    @gamepicker2411 Жыл бұрын

    Thank you

  • @Hoverstruck
    @Hoverstruck Жыл бұрын

    LESGO SCRATCH CAT

  • @HarrisMcMullen
    @HarrisMcMullen4 ай бұрын

    How do I add wall jumping?

  • @darealdustinplayzroblox
    @darealdustinplayzroblox25 күн бұрын

    For some reason when i try to make the ground scroll, my character is stuck in the sky and I tried everything to fix it. Can anyone help me with this?

  • @CRG4242
    @CRG424210 ай бұрын

    hey uh when i pressed the flag i can move but im slow pls help

  • @yonsi9907
    @yonsi9907 Жыл бұрын

    when I press the flag the hitbox gets stuck on the ground without being able to move. How do I solve it?

  • @scratchcatthings

    @scratchcatthings

    Жыл бұрын

    oh, maybe you can move the ground down a little bit in the ground costume?

  • @CRG4242
    @CRG424210 ай бұрын

    on this part: 2:30 i pressed flag and the hitbox suddenly move on the right when i press left arrow pls help

  • @CRG4242

    @CRG4242

    10 ай бұрын

    OH I HAD TO PUT CHANGE X BY -1

  • @butteredfriez
    @butteredfriez Жыл бұрын

    im having difficulties on the ground scrolling, because im not pressing anything and its still moves

  • @000MG
    @000MG Жыл бұрын

    i think the guy that u got the tutorial from is Griffpatch, the greatest scratcher

  • @iamtipcattson-rulerofthegatos
    @iamtipcattson-rulerofthegatos6 ай бұрын

    THANK YOU SO MUCH SCRATCH CAT THINGS

  • @Resident_Mind
    @Resident_Mind11 ай бұрын

    when i get stuck on a irregular pixel, and i keep moving, after i jump i get launched

  • @MedAnimations
    @MedAnimations Жыл бұрын

    maybe that person was griffpatch? Also nice tutorial!

  • @cubey_boiii29
    @cubey_boiii29 Жыл бұрын

    yo now i can make marker adventure on scratch :D

  • @HTRDXD
    @HTRDXD Жыл бұрын

    How did u got that cat block stuff

  • @tylerandmolly5811

    @tylerandmolly5811

    Жыл бұрын

    scratch addons

  • @gametime02
    @gametime02 Жыл бұрын

    Could you do an editing tutorial?

  • @gametime02

    @gametime02

    Жыл бұрын

    Or maybe a platformer with enemies?