Code a Platformer Game | 2. Next Level

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ก.ค. 2024
  • How to Code a Platformer Game in Scratch Code Blocks with griffpatch. Part 2 of this tutorial covers moving back and forward between level scenes, or to the next level. Also we switch to using Sprite Sensing instead of Color Sensing for much more colorful levels! Lastly we fix the common bug of getting stuck in the ground when changing level - super! My tutorials are for all budding game & software developers, so Scratch On!
    🚀 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
    👀 Next Episode #3 - • Code a Platformer Game...
    🐱 Starter Project Game Assets - scratch.mit.edu/projects/5605...
    🐱 Scratch Studio (post project here) - scratch.mit.edu/studios/30257...
    👀 First Episode - • Code a Platformer Game...
    👀 Playlist for this series - • Code a Platformer Game
    ❤️ Scratch Addons - scratchaddons.com/
    📹 Video Editing Software - techsmith.z6rjha.net/5bajbo
    -------------Video Chapters-------------
    0:00 Intro
    0:58 The Problem with Multicoloured Levels
    3:02 Change from Backdrop to a Level Sprite
    5:27 Consolidate Touching Scripts
    7:28 Organise our code
    11:50 Change of Scene - A Multi-screen level
    15:40 Moving off the Edge of the Screen
    18:57 Getting Stuck in the Level
    20:40 Preventing collision bugs
    25:22 Getting Un-Stuck
    28:50 Bad Level Design
    30:01 Outro

