Scratch 3.0 Platformer Tutorial

Поділитися
Вставка
  • Опубліковано 24 гру 2024

КОМЕНТАРІ • 439

  • @sshaaeeeee
    @sshaaeeeee 4 роки тому +10

    When i use the block when space key press if jumping = false then set y velocity to 15 and set jumping true it won't let me jump for some reason

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

    To everyone who is saying this does not work it does make sure to double check the code and look closely bc I had many errors but i found out I coded it wrong but this does work for me
    Edit: you earned yourself a subscriber

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

    you are the best scratcher. you makse awesome and easy tutorials . please keep making such videos

  • @thegamer-gz7gu
    @thegamer-gz7gu 4 роки тому +2

    it also works if you have a red line above the ground and then you say if touching color _______ then broadcast start level

  • @hynoph7165
    @hynoph7165 4 роки тому +7

    when i do a horizontal moving platform, it stays still on the platform

  • @h0lodm0966
    @h0lodm0966 3 роки тому +3

    thank you!
    how do i make my character slower though? also, what do i do with the colors if i want my platformer to have different themes?

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

    Thanks a Centillion for this @Learn Learn Scratch Tutorials. I was dreaming for making a platformer and finally, my dream came true. ALL CREDIT TO YOU. Thanks Once again

  • @anthonystaab1314
    @anthonystaab1314 4 роки тому +4

    When I try and use my move horizontal script my guy starts randomly clipping please help

  • @itsnomis2410
    @itsnomis2410 3 роки тому +3

    I REALLY NEEDED THE MOVEMENTS THANKS ALOT

  • @i-mdefbl9644
    @i-mdefbl9644 3 роки тому +1

    Bruh this was the easiest tutorial I ever had to use. 100% recommend this.

  • @WillM-ww5ps
    @WillM-ww5ps 4 роки тому +27

    This tutorial is so helpful your great! I wouldn't be surprised if you were secretly griffpatch.

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

      Yeah the voice sounds the same.

    • @viking2cool
      @viking2cool 4 роки тому +1

      @@itzfoxy6058 i agree

    • @ultramadnessyoutube
      @ultramadnessyoutube 4 роки тому +1

      ikr?!

    • @scratchcoding5406
      @scratchcoding5406 4 роки тому +1

      I agreeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
      or wait is he griffpatch brother or not?
      the mystery is unsolved

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

      It has to be, cause why else is he hiding his profile when he shows us his actual project.

  • @veryrandomhandle
    @veryrandomhandle 3 роки тому +1

    suggestion the color thing can be tuching level instead

  • @soppph4301
    @soppph4301 3 роки тому

    If u want to reduce the code, You can put in a ' when I receive start level" then 'forever' ' next costume' 'wait 0.12 seconds' and then replace those two ' If Else ' blocks with 'Point in direction' Block after each left key right key codes.

    • @Papugamaya
      @Papugamaya 3 роки тому

      You just copy pasted the pinned message... Hahaha XD

    • @soppph4301
      @soppph4301 3 роки тому

      @@Papugamaya LOL I HAD NO IDEA SERIOUSLY

    • @Papugamaya
      @Papugamaya 3 роки тому

      @@soppph4301 Wow, thats just wow XD Lol.....

  • @AnarchyTime
    @AnarchyTime 3 роки тому +1

    if i collide with the side of the platform i either get teleported to the top or bottom of the platform. Can someone help me out with this

  • @jestjames88
    @jestjames88 3 роки тому

    How come I teleport every time I touch my platforms to the side? The script from 26:59 doesn't work.

  • @jbbiron2211
    @jbbiron2211 3 роки тому

    I have a problem with the jump, I did it the same way you said but when ever I press a button, the variable becomes true but the sprite doesn't jump

  • @ArtyRTArtie
    @ArtyRTArtie 4 роки тому +3

    @learnlearnscratchtutorials When I get to the second level I can't jump, how could this be?

  • @farhanfathima7818
    @farhanfathima7818 3 роки тому +1

    bro no need for creating sprite for pointing left and right just set rotation to left and right and give code
    if key right arrow pressed
    point in direction ninety degrees
    like that in left also

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

    When you have the same problem as i had (Problem: after you made the cat hide when completed level four, you click on the green flag to test your game, but the cat refuses to show itself): you only have to place a show button under the button "when the green flag is clicked". If you don't get it, i will make further explanations.

    • @bwkoper
      @bwkoper 3 роки тому

      Yes I has the same problem you just need tho place the block show under when the green flag is clicked

  • @nathanz5213
    @nathanz5213 3 роки тому

    I am having problems where my scratch crab keeps on going into the floor and bouncing up instead of just settling on the platform. Is there anything I did wrong?

    • @nathanz5213
      @nathanz5213 3 роки тому

      Sorry bout that guys, I learned the hard way the if you press screen refresh, then it will stop the movement of a sprite into a block.

  • @Papugamaya
    @Papugamaya 3 роки тому +1

    How do you change it so that it doesnt do the walking animation so quickly?

  • @natf1748
    @natf1748 4 роки тому

    i am getting trouble on 33:55 when I get to the door it is not going to the next level

  • @gidi1432
    @gidi1432 4 роки тому +1

    TELL ME PLEASE WHAT TO DO!
    MY CHARACTER JUST FLOATS UP INSTEAD OF FALLING AND WHEN I TRY TO JUMP IT JUST GOES ALL THE WAY INTO THE CEILING

    • @7acid7
      @7acid7 4 роки тому

      I think with a forever block?

    • @LizardPlaysBass
      @LizardPlaysBass 4 роки тому

      It floats up because so where in the beginning you put 1 but you need to put negative 1 go back and check it

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

    11:00 Oops, forgot the set rotation left right block!

  • @hyphen_yes
    @hyphen_yes 4 роки тому

    Here's a question: Instead of using the touching color , can I create a sprite and use the touching sprite block? Also, sometimes my jumps is delay, is that mean there is a problem in my code?

    • @hyphen_yes
      @hyphen_yes 4 роки тому

      @KorbloxPrime But you can also create costume for the same sprite

    • @arnavkulkarni5001
      @arnavkulkarni5001 3 роки тому

      yes u can use a sprite insted of the block but will need to change the code a bit.

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

    13:50 my character goes left instead of down?

    • @themoneys7669
      @themoneys7669 4 роки тому +1

      Valery x maybe you used x instead of Y?

  • @moumitasarkar3986
    @moumitasarkar3986 4 роки тому

    if you give a run withot screen refresh in the define block, you can stop going through platforms

  • @iandudley9803
    @iandudley9803 3 роки тому +1

    In my game, I want my sprite jump up on and over chairs. I've completed this code correctly, and every works super well. However, when my sprite walks up to a chair, it just slides right up it, which makes the jumping part of the game irrelevant. Any suggestions as to how I could alter this code so that the sprite would not walk up the side of the chairs? Thanks!

  • @youtubekeyboardwarrior5902
    @youtubekeyboardwarrior5902 4 роки тому

    i have alittle problem the problem is if i put a vertical line the scracth will go to the top of the line how to solve it?

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

    I use "Point In Direction" and it is faster to flip the costumes.

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

    Thanks to you i have already made 2 games and i started this morning

  • @mielnequinto5811
    @mielnequinto5811 4 роки тому +3

    Can I change the “If touching color “color” “ to “If touching “platform”

  • @jaishrish5753
    @jaishrish5753 3 роки тому

    actually i have a problem in playing the level 2 it is not jumping in the level 2 can you make another video solving it please

  • @M4STAGEEK
    @M4STAGEEK 3 роки тому

    when my character comes up against a wall, I found that it either teleports up to the top of the wall, or down underneath and inside the ground
    I also noticed that you can still jump in midair after _walking_ off a platform

  • @neos_plays
    @neos_plays 3 роки тому

    at 19:50 my platform just like my player is just touch the platform after that the player go to the bottom of the map

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

    What is velocity?

  • @stuff4urcs
    @stuff4urcs 3 роки тому

    19:59 if pressing space bar do up arrow also

  • @abbefl9227
    @abbefl9227 3 роки тому

    thanks but when i restart to play again the cat is not there do you know how to do it

  • @foranichka
    @foranichka 4 роки тому +3

    awesome
    game turned out perfectly!!!

  • @josephineplc
    @josephineplc 4 роки тому

    when i press my right arrow it goes down to negative 19887 is it suppose to be like that?

  • @finngraham1397
    @finngraham1397 4 роки тому

    When I click the green flag and press the left or right arrow, the x velocity number keeps in/decreasing. How do I make it stop moving?

    • @finngraham1397
      @finngraham1397 4 роки тому

      Same with the y velocity. It just keeps going down.

  • @randomworks841
    @randomworks841 4 роки тому

    I have a problem my sprite can only jump once then it won't let u jump PLZ TELL ME HOW TO FIX THIS QUICKLY

  • @itslewisandcats
    @itslewisandcats 4 роки тому +1

    When i click the green flag it wont switch to backdrop 1 :(

  • @mrjakegamez_
    @mrjakegamez_ 4 роки тому +1

    For some reason my character goes left when i press the green flag

    • @howtolaugh5088
      @howtolaugh5088 4 роки тому

      just figure it out its easy i had the same trouble too but i fixed it

  • @natf1748
    @natf1748 4 роки тому +1

    i am having trouble..when i go through the door on the secend level i cant go to level 3 ...help me

    • @Timetrill
      @Timetrill 4 роки тому +1

      nat F use a different door

    • @natf1748
      @natf1748 4 роки тому +1

      @@Timetrill ok

  • @angleiguess
    @angleiguess 4 роки тому

    33:54 i got stuck here because it will ow go to the next backdrop

  • @randomworks841
    @randomworks841 4 роки тому

    did u have the problem where if I click once it keeps going cuz I have that problem

  • @orumcekosmanofficial
    @orumcekosmanofficial 3 роки тому

    when my character touchs near the platfor it teleports to up of the platform help please

  • @aymz.33
    @aymz.33 3 роки тому

    when i press right key it goes really fast but i do not know what to do

  • @slinkymadinky
    @slinkymadinky 3 роки тому

    one prob, when i touch door, the game lags very hard and the cat is just on the door, is there a way to fix it?
    edit: im about to give up, first, in level 2 (not going in door since its broken) i have vertical walls, whenever i go torwards them, my character clips on top of the wall/line, idk how to fix, im about to give up.
    edit again: doors fixed now
    edit one again: i do danger lines, it refuses, i gave up

  • @halobread
    @halobread 4 роки тому +1

    Don't you know that you can use 'set rotation stye; left-right'? it's pretty simple!

  • @aqeefdayout
    @aqeefdayout 3 роки тому

    when i put the sprite on the platform the sprite slowly move through the platform. plz help

  • @randomworks841
    @randomworks841 4 роки тому

    I want to add a background to my game but whenever I add the backdrop the backdrop goes in front of my level how do I fix this?

    • @wardakhan4911
      @wardakhan4911 3 роки тому

      try using the "go to front/back" block

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

    This video deservers more likes, I love your content! Keep up the good work

  • @grumm1ngs012
    @grumm1ngs012 4 роки тому

    Why do you change y by y velocity in define move vertical? Answer me quick pls!!!

  • @essencedewberry3701
    @essencedewberry3701 4 роки тому +1

    My character's y velocity starts going so far up, can i override this

  • @deabhargava5312
    @deabhargava5312 4 роки тому

    hello, can you please tell m e how to make a bouncepad?

  • @rustybike8536
    @rustybike8536 3 роки тому

    hi, i'm not sure why but when I go onto level two I can go into the level but I can't move, do you know a solution to this?

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

    It Works and i like bthat your using scratch 3.0 because its so hard using scratch 2.0

  • @bethhouston2971
    @bethhouston2971 3 роки тому

    I recommend when the green flag is clicked. drag it to wherever you want it to fall and then after the green flag is clicked make it go were you want it

  • @Finn-rb3bt
    @Finn-rb3bt 3 роки тому

    i dont want the moving one is that ok?

  • @TriNardDPMRemixs
    @TriNardDPMRemixs 4 роки тому

    But the problem is when i leave the keyboard alone he still moves even if the code to stop that is placed in it

    • @TriNardDPMRemixs
      @TriNardDPMRemixs 4 роки тому

      WOW I FIXED IT I FORGOT TO SWITCH IT THE CHANGE Y VELOCITY WHAT AM I BLIND???!!

  • @flanker1146
    @flanker1146 3 роки тому

    at the costume changing part I can not seem to get it to work

  • @shailaja8719
    @shailaja8719 4 роки тому +1

    I have a glitch when I jump up I can go through platforms

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

    thank you so much for making this vid i cant belive it acttually worked

    • @WinPeck
      @WinPeck 4 роки тому +1

      Nigel Ewington hi do you like scratch

  • @chetankachana414
    @chetankachana414 4 роки тому

    My sprite just keeps going through the green platform
    any solution?

  • @mlgdoggo4464
    @mlgdoggo4464 4 роки тому

    this code doesn't work for me at all
    List of problems:
    -Clipping through blocks
    -Moonwalking
    -It will merge with the floor and rise up slowly
    - ^^^ Then it will glide to either direction
    im not sure if this years version is the same and if it still is can you please tell me on how to fix these?

    • @wowyok4507
      @wowyok4507 4 роки тому +1

      well there are a bunch of stuff that work you can go to funut tutorial or backpack the code

  • @PSGamingGuy
    @PSGamingGuy 3 роки тому

    Umm there is a question I want to ask you. How to I duplicate 23 costumes at the same time?

  • @laurachyou1620
    @laurachyou1620 4 роки тому

    my xv (x velocity) keeps going over 10 how do i fix that?

  • @zyxezer8986
    @zyxezer8986 4 роки тому

    i can fall off the edge and then jump midair (i know why this is happening but don't know how to fix it)

  • @nimmyranjeeth5267
    @nimmyranjeeth5267 3 роки тому +1

    If your character is moving slow, I found it out that you just have to increase the the number of it

  • @geethansamarawickrama9857
    @geethansamarawickrama9857 3 роки тому

    if we make the levels a sprite instead of a backdrop will there be any difference??

    • @learnlearnscratch
      @learnlearnscratch  3 роки тому

      Maybe, maybe not. it depends. Make sure the you use the send to back block to make sure the level is at the rear, but other than that it should be fine. :-)

    • @geethansamarawickrama9857
      @geethansamarawickrama9857 3 роки тому +1

      @@learnlearnscratch Well It Did Have A Difference But I Was Able to Make It by changing some code scratch.mit.edu/projects/541030646/

    • @geethansamarawickrama9857
      @geethansamarawickrama9857 3 роки тому +1

      @@learnlearnscratch i also used a different move code

  • @ydertbh5742
    @ydertbh5742 4 роки тому +1

    Hello! Just wanted to say that i made 75% of the code for my game, but i struggled to form some things :( But you saved me and my game is going great! I also like that the ground is smooth lines :) keep it up!

  • @pyropotassium4076
    @pyropotassium4076 4 роки тому

    You are very good at explaining

  • @fearlesscockatiel7448
    @fearlesscockatiel7448 3 роки тому +1

    I like this tutorial! It really helped me with my platformer.

  • @doodoo7533
    @doodoo7533 3 роки тому

    guys you can also make the backdrops a sprite, and the different levels in costumes

  • @vistaclipz4113
    @vistaclipz4113 3 роки тому

    my y velocity keeps jumping to like -5 without me touching the space bar can anybody help

  • @do3128
    @do3128 4 роки тому

    my portal and spawn doesnt work can you help me with that

  • @elinazlinkamarulzaman392
    @elinazlinkamarulzaman392 4 роки тому

    Could you replace SpaceBar with Up srrow?

  • @cerealthe72nd
    @cerealthe72nd 4 роки тому

    This is so fun and easy! I do have one problem where when i go to level 2, the entire game just stops. I have it on 'Stop other scripts in this sprite' but it just DOESNT WORK. Please help!

  • @jackofhearts9774
    @jackofhearts9774 3 роки тому

    anybody know how to fix this, in mine when i jump its like there is no gravity

  • @AIRBORN_EEvEE
    @AIRBORN_EEvEE 3 роки тому

    HAH, and to think i learned to make a shooter-engine before i learned to make a platformer.
    thanks so much, this filled a pretty LARGE gap in my coding experience. now i can make PLATFORM-SHOOTERS! WOOT!

  • @thefishanimations863
    @thefishanimations863 3 роки тому

    my characters gravity didnt work when he went to the top it shot back to the floor super fast

  • @aryanmahapatra6572
    @aryanmahapatra6572 4 роки тому

    can u share the link for the scratch remix

  • @Im_Lilac
    @Im_Lilac 3 роки тому +1

    thank you so muchh..it worth it then the other people..

  • @punyawathirachakatla6656
    @punyawathirachakatla6656 4 роки тому

    but this is so long but good video but i have one problem (i cant just faall down at the edge of the screenlike you have added gravity for first

  • @amitaghosh4925
    @amitaghosh4925 4 роки тому

    Very good channel. I tried many times and I could not make platformer but now I can make thousands of platformer s lol.

  • @innerwaffles
    @innerwaffles 4 роки тому

    This is THE BEST scratch vid EVER. thank you, @LearnLearnScratchTutorials.

  • @ethanl9024
    @ethanl9024 4 роки тому

    When I do the moving platform the cat motion goes all slow guys please help.

  • @mickeybekele2936
    @mickeybekele2936 4 роки тому +3

    thank you this was really helpful!

  • @RetroTinpot
    @RetroTinpot 4 роки тому

    check mark at 23:26 reminder :)

  • @nickramm3500
    @nickramm3500 4 роки тому +4

    I love this- its so useful!

  • @kasthurithiyagarajan3529
    @kasthurithiyagarajan3529 3 роки тому

    When it starts level two I cant move

  • @violetspaghetto1649
    @violetspaghetto1649 4 роки тому

    how to i make it so my character can double jump without getting infinite jumps

    • @lizmiller7906
      @lizmiller7906 3 роки тому

      1.add a jumps variable
      2.add a set jumps to 2 if touching the colour of your platforms
      3.when *jump key* key pressed
      4.if jumps > 0 set y velocity to 15 and change jumps by -1

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

    19:14
    That singing was beautifull

    • @zn_1
      @zn_1 4 роки тому

      lol

  • @gingeralelmao
    @gingeralelmao 4 роки тому

    I feel bad that this wasn't saved, because you can see in the top right corner he isn't logged into Scratch. Great video as well, it worked perfectly when I followed this tutorial. I've tried making platformers before, and I constantly mess up the jumping part. But there was one problem. There was so much code that my device laggged so bad that I could not move my Scratch Cat anymore. I guess you have to be prepared with the best device if you can make a good Scratch game...

  • @inactive5128
    @inactive5128 4 роки тому

    Theres a glitch on mine. Everytime I touch the edges I still glide up. Can someone please help

  • @Astro_1477
    @Astro_1477 4 роки тому +1

    This really helps me with my game
    thanks

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

    22:38 I can't jump my code is the same as you wtf.