Code a Platformer Game | 6. Vertical Levels

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ส.ค. 2024
  • Continue to build our Scratch Platformer, adding vertical scene changes to make your levels larger and multi-dimensional! I'm griffpatch, and I'm bringing together all I've learned about making bitmap sprite collision based platformers and I'm putting it into this brand new series. My tutorials are for all budding game & software developers using Code Blocks. Scratch On guys!
    🚀 Boost Your Creativity with Griffpatch
    The Griffpatch Academy will take you from "Gamer to Game Creator"
    Learn more at 👉 griffpatch.academy 👈
    😺 Scratch was developed by the Lifelong Kindergarten Group at the MIT Media Lab. See scratch.mit.edu
    🐱 Starter Project Game Assets - scratch.mit.edu/projects/5605...
    🐱 Scratch Studio (post project here) - scratch.mit.edu/studios/30391...
    👀 Next Episode #7 - • Code a Platformer Game...
    👀 First Episode - • Code a Platformer Game...
    👀 Playlist - • Code a Platformer Game
    ❤️ Scratch Addons - scratchaddons.com/
    📹 Video Editing Software - techsmith.z6rjha.net/5bajbo
    -------------Video Chapters-------------
    0:00 Intro
    0:39 Vertical Level Costumes
    2:02 Switching Vertical Scenes
    6:10 Testing
    6:41 Up and Across
    8:12 One last thing
    10:09 Scratchers
    17:50 Outro