ความคิดเห็น • 3K

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

    Next Episode #3 - th-cam.com/video/Y6jnwkwLhto/w-d-xo.html
    Starter Project Game Assets - scratch.mit.edu/projects/560596896/
    Scratch Studio (post project here) - scratch.mit.edu/studios/30180226/th-cam.com/users/sgaming/emoji/7ff574f2/emoji_u1f431.png

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

      When I put the reset and begin level and pressed green flag it broke 😢 PLEASE RESPOND

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

      i dont't understand what you just said but i hope griff helps you@@carpamart1896

    • @OleSandberg
      @OleSandberg 5 หลายเดือนก่อน

      i don`t now how to help sorry :(

    • @kristar.5555
      @kristar.5555 2 หลายเดือนก่อน

      I play penguinmod!

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

      Ok so when I organize the coding and press start my character won’t move or jump

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

    Me: looks away for 1 second.
    Griffpatch: Made the rest of the game.

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

      @GoldenLightFB I hate when that happens

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

      So true

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

      @GoldenLightFB Oops I accidentally recreated the entire earth and solar system! What a disaster.

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

      Oops I accidentally recreated the entire universe! What a disaster.

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

      @@shreenakodaemploymentagenc4134 * smacks head* Not again!

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

    One thing to note if you are having problems The Level sprite must have a 'clear' transparent background, no filled background behind the player. If you want a background behind the player, this must remain in the stage backdrop.
    ALSO - If the player is not moving off screen, try reducing the "IF x position > 235" to something just a little less until it works (Try > 230)

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

      Thanks for the information

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

      Thanks for info sir

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

      How get cat

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

      @@cubamckenzie8081 That's a perk of becoming of joining the channel membership

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

      What about vertical scences?

  • @da_monke_guy
    @da_monke_guy 6 หลายเดือนก่อน +19

    This channel is amazing! You explain it in a simple way and are enthusiastic about it.
    great job :)

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

    I ♥ scratch! It's the best coding thing out there for beginners and I am so glad you are making tutorials for us (the viewers). I have been on scratch for over a year, and I have never heard of the techniques you use. Thank you!

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

    What better way to celebrate my birthday is to lie down and watch some more awesome griffpatch vids

  • @user-mr3fq2gc6b
    @user-mr3fq2gc6b 7 หลายเดือนก่อน +7

    Im so happy that this channel exists!
    You are a real Scratch GENIUS

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

      So true

  • @prohakerofficial
    @prohakerofficial ปีที่แล้ว +4

    Normally I sleep on these videos, but your voice is so entertaining that I watch you often! :D

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

    Me: can’t even make a button
    Griffpatch: Come. This is no place to die

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

      Griffpatch: here I have a recreation of a bestselling game on scratch
      Me: how the heck do I make gravity

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

      @@Salithin lol

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

      @man lol

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

      @@aryansonawane10 just click on the reply and boom you get the blue man link

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

      to make a button make a sprite and but a when sprite clicked in the sprite, and code whatever you want to happen underneath the hat block.

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

    OGs will remember the old scrolling platform tutorial

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

      miss that

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

      Hey it’s says 2 days but this is made today

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

      Hes a member

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

      yes

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

      I was rewatching the og platformer tutorial when suddenly griffpatch started posting the tile scrolling tutorial series and it really made me happy

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

    You have made me soooo happy with this series, 10/10 content

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

      Hey I’m not sure what I’ve done wrong but as soon as I drop in the turn 180 degrees my sprite flips and I don’t know what to do, it’s in the define collisions direction script

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

    This was so helpful! Keep up the good work!

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

    I love these tutorials! I love how you showed your tip on how to flip it; without making it go on side and not on the edge! Best tip!

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

      Glad it was helpful! - I like to include these things when I can :D

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

      @@griffpatch Thanks! :D

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

      What was the tip :(

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

      @@sideofsalt9262 just wait in this vid

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

      @@griffpatch When I go on the edge I glitch out :(

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

    out of all you're serieses, this motivates me to do scratch the most

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

    Also, i just wanted to add that the 'sprite' collisions also reduce lag
    Thanks For this awesome tutorial. :)

  • @user-yb8kg3ct5s
    @user-yb8kg3ct5s หลายเดือนก่อน +1

    It's really hard to keep track of everything but in the end I managed to do it! Thank you so much!

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

    20:00 "Ohhho no! Disaster!"
    Made my day :D

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

    I am a new scratcher. Just started following you, and I don't regret it. You explain things in a way that's easy to understand This is my 1st series following to you. And BELIVE Me it's awsome

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

      I am a new scratcher too, it is hard. I am bad at scratch.😓

    • @koji4884
      @koji4884 ปีที่แล้ว +4

      @@Ash_dragons9 I hope you get good at scratch

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

      I have 7 month experience

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

      @@Ash_dragons9 you are not bad at scratch you are just new and awesome

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

      @@jennygardner1171 thanks I now do Javascript and Python!!!!!

  • @Dos72
    @Dos72 11 หลายเดือนก่อน +43

    Today my friend told me he likes cheese

    • @SeanHEDHOG360
      @SeanHEDHOG360 3 หลายเดือนก่อน +6

      Cool, I also like Cheese

    • @pupnub
      @pupnub 2 หลายเดือนก่อน +1

      @@SeanHEDHOG360why?

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

      @@pupnub You know pupnub? I don’t necessarily know why

    • @pupnub
      @pupnub 2 หลายเดือนก่อน +4

      @@SeanHEDHOG360 I would like to apologize on causing this existential crisis you are now having. I foolishly believed that why someone may like cheese is a cookie cutter answer, but I see that that presumption was incorrect. Alas, though there is no way to repair the damage I have caused, I would like to provide a possible out of this mental prison, perhaps you could say, “I like cheese because 🧀” This provides a good explanation to an otherwise impossible to answer question. If this does work I am thankful, but still deeply sorry for inflicting this stress upon your soul. But if not I am truly sorry for what I have caused, and I hope that somehow you will find your answer.

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

      🪤

  • @100_Random
    @100_Random ปีที่แล้ว +6

    I’m having trouble with getting this to work 27:39 I’ve checked and my coding seems to be the same as yours but I can’t get it to work

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

    This is like Super Mario Bros. Special, an obscure Mario game that does screen by screen levels since scrolling is much difficult. And it also places things like items in a spot that won't jiggle when you try to make it scroll.

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

    I missed your high-quality tutorials. These feel like they could air on TV with how professional they are! Good work!

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

      He had us in the first half, not gonna lie.

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

      @@kappis06 didn’t realize I phrased it so badly sorry about that

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

      Lol I thought you meant his videos are bad nowadays by reading the first line ':P

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

      @@WinterNox me too

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

      @@WinterNox me too

  • @timandjoshbricks6715
    @timandjoshbricks6715 ปีที่แล้ว +41

    Hi Griffpatch, Thank you so much for these amazing tutorials!!
    My son(8) and I (30s) are having a great time learning and making this!

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

      you're thirty?

    • @thefakesammymammy
      @thefakesammymammy ปีที่แล้ว +4

      I hope you and your sons game turns out awesome!!

    • @TexterBox
      @TexterBox 11 หลายเดือนก่อน +2

      good luck with you and your sons game! :D

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

      I agree, these are awsome tutorials!!!!

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

      @@henryonokpasa3266 yeah he is is there a problem?

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

    Wow the result's are soo good! i just can't stop doing new levels Thanks!!!

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

    Hello, Griffpatch I just wanted to thank you for the tutorial it helped me a lot the only thing that I am thinking is that like the way you teach nobody else can copy that
    that was some amazing teaching, thanks again

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

      Glad it helped!

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

      Griffpatch i ❤ ur content

  • @idk_but-random
    @idk_but-random 2 ปีที่แล้ว +25

    30:05 you can make an if statement to detect if the scene variable is more then our max scene or less then our min scene

    • @Jar.Headed
      @Jar.Headed 2 ปีที่แล้ว +1

      *Godzilla had a stroke while reading this and died*

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

      @@Jar.Headed its not that hard

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

      *an
      *an
      *an
      *an
      *an
      *an
      *an
      *an
      *an
      *an
      *an
      *an*an
      *an
      *an
      *an
      *an
      *an*an
      *an
      *an
      *an
      *an
      *an*an
      *an
      *an
      *an
      *an
      *an*an
      *an
      *an
      *an
      *an
      *an*an
      *an
      *an
      *an
      *an
      *an*an
      *an
      *an
      *an
      *an
      *an*an
      *an
      *an
      *an
      *an
      *an*an
      *an
      *an
      *an
      *an
      *an*an
      *an
      *an
      *an
      *an
      *an*an
      *an
      *an
      *an
      *an
      *an*an
      *an
      *an
      *an
      *an
      *an*an
      *an
      *an
      *an
      *an
      *an*an
      *an
      *an
      *an
      *an
      *an*an
      *an
      *an
      *an
      *an
      *an*an
      *an
      *an
      *an
      *an
      *an*an
      *an
      *an
      *an
      *an
      *an*an
      *an
      *an
      *an
      *an
      *an*an
      *an
      *an
      *an
      *an
      *an*an
      *an
      *an
      *an
      *an
      *an*an
      *an
      *an
      *an
      *an
      *an*an
      *an
      *an
      *an
      *an
      *an

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

      BUT is you use just"if SCENE# < ect. or SCENE# > ect.,,then you have a bit of "then do nothing,,...

  • @adamphayes
    @adamphayes ปีที่แล้ว +23

    This is an amazing tutorial! For your next tutorial (after RPG) maybe you could do a Tower Defense tutorial? That would be awesome!

  • @thefakesammymammy
    @thefakesammymammy ปีที่แล้ว +57

    I know this video is a year old but seriously, your tutorials are awesome and REALLY helpful
    (psst sometimes I just watch the tutorials even though I’m not following them because they’re just so good)

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

    i am so grateful someone this good at scratch was able to teach us newbies, i am indebted to you my friend

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

    Your always making more amazing content! Keep up the good work!

  • @adjianggriono6894
    @adjianggriono6894 ปีที่แล้ว +12

    this is the only tutorial i've watched so far and i've only watched episode 1 and 2 and it's going great😁

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

    when i ran this i was colliding and thinking, "i did all the steps but its still happening"..and then boom at 27 min you fixed that issue too. Super excited about this tutorial. Thank you so much!

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

    he doesn't just teach a how to make a game but also gives us tips to use in our own game thx griffpatch

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

    I like your videos your scratch tutorials will always work, other scratch youtube channels game don't work they complicate it. Thank you

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

      you do get this one is breaking right i am literally puting the exact same thing thing and it wont let me switch levels

    • @crapguy-gd
      @crapguy-gd 2 ปีที่แล้ว

      yes they are good !!!¦3

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

      @@UpsurgePlays996 it works for me

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

      Yes

  • @Darius-1234
    @Darius-1234 ปีที่แล้ว +2

    your videos are so good griffpatch it helps me a lot in scratch

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

    lol, i love that you say ageein, best tutorial series on yt

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

    Hi GriffPatch your tutorial is amazing it helped a lot thanks

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

    Hi! Late to the party, 1723 comments down, but I must say. I have rarely seen anyone exercise expertise, patience and a pure desire to teach others, combines with genius. You sir are a ROCK STAR. ALL HAIL GRIFFPATCH!

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

      Too kind :D - Thanks!

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

      ALL HAIL GRIFFPATCH!

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

      @@rylandmoyle9628👍🙌🙌🙌🙌

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

      @@rylandmoyle9628👍🙌🙌🙌🙌

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

      @@rylandmoyle9628 ALL HAIL GRIFPATCH

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

    1:24 I don't have this issue, but I like my levels this way because I like the color palette of black and white because my games are often very simple, but with fun gimmicks like jumping on the mouse pointer to get to other areas, etc.

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

    nice video!!!!!!!! it helped me a lot! i'm a new scratch developer and your assets helped me a lot!

  • @jdh9419
    @jdh9419 ปีที่แล้ว +5

    3:38 I have a simple solution to add the advantages of touching color to touching sprite: Don’t make the level all one sprite! Have each different interaction in the level be it’s own sprite, then position the sprites in the correct alignment

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

      If you find any problems with this suggestion, feel free to inform me!

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

      i dont have a question about that but when i did the touching sprite thing his way my character stopped touchingthe platforms do you know why

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

    14:31 XDD "obviously banana is not gonna cut it XD"

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

    I used scratch for almost a year and I get better when I watch griff patch’s videos no one can stop me

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

      You are right there! :)

  • @marquis83182
    @marquis83182 10 หลายเดือนก่อน +2

    The one time griffpatch told us to NOT click "run without screen refresh"! Love ya griffpatch.

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

    "Hello fellow Scratchers!" Let me be honest, it has to be my favorite line of every griffpatch video lol

  • @random-username_
    @random-username_ ปีที่แล้ว +4

    Small note - You can use "set touching to (touching level * 1)" rather than using an if statement.

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

    Yeah, advanced scratch tutorial for beganner. And very good tutorial! Hope i can master some of it by watching this turorial.

  • @gamergirlxdgames
    @gamergirlxdgames 3 หลายเดือนก่อน +2

    The way i did it was using the touching color blocks is easy because my blocks had a black outline so i could make it all kinds of different colors, plus the outline makes it POP out.

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

      mine have outlines but I don't use touching color blocks

  • @ShehzaibIsALegend
    @ShehzaibIsALegend 11 หลายเดือนก่อน +8

    13:13 Fun fact: Instead of having to select everything using Ctrl + A (Cmd + A for Mac) then flipping it horizontally/vertically, if you flip a costume/backdrop horizontally/vertically without selecting ANYTHING at all, it flips the whole costume/backdrop horizontally/vertically! Same when you delete stuff from the costume/backdrop without selecting anything (it deletes everything in the costume/backdrop but not the costume/backdrop itself)!

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

    25:22 - let's shake things up and get un-stuck!
    Griffpach: the historical poet

  • @alexblackbourne7005
    @alexblackbourne7005 24 วันที่ผ่านมา

    Thank you so much for these tutorials😀

  • @martatrinidad9325
    @martatrinidad9325 9 หลายเดือนก่อน

    yo griffpatch, your videos are sick and they are really healpfull

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

    Me: **about to draw**
    Griffpatch: **post a video**
    Me: screw it im opening scratch

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

    Masterpiece of a tutorial series, your, work, is, AMAZING!

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

    Even though this didn't work fully for me, some of it did and thank you!

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

    Sometimes I make the Level move when I press the controls instead of the level changing when you enter the next scene, but I prefer when the level changes scenes like the way you did it instead. I haven't gotten it to work as well yet, so it's just an idea.

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

    Tip: If you have the border of the platform to the color of which the player if coded to collide with, then there's no need to do all the extra color collision stuff.

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

    Thank you so much we can all see how much effort you put into these!

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

    My son is LOVING your Video's he just adores them!

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

    Thanks for those scratch dev tools! They help me clean up my code and they help me find blocks!

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

    Draw the level in bitmap mode and it always flips exactly around the center of the canvas and is lined up perfectly with the first one.

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

    Even with the “fix collision in direction” set up exactly how you have it, sometimes I’ll transfer between levels and even though it doesn’t look like it’s colliding, I won’t be able to move unless I lift my sprite up, drop it down, and go from there. Is there anything that could be causing this?
    I’ve tried moving the sprite into the level and activating the section of code, and that part still works. It just doesn’t work on some levels when I’m just playing through or testing the levels.

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

      I have the same problem, did you ever fix this?

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

      @@bichaelafton for me it seemed to work to just remake the shape to be level again. I looked at the character’s height and one platform was a single pixel higher.

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

    Tysm! Helped a lot!

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

    The way I enjoy my time is that I watch griffpatchs video and learn from him to make the most creative game!

  • @elias-tl6cd
    @elias-tl6cd ปีที่แล้ว +1

    I couldn't have done it without you! I wouldn't be where I am today without people like you by my side. I can't thank you enough for being there in my time of need. You have no idea how much your help means to me. For all the things you do, both big and small, I want to thank you. You made this game into a coding experience! I ❤ Scratch and you!

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

    An Appel a day keeps the doctor away 18:55

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

    Great Tip for starters , when seting or changing a variable make sure its the right one

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

      Hey I’m not sure what I’ve done wrong but as soon as I drop in the turn 180 degrees my sprite flips and I don’t know what to do, it’s in the define collisions direction script

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

    actually with your pen effects tutorial we can make a check which checks if we are touching the color black and the color woant change that much either so we could check for collisions with the black color outline we can use color sensing all the time again. but If any non interactable object like in the background is black. you will need to make some space for it in your level.

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

    i saw an appel appear :O 18:50

  • @lemmy15yt
    @lemmy15yt ปีที่แล้ว +4

    Personally, watching these videos to refresh my skills, I prefer using the v^ characters in the costume names to sense when I can change the scenes. So the levels feel more open, especially when I make sky-themed levels.

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

      Hey I’m not sure what I’ve done wrong but as soon as I drop in the turn 180 degrees my sprite flips and I don’t know what to do, it’s in the define collisions direction script

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

      @@ItsTheAlex Your "sprite rotation" is probably set to all around. Change it to left/right and you'll be all good.

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

      @@lemmy15yt I thought of that but nope, it’s a much dumber reason I just figured out. I clicked the 180 so the sprite turned and just never reset, all sorted now thanks!!!

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

    Thank you so much for helping because at first I couldn't make anything in scratch

  • @woefulkebab5534
    @woefulkebab5534 3 หลายเดือนก่อน

    Soooooooooooooo helpful, I really needed this! Brilliant.😄😄😄😄😄

  • @varad.tiwari
    @varad.tiwari 2 ปีที่แล้ว +7

    What other things will you add, like- the moving obstacles, spikes, saws, or anything else??

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

      Animation next with hitboxes, then we'll do more complex things like handling the slopes, and moving platforms, etc

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

      @@griffpatch that sounds fun

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

      @@griffpatch sounds great

    • @varad.tiwari
      @varad.tiwari 2 ปีที่แล้ว

      @@griffpatch Ok, Thanks

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

    11:58 Actually, I don’t.
    I want to have it so when the sprite is in the middle of the stage X-wise, a further positive x step will scroll the screen to the right, and a negative one will move it to the left.
    I also want to have it so when the sprite is in the middle of the stage Y-wise, the screen will scroll the same way it would with x.
    And I’d also like for them to both work at the same time

    • @kohanmathers-mcgonnell1502
      @kohanmathers-mcgonnell1502 11 หลายเดือนก่อน

      Search for infinite scrolling background tutorials and use that logic, stopping the scroll when x = 0

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

    14:30 "But obviously banana isn't going to cut it." got me laughing lol

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

    The ASMR nobody knew we needed

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

    I probably found a problem, in the part of changing the scenarios, the player gets stuck on the edge and is teleporting from one side of the map to the other in looping. What do I do ;-;?

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

      if your getting stuck between scene 1-2, just make sure scene 1 is named scene1 and not scene.

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

      @@Nightman5694 but i named like that

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

    I used your some tile scrolling platformer scripts to make a rpg adventure game

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

      Nice!

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

      @@griffpatch : )

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

    I love you videos so much they are super helpful

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

    your channel is simply outstanding Griffpatch

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

    At 18:05 why don't you add a check to ensure that the SCENE # variable doesn't go below 1? Because if you're in scene one and your X Position is < 235, the Scene # variable will become 0 😬
    _edit:_ Nevermind you fixed it at 29:59! :P

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

      You are quite right, there are loads of extra safety checks and ways to solve every problem. I try to do the bear minimum that works well so as not to boost up my tutorial :) it's a tricky compromise at every stage!

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

      @@bb22075 haop

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

      MY SCENE doesn't change after i add all things HELP

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

      @@DarkNinja197 same problem dude

    • @kay.h
      @kay.h ปีที่แล้ว

      WHAT:P :]

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

    You should add a "Flip over center of canvas" for the costume editor in scratch addons! That would be very helpful!

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

    thank you griff patch you have helped me so much!

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

    Thank you this really helped me be able to code platforming game on scratch.😅😊

  • @martinatorprogaming
    @martinatorprogaming ปีที่แล้ว +4

    MY PC BROKE

    • @m5alta-
      @m5alta- 9 หลายเดือนก่อน

      Lol

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

    Hey, griffpatch! I have a problem: I don't want to prevent a collision bug, but when the scene changes with a different platform position, I want the character to NOT change the scene. I maybe know how to fix that, but I rather listen to your suggestion. So HOW do I NOT change the scene when the next scene platform can make the character stuck?

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

      If you want it so the player cant go back to the previous scene, make a wall in the level sprite where that scene is and make it only a few pixels wide so the player doesnt get stuck in the wall

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

    griffpatch deserves a sub. AWESOME VIDEO. easy to follow

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

    Helps a lot ty!!

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

    I added that in level 1 you can't go to the left without a left wall!

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

    Hey Griffpatch, can you add enemies in the next tutorial? Or how about water?

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

      Not yet... more platforming goodness to do first!

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

      @@griffpatch Ok! Even though I haven't used this engine yet, I'll find it useful in the future ;-)

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

    Thanks for the help at first I didn't know how to make anything on scratch

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

    This is very cool !! :DD

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

    27:00 I removed the Turn 180 Degrees so it has a cool animation where the player sort of digs out of the ground and stays on top
    Edit: DONT do this. It will bug out your game in the future

  • @TheDragonSlayer954
    @TheDragonSlayer954 9 หลายเดือนก่อน +26

    Who else spot the falling lemon when creating a new block👇

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

    rly helps Thx keep up the awesome work as well

  • @ShivenBansal
    @ShivenBansal 10 หลายเดือนก่อน

    Thank you for the link for the scratch addons, really wanted them😀

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

    You are the best Scratcher! Thanks!

  • @PhuongNguyen-ym3mp
    @PhuongNguyen-ym3mp 25 วันที่ผ่านมา

    that is great, thank you griffpatch!

  • @quyenpham765
    @quyenpham765 3 หลายเดือนก่อน

    Thank you very much, Griffpatch!!! :D

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

    Very Helpful.