How to make a SCROLLING PLATFORMER in SCRATCH | Tutorial

Поділитися
Вставка
  • Опубліковано 25 січ 2025

КОМЕНТАРІ • 567

  • @Outsidegaming-gamer
    @Outsidegaming-gamer 24 дні тому +3

    This tutorial is quick and easy which is SUCH A BANGER to me because I followed Griffpatch tutorials and It takes 2 to 3 hours so thanks man

  • @CubeXC
    @CubeXC 2 роки тому +61

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

    • @bowxd
      @bowxd Рік тому +2

      ... is that good or bad

    • @CubeXC
      @CubeXC Рік тому +2

      @@bowxd good

    • @ImpoSher
      @ImpoSher Рік тому +1

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

    • @Animtor747
      @Animtor747 Рік тому

      Fr

    • @aberauchzockt
      @aberauchzockt Місяць тому

      Griffpatch?

  • @KitGamrReal
    @KitGamrReal 2 роки тому +28

    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!

  • @darker_devil
    @darker_devil 7 місяців тому +2

    OMG tysm😭 i tried at least 20 tutorials but urs is the only one that worked 🎉 u earned a sub and like❤

  • @kinghotcoc0
    @kinghotcoc0 Рік тому +20

    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 Рік тому

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

    • @kinghotcoc0
      @kinghotcoc0 Рік тому

      @pingas man everything there besides the gravity is needed.

    • @MadeOutOfGold
      @MadeOutOfGold Рік тому

      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!

  • @R6Silver
    @R6Silver 2 роки тому +10

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

  • @XzernityREAL
    @XzernityREAL 2 роки тому +8

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

  • @mickhithemouse
    @mickhithemouse 2 роки тому +3

    for the animation you could’ve done:
    if

  • @catwithoutaname6778
    @catwithoutaname6778 2 роки тому +13

    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 Рік тому

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

    • @lolidk8986
      @lolidk8986 Рік тому

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

    • @theneverwatcher9860
      @theneverwatcher9860 Місяць тому

      @@lolidk8986 AN ENTIRE YEAR LATE, but the invisible box doesn't require coding. You just make a large transparent box a little bigger than the level costume.

  • @GroundL3v3lGam3r
    @GroundL3v3lGam3r Рік тому +3

    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!

  • @Unidentified-bigboom
    @Unidentified-bigboom 2 роки тому +6

    I think this is the only UA-camr who makes everything simple in scratch unlike griffpatch

    • @hyperhype2629
      @hyperhype2629 2 роки тому

      i barely even understood this video because of so much memes

  • @MoneyYT292
    @MoneyYT292 Рік тому +10

    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 Рік тому

      Which Mario Game?

    • @BloxyKid5001
      @BloxyKid5001 3 місяці тому

      I think he means mario odyssey cuz you can change skins in it

  • @supermariokingdom-official8975
    @supermariokingdom-official8975 2 роки тому +15

    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

  • @NazarioTV
    @NazarioTV 2 роки тому +6

    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 2 роки тому

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

  • @DeletedUserOfficial
    @DeletedUserOfficial 2 роки тому +8

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

  • @ToysRDuFuture
    @ToysRDuFuture 3 місяці тому

    Bro your hilarious, I love the music, this was actually FUN to watch

  • @BrynnDavison
    @BrynnDavison Рік тому +1

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

  • @Dommy560
    @Dommy560 2 роки тому +2

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

    • @Dommy560
      @Dommy560 Рік тому

      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

  • @Wazaro296
    @Wazaro296 Рік тому +1

    Nice And Clean Work There M8!

  • @ThatLegoDude
    @ThatLegoDude Рік тому +1

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

  • @Dabivel
    @Dabivel 2 роки тому +1

    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?

  • @minkiyina
    @minkiyina Рік тому +1

    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

  • @b0brlolbob
    @b0brlolbob Місяць тому

    absolute W earned a new sub and i got a new favourite scratch yt

  • @Unidentified-bigboom
    @Unidentified-bigboom 2 роки тому +2

    Tutorial for the 2 player partner game?

  • @F.J.Gaming5063
    @F.J.Gaming5063 2 роки тому +4

    this was a very good and easy tutorial, but what if you want multiple levels???

    • @ajtv_ag
      @ajtv_ag 2 роки тому +1

      Just let it change costumes and change the x and y

    • @trashproductions9513
      @trashproductions9513 2 роки тому

      @@ajtv_ag ikr, no shit

    • @DanialDEcool
      @DanialDEcool Рік тому

      Simple, change the sprite

    • @DanialDEcool
      @DanialDEcool Рік тому

      @@trashproductions9513 that makes absolutely no sense.

  • @JJTraptYT
    @JJTraptYT 2 роки тому +1

    SCRATCH CAT IS BACK YESS!!11!!1

  • @supermariokingdom-official8975
    @supermariokingdom-official8975 2 роки тому +7

    Love it bro ! 👌

  • @gametime02
    @gametime02 2 роки тому +4

    Could you do an editing tutorial?

    • @gametime02
      @gametime02 2 роки тому +2

      Or maybe a platformer with enemies?

    • @BloxyKid5001
      @BloxyKid5001 3 місяці тому

      He already did that bruh

    • @gametime02
      @gametime02 3 місяці тому

      I asked before he made the vid

  • @triocilokgamingkecil
    @triocilokgamingkecil 2 роки тому +1

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

  • @msjumpshout
    @msjumpshout 2 роки тому +2

    Me losing brain cells while a professional coder is coding a epic game

  • @DontComeHereAnymore
    @DontComeHereAnymore 2 роки тому +2

    Here’s your new sub

  • @bankio6957
    @bankio6957 2 роки тому +2

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

    • @scratchcatthings
      @scratchcatthings  2 роки тому +3

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

    • @Dommy560
      @Dommy560 2 роки тому

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

    • @CameronSROOM
      @CameronSROOM Рік тому

      Hello ScratchCatThings!!!

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

    • @NigelShannon
      @NigelShannon 8 місяців тому

      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

  • @yukamoz
    @yukamoz 2 роки тому +1

    yay scratch cat tutorials i love it

  • @somethingthatcollapsed
    @somethingthatcollapsed 2 роки тому +1

    dude u growed very fast :)

  • @ayash5456
    @ayash5456 5 місяців тому

    Best Scratch Project ❤❤❤

  • @shajcheruvathramachandran2078
    @shajcheruvathramachandran2078 3 місяці тому

    Just A tip.... Use scroll x* 480 when new level is coming 4:30

  • @theworldssmallestviolen
    @theworldssmallestviolen Рік тому +1

    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

  • @cameronevans3403
    @cameronevans3403 Рік тому +1

    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 Рік тому

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

  • @userEditsbyD
    @userEditsbyD 3 місяці тому

    Thanks for this tutorial, I made a sonic platformer using this big thank you!

  • @Anonexistingbeing
    @Anonexistingbeing 2 роки тому

    im definetly losing brain cells in scratch while a scratcher is coding something so simple

  • @oodlethedoodle9328
    @oodlethedoodle9328 2 роки тому +2

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

    • @hyperhype2629
      @hyperhype2629 2 роки тому

      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

  • @squidarchives2014
    @squidarchives2014 Рік тому

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

  • @DantetheCartografo
    @DantetheCartografo Рік тому

    i wonder what is the font you use

  • @RetroTechfan123
    @RetroTechfan123 Рік тому

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

  • @AntiCitizen12
    @AntiCitizen12 Рік тому

    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?

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

  • @JustAGamer-t9m
    @JustAGamer-t9m 4 місяці тому

    How do you make slopes with this code? My game's character is shaped like a ball (inspiration from a red ball), so I need slopes physics, but so far, I am new to this, and my code is failing and stuttering.

  • @chanceisstupid-nz5zx
    @chanceisstupid-nz5zx 23 дні тому

    uuuhm so i got a problem i followed it as close as i could but there is this thing were it stays in the air after i press up arrow but i checked over my code like 20 times please help :(

  • @jackadack555
    @jackadack555 3 місяці тому

    why dont you make the level 1 costume so you dont have to worry bout clones?

  • @gwenyellylittleproject6114
    @gwenyellylittleproject6114 2 роки тому +1

    Love this video bro 😎 ❤ 👌

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

  • @PlanetaCartoonOFC
    @PlanetaCartoonOFC 4 місяці тому

    9:19 i tried to make that and the hitbox only stays on the edge :(

  • @sitadewi2437
    @sitadewi2437 3 місяці тому

    After i did the first try everytime i try and move or jump the hitbox just sticks onto the ground.

  • @crazycreeper1688
    @crazycreeper1688 7 місяців тому

    i noticed if you hit your head on the ceiling you can just stick there and even go left and right + with skill you can potentially jump out of that again. How do i fix this?
    also for some reason the ground clone(s) aren't showing up, just the original

    • @crazycreeper1688
      @crazycreeper1688 7 місяців тому

      nevermind about the clones not showing - i fixed it

  • @chilly42069
    @chilly42069 2 роки тому +1

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

  • @Soupington-real
    @Soupington-real 2 роки тому

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

  • @SpawnPointy
    @SpawnPointy Рік тому

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

  • @CaydenCasto-x2o
    @CaydenCasto-x2o 7 місяців тому

    ur helping me make a sonic game that scrolls rn

  • @pingasman435
    @pingasman435 Рік тому

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

    • @pingasman435
      @pingasman435 Рік тому

      Is air stuff needed?

    • @jackadack555
      @jackadack555 7 місяців тому

      yes just dont add the when w is pressed set to 15 ok?

  • @sabersaw25
    @sabersaw25 Рік тому

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

  • @iloverobioz
    @iloverobioz Рік тому

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

  • @pingasman435
    @pingasman435 Рік тому

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

  • @FireX295
    @FireX295 Рік тому

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

  • @bol1via_rblx
    @bol1via_rblx Рік тому

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

  • @trevaungreen7339
    @trevaungreen7339 2 роки тому

    Hi tried it and even after I changed the jump it still won’t work

  • @jeffwiltsey1902
    @jeffwiltsey1902 2 роки тому

    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

  • @bluetenthecreator3590
    @bluetenthecreator3590 2 роки тому +2

    Do a fighting game tutorial with health bars and character selection

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

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

  • @woll7785
    @woll7785 2 роки тому

    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 2 роки тому

      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

  • @satchik-t7d
    @satchik-t7d 2 роки тому

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

    • @scratchcatthings
      @scratchcatthings  2 роки тому

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

  • @jeffdadaggoYT
    @jeffdadaggoYT 8 місяців тому

    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

  • @thebed26521
    @thebed26521 Рік тому

    my player is not touching the floor. How do I fix that?

  • @darealdustinplayzroblox
    @darealdustinplayzroblox 8 місяців тому

    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?

  • @jaycesobotka8497
    @jaycesobotka8497 Рік тому

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

  • @switchkidslol
    @switchkidslol 2 роки тому

    Yessssssss scratch cat you are a legend

  • @gigiMan07
    @gigiMan07 2 роки тому

    Where did you get this cute cats above your codes?

  • @StarWays12
    @StarWays12 2 місяці тому

    I used this tutorial and it worked 🌟

  • @louloufnf7506
    @louloufnf7506 2 роки тому

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

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

  • @Barbbbbbuhlol
    @Barbbbbbuhlol 9 місяців тому

    Mine didn’t work. My ground won’t move, and the hit box won’t move either idk, I think the go to block on the hit box froze it

  • @Cera_unavolta
    @Cera_unavolta 7 місяців тому +1

    Its me on scratch i was trying to after i maked it work nice. Because the movement is workig witchout jumping. Pls can you do a video of resolvation on Scrolling Platform game pls😎?

  • @Noob64
    @Noob64 Рік тому

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

  • @somesillysprunker
    @somesillysprunker Рік тому

    there's one problem, if i add a ceiling, the player will cling onto it

  • @totranngoc1836
    @totranngoc1836 Рік тому

    Please show me how to press the Q key to scroll forward, I will ask to register

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

  • @Pavlesavic20159
    @Pavlesavic20159 Рік тому

    i am doing it again but why did you not making more

  • @ajanirodgers7660
    @ajanirodgers7660 Рік тому

    There is a problem: my player keeps getting stuck at sides and at the left side of the screen.

  • @Da-other-Freddieggamer
    @Da-other-Freddieggamer 2 роки тому

    When will you release this game?

  • @michelegerhart2593
    @michelegerhart2593 Рік тому

    What do i do with sprite 1 in the beginning?

  • @TOMONPRODUCTIONS-fk6qf
    @TOMONPRODUCTIONS-fk6qf 7 місяців тому

    I tried it and for some reason mine doesn't work! are you using scratch 2.0?

  • @Hoverstruck
    @Hoverstruck 2 роки тому +2

    LESGO SCRATCH CAT

  • @astrangecat
    @astrangecat 9 місяців тому

    where did u get the watermelon thing

  • @charliesmysteryadventures5899
    @charliesmysteryadventures5899 9 місяців тому

    your tutorial helped me so much.thank you😃

  • @Qwerty_msm309
    @Qwerty_msm309 Рік тому

    How you made the ground??

  • @sonicthevidcreator7644
    @sonicthevidcreator7644 Рік тому

    HEY SCRATCHCATTHINGS! WHEN I PRESS THE ARROW KEYS THE CAT GOES REALLY FAST WHAT CAN I DO TO PREVENT THIS?

  • @SwiftyGuy
    @SwiftyGuy 2 роки тому

    the part where you put the levels and make the platform longer doesn't work):

  • @maticpodobnik
    @maticpodobnik Рік тому

    hippity hoppity, your code is now my property

  • @lutfeemo8521
    @lutfeemo8521 2 роки тому +1

    You vids are noice but can you make a movie where scratch cat meets its 2.0 and 1.0 and have argYouruement on who is the better cat and scratch cat (the 3.0) wins

    • @lutfeemo8521
      @lutfeemo8521 2 роки тому

      and please do it i would be happy my lil bro is a scratch dev he was Tynker dev until i make him become a scratch dev