ความคิดเห็น • 729

  • @griffpatch
    @griffpatch  8 หลายเดือนก่อน +7

    Next Episode #7 - th-cam.com/video/bMZmDVCookw/w-d-xo.html
    First Episode - th-cam.com/video/D16hTnDGweo/w-d-xo.html
    Playlist - th-cam.com/play/PLy4zsTUHwGJIATydhFeZa5pspLZR7yE__.html

    • @Immortal69-ei4ek
      @Immortal69-ei4ek 8 หลายเดือนก่อน +2

      Hello Griffpatch, love your videos!

    • @BlueBloxyBoii
      @BlueBloxyBoii 8 หลายเดือนก่อน +1

      Same here

    • @that1lilguy
      @that1lilguy 2 หลายเดือนก่อน

      hello griffpatch! Could you please make a tutorial video on how to make the levels scroll with the player instead of changing when reaching the edge of the screen? would love that! thx

  • @renatakiss9743
    @renatakiss9743 2 ปีที่แล้ว +20

    Griffpatch: *posts a video on a non monday day*
    Me: *confused screaming*

  • @gibler
    @gibler 2 ปีที่แล้ว +19

    Griffpatch must be the only youtuber that does tutorials and doesn't make me bored, due to the fact that the video itself is full of easter eggs like lemons or apells. It just makes me wanna actually watch him, continue your amazing work man :)

    • @felipeleon9918
      @felipeleon9918 10 หลายเดือนก่อน +1

      Almost top comment, 11 likes, one year since posted and no comments?! Let me fix that. Also I agree lol

    • @TheAwesomeTortelini
      @TheAwesomeTortelini 6 หลายเดือนก่อน

      true, Griif's tutorials are the best. Totally Scratch's God

  • @BlueBloxyBoii
    @BlueBloxyBoii 8 หลายเดือนก่อน +4

    Bug report- If a platform on another scene is taller than the one, you're going to, your able to possibly jump higher than the stage. This also allows players to wall jump on higher walls that are not meant for such. Thanks! 😃

  • @thegreenhoodieguy
    @thegreenhoodieguy 2 ปีที่แล้ว +11

    You managed to make this tutorial series a nostalgic throwback but with better code

  • @04tmoodyscratch24
    @04tmoodyscratch24 2 ปีที่แล้ว +2

    Awesome episode, I absolutely loved the showcase at the end, that was sooo wholesome, hope you do more things like that!!

  • @SparrowTutorialsFun
    @SparrowTutorialsFun 2 ปีที่แล้ว +2

    Wow! I am excited

  • @MadhumithaN
    @MadhumithaN ปีที่แล้ว +1

    griffpatch - no "please like and subscribe" no boring sponsors so i subscribed

  • @thelegoreaper
    @thelegoreaper 2 ปีที่แล้ว +1

    Yes! What I’ve been waiting for all week!

  • @synical4
    @synical4 2 ปีที่แล้ว +9

    Your tutorials are so helpful, thank you so much :)

  • @johnpn6747
    @johnpn6747 2 ปีที่แล้ว +14

    I loved Griffpatch's reaction on the third project review

    • @hellohello-ei4gi
      @hellohello-ei4gi 2 ปีที่แล้ว +2

      At what time ?

    • @johnpn6747
      @johnpn6747 2 ปีที่แล้ว +3

      @@hellohello-ei4gi From 12:30 to 13:37

    • @LYB4
      @LYB4 2 ปีที่แล้ว

      john png

    • @johnpn6747
      @johnpn6747 2 ปีที่แล้ว

      @@LYB4 ?

    • @grewpet2253
      @grewpet2253 2 ปีที่แล้ว

      @@johnpn6747 pn with a g batch

  • @Taelo
    @Taelo 2 ปีที่แล้ว

    This is perfect, I already have a platforming engine I made before you started this series but I'm definitely using your method to transition between levels. Thanks griffpatch!

  • @deskasandreas4504
    @deskasandreas4504 2 ปีที่แล้ว +2

    Oh my god! I was waiting for the vertical scene changing tutorial so badly lol. Thank you so much. Great tutorial as always!!!

    • @griffpatch
      @griffpatch  2 ปีที่แล้ว

      You are so welcome!

    • @andrzejpakistan3200
      @andrzejpakistan3200 2 ปีที่แล้ว

      For moving platforms you can just make them glide to a set position like: Glide 3 secs to x:135 y: 35 and then glide to x:-50 y: 35 (also make them go to x -50 and y 35 when the game starts)
      But maybe griffpatch does it differently

    • @Blue-gy2it
      @Blue-gy2it 2 ปีที่แล้ว +1

      @@griffpatch Wait… *WHA-*

  • @mattsnows7971
    @mattsnows7971 2 ปีที่แล้ว

    I haven't had time to put the last two parts into effect yet, but just by watching these, I learn so many little details that help with programming in general. In previous attempts, I had always made vertical screen transitions based on increments or decrements of 10-- but this limited how wide I could make areas. Seeing you make it based on 100s' is such a natural solution that I just never considered.

    • @griffpatch
      @griffpatch  2 ปีที่แล้ว +2

      hehe - Yes, that can be the case! I miss things all the time that seem obvious later on!

  • @italianninjaaa
    @italianninjaaa 2 ปีที่แล้ว +17

    Hey griffpatch, i really like your projects and tutorials they are verry well made and easy to do

    • @BlueBloxyBoii
      @BlueBloxyBoii 8 หลายเดือนก่อน +1

      same here!

  • @HeatleyBros
    @HeatleyBros 2 ปีที่แล้ว

    And if you need any free music to get you started, my full video game catalog is freely available on my about page, over 100 songs! Just credit where applicable and song link in Yt video descriptions, cheers!

  • @jalanstudio2465
    @jalanstudio2465 2 ปีที่แล้ว

    lol I started following your this platformer tutorial like 10 hrs before and now finally I am done! Thanks Griffpatch for tutorial!

  • @uberkai8677
    @uberkai8677 2 ปีที่แล้ว +3

    This is mind-blowing!

  • @gamerlee0461
    @gamerlee0461 2 ปีที่แล้ว

    Those projects are well made. Props to all scratchers 😁

  • @agroxk
    @agroxk 2 ปีที่แล้ว

    I was excited for this! ⭐

  • @FlailFlie
    @FlailFlie 2 ปีที่แล้ว +2

    I can’t believe how good this man is a scratch. Seriously. He made a water and sand sandbox.

  • @irwinrudolf
    @irwinrudolf 2 ปีที่แล้ว +90

    If you can't get your character to change the scene, make sure to find out if its y value peaks at 180 for your hitbox

    • @griffpatch
      @griffpatch  2 ปีที่แล้ว +27

      Very good advice!

    • @irwinrudolf
      @irwinrudolf 2 ปีที่แล้ว +9

      @@griffpatch Thank you! Your videos are cool and help me understand more of Scratch as I work on my games :D

    • @legoesters
      @legoesters 2 ปีที่แล้ว +1

      yes! that what happened to me! thx!

    • @Seven71987
      @Seven71987 2 ปีที่แล้ว +3

      Will there be a part 7?

    • @anuragbandhubajpai
      @anuragbandhubajpai 2 ปีที่แล้ว +2

      Yes my character was not changing the scene but when I changed the Y value of the sprite and it worked !!

  • @BlueBloxyBoii
    @BlueBloxyBoii 8 หลายเดือนก่อน +1

    Im sure that the scratcher who made the projects he was showcasing in this video were really happy when they saw them in this video :D

  • @obithyustimothy5136
    @obithyustimothy5136 2 ปีที่แล้ว

    Thank you griffpatch this tutorial really helped me!

  • @samyounis825
    @samyounis825 2 ปีที่แล้ว

    I enjoyed the video!! this tutorial grows very fast!!

  • @glenjones5756
    @glenjones5756 2 ปีที่แล้ว

    Thank you so much this was so helpful you are one of the first scratch tutorials that's helpful

  • @standing_behind_you4152
    @standing_behind_you4152 2 ปีที่แล้ว

    hi griffpatch, i just wanna say that i started scratch again becuz of you and you just like your games r epic :)

  • @tumandas1313
    @tumandas1313 2 ปีที่แล้ว

    I´ve just love your tutorials!!!!

  • @soapfaces
    @soapfaces 2 ปีที่แล้ว

    I haven’t watched it yet, but I know this will be an exciting episode!

  • @bichaelafton
    @bichaelafton 2 ปีที่แล้ว +2

    I really liked how you did the x and y shifting between scenes! I instead just changed x to the current x position. Same with y. When I made the vertical scene changes, I also wanted to add a map, so now the scene variable changes by 24 if you go up or down.
    For the map I used a grid list, much like from your video on it.

    • @griffpatch
      @griffpatch  2 ปีที่แล้ว +1

      The only reason I did not change to the current x and y is so that I could easily tell which direction to do the collision fixes in when the scene changes... left to right or up and down...

  • @notjavi2786
    @notjavi2786 2 ปีที่แล้ว

    nice video! when i found your channel i improved a lot at scratching!

  • @didiervandendaele4036
    @didiervandendaele4036 2 ปีที่แล้ว

    Great video and explanations as usual. The best scratch youtuber of the World !

  • @ieatgrass20r86
    @ieatgrass20r86 2 ปีที่แล้ว

    Another great video as always! Also I saw your about page and I did not realise until now that I could link my scratch account to my about page

  • @VY_Canis_Majoris
    @VY_Canis_Majoris 2 ปีที่แล้ว +1

    Just what I needed today

  • @kaminigaikwad9557
    @kaminigaikwad9557 2 ปีที่แล้ว

    Griffpatch: Showcases Projects
    Me:Focus on Message count
    **Is no one onna talk bout it***

  • @coolkat
    @coolkat 2 ปีที่แล้ว +1

    Your tutorials have taght me A LOT about Scratch! Tysm! :))))

  • @mohamadhazlihamzah8473
    @mohamadhazlihamzah8473 8 หลายเดือนก่อน

    Most of the time I smile at work cuz of your help and I find it funny that sometimes I make a mistake because of using wrong block😂

  • @drsongs143
    @drsongs143 2 ปีที่แล้ว +2

    ITS AMAZING
    I LOVE IT
    I AM WAITING FOR E7

  • @Cringeroni
    @Cringeroni 8 หลายเดือนก่อน

    I get i’m like, 2 years late, but if you don’t want to find out the limits of your hitbox’s y value ( or if you don’t have a hitbox ) like i did, use 4 different sprites, and put them at the edges of the screen, one for the left edge, one for the bottom edge, one for the top edge, and one for the right edge.
    ok you can leave now
    this guy is the
    the griff of patch

  • @wolfensponge_fan
    @wolfensponge_fan 8 หลายเดือนก่อน

    I'd love to see another episode of this adding new types of enemies. I know it isnt all that interesting, but it would add more variety to the game and add more life to it.

  • @honor_gamer
    @honor_gamer 2 ปีที่แล้ว +1

    this is what i say... if they repeat step by step, and making own level with science 1-inf.
    Great job everyone)))
    00:10:28

    • @honor_gamer
      @honor_gamer 2 ปีที่แล้ว

      hold up, i just forgot have a "copy project" makes alot of easier...

  • @wapelican2530
    @wapelican2530 2 ปีที่แล้ว

    Thx for putting my idea!

  • @noot_noot843
    @noot_noot843 2 ปีที่แล้ว

    Amazing! I love this! Thank you so much, your video's are lovely!

    • @griffpatch
      @griffpatch  2 ปีที่แล้ว +1

      Glad you like them!

    • @Kookie-IsTheGoat
      @Kookie-IsTheGoat 2 ปีที่แล้ว

      @@griffpatch Hey I made a video on your tile scrolling platformer: th-cam.com/video/LIEPn53uijE/w-d-xo.html
      Hope you like it

  • @FluDash
    @FluDash 2 ปีที่แล้ว

    Awesome! ❤️ Keep up the good work! 🙂

  • @kaanDAninja
    @kaanDAninja ปีที่แล้ว

    nightmare before Christmas, great film!

  • @apple_ilev5s
    @apple_ilev5s 2 ปีที่แล้ว

    12:51 i absolutely love griffpatch screaming "NOOOOOOOOOOOOOOO"

  • @David-bf2wo
    @David-bf2wo 2 ปีที่แล้ว +1

    I WAS WAITING OMG

  • @delta_0869
    @delta_0869 2 ปีที่แล้ว

    I see it. this platformer tutorial WILL BE A WHOLE SERIES

  • @Mykolakola
    @Mykolakola ปีที่แล้ว +1

    I have more clever and cool scene change metod: replace scene# variable with 2 independent variables scene y# and scene x#. First scene will be at x0 y0. That way we could add infinite amount of scenes(make sure to name them correctly).

  • @theelegantcoder9963
    @theelegantcoder9963 2 ปีที่แล้ว

    Loved the vid!

  • @Twin138956Productions2019
    @Twin138956Productions2019 2 ปีที่แล้ว +1

    It's awesome!

  • @puntballer1858
    @puntballer1858 2 ปีที่แล้ว

    LOVE this channel =D keep it up!

  • @GamerCrispss
    @GamerCrispss 2 ปีที่แล้ว

    Amazing Work

  • @daiyanhassan1499
    @daiyanhassan1499 2 ปีที่แล้ว

    Thank You!!!! You're letting me understand games better.

  • @andrzejpakistan3200
    @andrzejpakistan3200 2 ปีที่แล้ว +1

    Yay finally a new platformer tutorial

  • @kathrynsullivan8024
    @kathrynsullivan8024 2 ปีที่แล้ว +1

    this is so helpful for more customization options

    • @griffpatch
      @griffpatch  2 ปีที่แล้ว +2

      Yeah :) I wanted to add this way back in episode 2, but it would have made the video just a little too long

  • @user-y0urFac3
    @user-y0urFac3 2 ปีที่แล้ว +1

    thanks for nice tutorials!!!😁😁😁

  • @FeniteFr
    @FeniteFr 2 ปีที่แล้ว +1

    I love the thunbail of this video ✨

  • @notqwerong8661
    @notqwerong8661 2 ปีที่แล้ว

    THIS IS RLLY COOL

  • @vladislavlagutin879
    @vladislavlagutin879 7 หลายเดือนก่อน

    I LOVE IT!!!!

  • @_aitchfactor188
    @_aitchfactor188 2 ปีที่แล้ว +14

    In programming the platformer I started a couple years ago, I used a "stageX" and "stageY" variable as well as a map variable that's them joined together with a comma for separation. I think it might end up making some things trickier to program.

    • @Taro-yt4tk
      @Taro-yt4tk 2 ปีที่แล้ว

      I think yours is better than griffpatch's

    • @griffpatch
      @griffpatch  2 ปีที่แล้ว +6

      That is a fine way to do the job, the only reason I go for a single number is that it makes coding up other things to appear on a scene just a little easier as you only need one number to compare. Otherwise you either need to do the join each time, or compare x & y scene number, etc...

    • @EHMM
      @EHMM 2 ปีที่แล้ว

      @@Taro-yt4tk switching to it yolo

    • @EHMM
      @EHMM 2 ปีที่แล้ว

      @@griffpatch Can you make it includ the stageX and stageY for e7?

    • @christenjovichmallari4690
      @christenjovichmallari4690 2 ปีที่แล้ว

      @@griffpatch can you help me, im following the tutorial but for some reason when going up a slope on going the right i cant go up but it works fine when going left

  • @user-el5ki4nn7f
    @user-el5ki4nn7f 2 หลายเดือนก่อน

    This helped me so much to make a secret shortcut! Cool😎

  • @GDPlainA
    @GDPlainA 2 ปีที่แล้ว +1

    i didnt actually expect this to be 18 minutes. this is really cool

    • @griffpatch
      @griffpatch  2 ปีที่แล้ว +1

      It's only really a 10 minute video - the end is me taking a look at other scratcher's projects :D - But I have a follow up video that I may post mid week (which is why I made a short one this time to get it out on a saturday)

    • @GDPlainA
      @GDPlainA 2 ปีที่แล้ว

      @@griffpatch oh

    • @Supermax10x
      @Supermax10x ปีที่แล้ว

      @@griffpatch do you know how i could add a skid animation just before scratch cats switches to his stand costume? i have tried but nothing seems to work

  • @willy7789
    @willy7789 2 ปีที่แล้ว

    Everyone did great awesome!

  • @sarmisthasahoo423
    @sarmisthasahoo423 2 ปีที่แล้ว +1

    Completed my coding class 1 hr ago...Nice tut btw

  • @hazratnizamuddin02
    @hazratnizamuddin02 2 ปีที่แล้ว

    Thanks, really helped.

  • @RobloxFlipSkool1234
    @RobloxFlipSkool1234 2 ปีที่แล้ว

    0:19
    griffpatch: Multi-Dimensional Levels
    Me: Then where's the 3rd dimension?

  • @vVearon
    @vVearon 2 ปีที่แล้ว +10

    can you do a badges / achievements tutorial?
    keep up the great work griffpatch 👍

  • @jzjensen6842
    @jzjensen6842 2 ปีที่แล้ว +2

    also just want to say that this video is amazing keep on posting! and one question, how are u so good at scratch?

  • @Radek_Lemon
    @Radek_Lemon 2 ปีที่แล้ว

    Your amazing bro
    This is epic
    I love your scracth games they are amazing
    My favorite game you made is appel

  • @IG00Channel
    @IG00Channel 2 ปีที่แล้ว +18

    Is Griffpatch going to upload on weekends now? Anyways, the tutorial is amazing! I love it! :D

    • @nandolaysyt
      @nandolaysyt 2 ปีที่แล้ว

      Yes

    • @Taro-yt4tk
      @Taro-yt4tk 2 ปีที่แล้ว

      Now there are mix-it-up-weekend

  • @talaytermvanich6249
    @talaytermvanich6249 2 ปีที่แล้ว

    by far the shortest tutorial griffpatch has made

    • @griffpatch
      @griffpatch  2 ปีที่แล้ว

      Was two in a week to compensate :)

  • @k4den549
    @k4den549 2 ปีที่แล้ว

    A true legend on scratch community

  • @Wudjja
    @Wudjja 2 ปีที่แล้ว

    Can't wait to do this!
    (My version was extremely scuffed lmao)

  • @HaiDooo
    @HaiDooo 2 ปีที่แล้ว

    Great !

  • @awsomelegocreations2066
    @awsomelegocreations2066 2 ปีที่แล้ว

    Wow griffpatch you have sooo many notifications in Scratch! :0

  • @gunjantutorial7405
    @gunjantutorial7405 2 ปีที่แล้ว

    Same amazing tutorial

  • @Twingamerdudes
    @Twingamerdudes 2 ปีที่แล้ว

    11:24 I thought your tutor account had a lot of messages. But this, is a ton lot! 1 MILLON! Good job!

  • @iggyzpro3996
    @iggyzpro3996 2 ปีที่แล้ว

    You are the best scratcher.

  • @IamAM139
    @IamAM139 2 ปีที่แล้ว

    Thanks so much

  • @Ken-g1z
    @Ken-g1z 2 ปีที่แล้ว

    wow cool and thx :D

  • @Discipline782
    @Discipline782 2 ปีที่แล้ว

    great brilliant cool . I am eagerly waiting for part 7

  • @regittejaneleguro1417
    @regittejaneleguro1417 2 ปีที่แล้ว

    This guy is the best

  • @N64Mario
    @N64Mario 2 ปีที่แล้ว

    Can I make a suggestion? Instead of just an immediate swap transition to the next part of the level, I think it would be kind of neat for a project to introduce a smooth, scroll like screen transition between each section.
    Maybe that's a little too advanced, or perhaps I am just getting too far ahead? I don't know. Though I did enjoy him struggling with his own level at 6:15. That was great!
    Great video as usual! :)

  • @luisworld5402
    @luisworld5402 2 ปีที่แล้ว +3

    The mecodetwo level where he says this reminds me of the movie the movie is the Night Before Christmas!

  • @NemoDpro
    @NemoDpro 2 ปีที่แล้ว

    Thank so much

  • @TheMarioMakerMaster
    @TheMarioMakerMaster 2 ปีที่แล้ว

    17:48 Gives me an idea that you get a key and you go to the other direction to get the door :O

  • @ItzpoomAV1
    @ItzpoomAV1 2 ปีที่แล้ว

    Saturday video, never expected that

  • @hellohello-ei4gi
    @hellohello-ei4gi 2 ปีที่แล้ว

    Cant wait for the moving platforms

  • @frostyproductions23
    @frostyproductions23 ปีที่แล้ว +1

    THIS MANS HAS 1 MILLION NOFTIFICATIONS!

  • @ramtongauler
    @ramtongauler 2 ปีที่แล้ว

    I love Griffpatch

  • @FeniteFr
    @FeniteFr 2 ปีที่แล้ว +1

    Awesome video 🤩 look for all your others videos ✨

  • @themaingus2889
    @themaingus2889 2 ปีที่แล้ว

    thank you!

    • @griffpatch
      @griffpatch  2 ปีที่แล้ว +1

      You're welcome!

  • @hollyvanhyt8823
    @hollyvanhyt8823 2 ปีที่แล้ว

    OMG :000 13:40 That's me :D Tks for review my project :D

    • @griffpatch
      @griffpatch  2 ปีที่แล้ว

      YES! I LOVED THE BUNNY COSTUMES!!! and the level's were super good looking, well done!

    • @hollyvanhyt8823
      @hollyvanhyt8823 2 ปีที่แล้ว

      @@griffpatch TYSM ^.^

  • @shameemajamshad3095
    @shameemajamshad3095 8 หลายเดือนก่อน

    Thank You Grifftpatch I will do my best to fix it

  • @chronosVR.2763
    @chronosVR.2763 ปีที่แล้ว

    When I made a platformer like this, I didn't use that kind of system for the levels. I had 2 variables, 'level x' and 'level y', and those 2 variables joined together forms a costume name in the ground sprite, and when the player touched the edges, those 2 variables were modified to change the costume of the ground sprite.

  • @IsItLucas
    @IsItLucas 2 ปีที่แล้ว

    The fact that the level's costumes name doesn't have a "_" dividing the word from the number... FILLS YOU WITH AGONY (jk lmao)

    • @griffpatch
      @griffpatch  2 ปีที่แล้ว

      You are free to add it lol

    • @IsItLucas
      @IsItLucas 2 ปีที่แล้ว

      ​ @griffpatch ik lmao, just commenting something

  • @NoxturnalMusic
    @NoxturnalMusic 2 ปีที่แล้ว

    Your tutorials get better by approximately... ∞ per video!
    (also to type the infinity symbol, hold alt on keyboard, and press 2 3 6 on keypad.)

  • @lasercatto
    @lasercatto 2 ปีที่แล้ว

    Everybody gangsta until he opens up an episode 6 project

  • @michaeldorry5605
    @michaeldorry5605 ปีที่แล้ว

    it's great to add a level