Code a Platformer Game | 2. Next Level

  Рет қаралды 1,114,200

griffpatch

griffpatch

Күн бұрын

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

Пікірлер: 2 900
@griffpatch
@griffpatch 6 ай бұрын
Next Episode #3 - kzbin.info/www/bejne/j2fNn6qhrLGbqtE Starter Project Game Assets - scratch.mit.edu/projects/560596896/ Scratch Studio (post project here) - scratch.mit.edu/studios/30180226/kzbin.infogaming/emoji/7ff574f2/emoji_u1f431.png
@carpamart1896
@carpamart1896 5 ай бұрын
When I put the reset and begin level and pressed green flag it broke 😢 PLEASE RESPOND
@marvellousimudia3309
@marvellousimudia3309 4 ай бұрын
i dont't understand what you just said but i hope griff helps you@@carpamart1896
@OleSandberg
@OleSandberg 3 ай бұрын
i don`t now how to help sorry :(
@kristar.5555
@kristar.5555 20 күн бұрын
I play penguinmod!
@Damianmunoz2013
@Damianmunoz2013 17 күн бұрын
Ok so when I organize the coding and press start my character won’t move or jump
@semajnz6549
@semajnz6549 2 жыл бұрын
Me: looks away for 1 second. Griffpatch: Made the rest of the game.
@Salithin
@Salithin 2 жыл бұрын
@GoldenLightFB I hate when that happens
@kathrynsullivan8024
@kathrynsullivan8024 2 жыл бұрын
So true
@Bibhu109
@Bibhu109 2 жыл бұрын
@GoldenLightFB Oops I accidentally recreated the entire earth and solar system! What a disaster.
@shreenakodaemploymentagenc4134
@shreenakodaemploymentagenc4134 2 жыл бұрын
Oops I accidentally recreated the entire universe! What a disaster.
@Salithin
@Salithin 2 жыл бұрын
@@shreenakodaemploymentagenc4134 * smacks head* Not again!
@Reev0102
@Reev0102 2 жыл бұрын
Griffpatch: **mentions Scratch Addons** Scratch Addons downloads: *📈*
@AB39
@AB39 2 жыл бұрын
honestly i downloaded it myself because he mentioned it, it just seemed convienient and it was actually much better than i thought.
@coolgameriguess
@coolgameriguess 2 жыл бұрын
@@AB39 yeah same
@prabhutahshukla4205
@prabhutahshukla4205 2 жыл бұрын
@@AB39 Same
@theshaddixfamily3525
@theshaddixfamily3525 2 жыл бұрын
You Can Get Banned On Scratch For Using It!
@hmwndp
@hmwndp 2 жыл бұрын
@@theshaddixfamily3525 you won't.....
@adjianggriono6894
@adjianggriono6894 11 ай бұрын
this is the only tutorial i've watched so far and i've only watched episode 1 and 2 and it's going great😁
@da_monke_guy
@da_monke_guy 5 ай бұрын
This channel is amazing! You explain it in a simple way and are enthusiastic about it. great job :)
@user-cb4lf3qu6e
@user-cb4lf3qu6e 2 ай бұрын
so true :D
@lasercatto
@lasercatto 2 жыл бұрын
20:00 "Ohhho no! Disaster!" Made my day :D
@ricardosantos2599
@ricardosantos2599 2 жыл бұрын
20:01
@toothpaint9368
@toothpaint9368 2 жыл бұрын
Me: can’t even make a button Griffpatch: Come. This is no place to die
@Salithin
@Salithin 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.
@100_Random
@100_Random Жыл бұрын
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
@timandjoshbricks6715
@timandjoshbricks6715 Жыл бұрын
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 Жыл бұрын
you're thirty?
@thefakesammymammy
@thefakesammymammy Жыл бұрын
I hope you and your sons game turns out awesome!!
@TexterBox
@TexterBox 9 ай бұрын
good luck with you and your sons game! :D
@KubaPuppy
@KubaPuppy 7 ай бұрын
I agree, these are awsome tutorials!!!!
@A34realvr
@A34realvr 6 ай бұрын
@@henryonokpasa3266 yeah he is is there a problem?
@redwoodsteve8651
@redwoodsteve8651 2 жыл бұрын
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 жыл бұрын
What better way to celebrate my birthday is to lie down and watch some more awesome griffpatch vids
@Navy-729
@Navy-729 2 жыл бұрын
Happy birthday!
@TotallyHumanGamer
@TotallyHumanGamer 2 жыл бұрын
Happy Birthday!
@GregoryGaming942
@GregoryGaming942 2 жыл бұрын
Happy birthday!
@kavitharamdas2580
@kavitharamdas2580 2 жыл бұрын
Happy Birthday
@Taylor_from_hfjone
@Taylor_from_hfjone 2 жыл бұрын
Happy birthday I hope r a m e n dosen't come and say ThEy CoUlD bE LyIng
@Thanatos385
@Thanatos385 8 сағат бұрын
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!
@ProHakerGaming
@ProHakerGaming Жыл бұрын
Normally I sleep on these videos, but your voice is so entertaining that I watch you often! :D
@stevethepuppet5539
@stevethepuppet5539 2 жыл бұрын
OGs will remember the old scrolling platform tutorial
@fakerolnando
@fakerolnando 2 жыл бұрын
miss that
@trunghieutran4202
@trunghieutran4202 2 жыл бұрын
Hey it’s says 2 days but this is made today
@the_ukulele_chap3221
@the_ukulele_chap3221 2 жыл бұрын
Hes a member
@dubsisthegoat48
@dubsisthegoat48 2 жыл бұрын
yes
@lemonboom589
@lemonboom589 2 жыл бұрын
I was rewatching the og platformer tutorial when suddenly griffpatch started posting the tile scrolling tutorial series and it really made me happy
@griffpatch
@griffpatch 2 жыл бұрын
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 жыл бұрын
Thanks for the information
@tejaldesai6249
@tejaldesai6249 2 жыл бұрын
Thanks for info sir
@cubamckenzie8081
@cubamckenzie8081 2 жыл бұрын
How get cat
@griffpatch
@griffpatch 2 жыл бұрын
@@cubamckenzie8081 That's a perk of becoming of joining the channel membership
@spawnnumber2126
@spawnnumber2126 2 жыл бұрын
What about vertical scences?
@user-mr3fq2gc6b
@user-mr3fq2gc6b 5 ай бұрын
Im so happy that this channel exists! You are a real Scratch GENIUS
@shark90644
@shark90644 4 ай бұрын
So true
@carolinacottageschool1869
@carolinacottageschool1869 Жыл бұрын
This was so helpful! Keep up the good work!
@TETNTM
@TETNTM 2 жыл бұрын
out of all you're serieses, this motivates me to do scratch the most
@idk_but-random
@idk_but-random 2 жыл бұрын
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 жыл бұрын
*Godzilla had a stroke while reading this and died*
@pawitma7929
@pawitma7929 2 жыл бұрын
@@Jar.Headed its not that hard
@TM-wn6fj
@TM-wn6fj 2 жыл бұрын
*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,,...
@TheJimmyCartel
@TheJimmyCartel Жыл бұрын
You have made me soooo happy with this series, 10/10 content
@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
@cezarduszynski
@cezarduszynski Жыл бұрын
Also, i just wanted to add that the 'sprite' collisions also reduce lag Thanks For this awesome tutorial. :)
@VBrick13
@VBrick13 2 жыл бұрын
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 жыл бұрын
Glad it was helpful! - I like to include these things when I can :D
@VBrick13
@VBrick13 2 жыл бұрын
@@griffpatch Thanks! :D
@sideofsalt9262
@sideofsalt9262 2 жыл бұрын
What was the tip :(
@midnightblade_
@midnightblade_ 2 жыл бұрын
@@sideofsalt9262 just wait in this vid
@card4851
@card4851 2 жыл бұрын
@@griffpatch When I go on the edge I glitch out :(
@siyahseeker
@siyahseeker 2 жыл бұрын
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.
@chessepanther
@chessepanther Жыл бұрын
Wow the result's are soo good! i just can't stop doing new levels Thanks!!!
@Darius-1234
@Darius-1234 Жыл бұрын
your videos are so good griffpatch it helps me a lot in scratch
@ataharkhan7939
@ataharkhan7939 2 жыл бұрын
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 жыл бұрын
Glad it helped!
@lelalela4857
@lelalela4857 2 жыл бұрын
Griffpatch i ❤ ur content
@puntballer1858
@puntballer1858 2 жыл бұрын
Your always making more amazing content! Keep up the good work!
@FLAME21958
@FLAME21958 Жыл бұрын
nice
@adamphayes
@adamphayes Жыл бұрын
This is an amazing tutorial! For your next tutorial (after RPG) maybe you could do a Tower Defense tutorial? That would be awesome!
@aaronsantiagosanchezvillamizar
@aaronsantiagosanchezvillamizar Жыл бұрын
fluevin creates one and is very good
@alancohen5391
@alancohen5391 11 ай бұрын
He did!🎉
@tiheshabissainthe5871
@tiheshabissainthe5871 9 ай бұрын
​@@alancohen5391wait he did
@chronosVR.2763
@chronosVR.2763 Жыл бұрын
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.
@waleedalshammari8920
@waleedalshammari8920 2 жыл бұрын
I missed your high-quality tutorials. These feel like they could air on TV with how professional they are! Good work!
@kappis06
@kappis06 2 жыл бұрын
He had us in the first half, not gonna lie.
@waleedalshammari8920
@waleedalshammari8920 2 жыл бұрын
@@kappis06 didn’t realize I phrased it so badly sorry about that
@WinterNox
@WinterNox 2 жыл бұрын
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
@seth9243
@seth9243 2 жыл бұрын
i am so grateful someone this good at scratch was able to teach us newbies, i am indebted to you my friend
@shonkerz
@shonkerz Жыл бұрын
nope
@iamagiantfangd5580
@iamagiantfangd5580 Жыл бұрын
@@shonkerz What?
@lewisfamily161
@lewisfamily161 4 ай бұрын
your channel is simply outstanding Griffpatch
@Dos72
@Dos72 9 ай бұрын
Today my friend told me he likes cheese
@SeanHEDHOG360
@SeanHEDHOG360 Ай бұрын
Cool, I also like Cheese
@pupnub
@pupnub 23 күн бұрын
@@SeanHEDHOG360why?
@SeanHEDHOG360
@SeanHEDHOG360 23 күн бұрын
@@pupnub You know pupnub? I don’t necessarily know why
@pupnub
@pupnub 23 күн бұрын
@@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 8 күн бұрын
🪤
@Izzushaanuyuhaa
@Izzushaanuyuhaa 2 жыл бұрын
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 жыл бұрын
I am a new scratcher too, it is hard. I am bad at scratch.😓
@koji4884
@koji4884 Жыл бұрын
@@Ash_dragons9 I hope you get good at scratch
@arahamath
@arahamath Жыл бұрын
I have 7 month experience
@jennygardner1171
@jennygardner1171 Жыл бұрын
@@Ash_dragons9 you are not bad at scratch you are just new and awesome
@Ash_dragons9
@Ash_dragons9 11 ай бұрын
@@jennygardner1171 thanks I now do Javascript and Python!!!!!
@zaidishere2526
@zaidishere2526 2 жыл бұрын
he doesn't just teach a how to make a game but also gives us tips to use in our own game thx griffpatch
@random-username_
@random-username_ Жыл бұрын
Small note - You can use "set touching to (touching level * 1)" rather than using an if statement.
@Hoco30
@Hoco30 Жыл бұрын
Yeah, advanced scratch tutorial for beganner. And very good tutorial! Hope i can master some of it by watching this turorial.
@mail4bill
@mail4bill 2 жыл бұрын
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 жыл бұрын
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
@jdh9419
@jdh9419 11 ай бұрын
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 11 ай бұрын
If you find any problems with this suggestion, feel free to inform me!
@LegendCV17
@LegendCV17 11 ай бұрын
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
@Quokky36
@Quokky36 14 күн бұрын
griffpatch deserves a sub. AWESOME VIDEO. easy to follow
@colekhor8293
@colekhor8293 2 жыл бұрын
Hi GriffPatch your tutorial is amazing it helped a lot thanks
@FLAME21958
@FLAME21958 Жыл бұрын
nice😄
@ShehzaibIsALegend
@ShehzaibIsALegend 9 ай бұрын
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)!
@Fuzzy1528
@Fuzzy1528 Жыл бұрын
Thanks for those scratch dev tools! They help me clean up my code and they help me find blocks!
@martatrinidad9325
@martatrinidad9325 7 ай бұрын
yo griffpatch, your videos are sick and they are really healpfull
@techsavvykid8462
@techsavvykid8462 2 жыл бұрын
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
@thefiresnakevenom
@thefiresnakevenom 2 жыл бұрын
"Hello fellow Scratchers!" Let me be honest, it has to be my favorite line of every griffpatch video lol
@wajeehrizvi
@wajeehrizvi 2 жыл бұрын
true
@fridayfunkgaming291offical
@fridayfunkgaming291offical 2 жыл бұрын
"Hello fellow Scratchers!" - Griffpatch
@snehajindal1779
@snehajindal1779 2 жыл бұрын
Same with me
@pewpewpixel9301
@pewpewpixel9301 Жыл бұрын
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.
@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
@minergangg
@minergangg 2 жыл бұрын
14:31 XDD "obviously banana is not gonna cut it XD"
@Drachenbauer
@Drachenbauer 2 жыл бұрын
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.
@yourboyfriend5581
@yourboyfriend5581 2 жыл бұрын
and then vector it
@itz_nardos1234
@itz_nardos1234 Жыл бұрын
@@yourboyfriend5581 that doesn't work
@edilbertleyson
@edilbertleyson Жыл бұрын
@@itz_nardos1234bruh
@bparcher96
@bparcher96 Жыл бұрын
thank you griff patch you have helped me so much!
@quyenpham765
@quyenpham765 Ай бұрын
Thank you very much, Griffpatch!!! :D
@hermanfarmer1454
@hermanfarmer1454 2 жыл бұрын
i saw an appel appear :O 18:50
@ApeiriophobicGD
@ApeiriophobicGD Жыл бұрын
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.
@dexterapple5288
@dexterapple5288 Жыл бұрын
true
@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! :)
@dynstinn
@dynstinn Жыл бұрын
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.
@thefakesammymammy
@thefakesammymammy Жыл бұрын
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)
@kevinpari9500
@kevinpari9500 Жыл бұрын
same XD
@tsujin_games
@tsujin_games Жыл бұрын
same i agree
@geraldneutral5491
@geraldneutral5491 Жыл бұрын
me too
@SomewhatDevious
@SomewhatDevious Жыл бұрын
same
@zZeimos
@zZeimos Жыл бұрын
Lol #Icanrelate
@varad.tiwari
@varad.tiwari 2 жыл бұрын
What other things will you add, like- the moving obstacles, spikes, saws, or anything else??
@griffpatch
@griffpatch 2 жыл бұрын
Animation next with hitboxes, then we'll do more complex things like handling the slopes, and moving platforms, etc
@heitorsant1759
@heitorsant1759 2 жыл бұрын
@@griffpatch that sounds fun
@juliantello5740
@juliantello5740 2 жыл бұрын
@@griffpatch sounds great
@varad.tiwari
@varad.tiwari 2 жыл бұрын
@@griffpatch Ok, Thanks
@woefulkebab5534
@woefulkebab5534 Ай бұрын
Soooooooooooooo helpful, I really needed this! Brilliant.😄😄😄😄😄
@gamergirlxdgames
@gamergirlxdgames 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.
@Metacubed
@Metacubed Жыл бұрын
Masterpiece of a tutorial series, your, work, is, AMAZING!
@lemmy15yt
@lemmy15yt Жыл бұрын
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 Жыл бұрын
@@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!!!
@davsjaidrai8476
@davsjaidrai8476 Жыл бұрын
lol, i love that you say ageein, best tutorial series on yt
@CursedBySnail
@CursedBySnail Жыл бұрын
I love you videos so much they are super helpful
@Never_Stay_Pink
@Never_Stay_Pink 2 жыл бұрын
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.
@jesseswimshorts4443
@jesseswimshorts4443 2 жыл бұрын
I have the same problem, did you ever fix this?
@Never_Stay_Pink
@Never_Stay_Pink 2 жыл бұрын
@@jesseswimshorts4443 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.
@rohansachdeva4952
@rohansachdeva4952 2 жыл бұрын
An Appel a day keeps the doctor away 18:55
@fionicombrink880
@fionicombrink880 Жыл бұрын
My son is LOVING your Video's he just adores them!
@iwillcatchulateryanoob3429
@iwillcatchulateryanoob3429 Жыл бұрын
nice video!!!!!!!! it helped me a lot! i'm a new scratch developer and your assets helped me a lot!
@_gxated_cr7
@_gxated_cr7 Жыл бұрын
Thank you so much we can all see how much effort you put into these!
@elias-tl6cd
@elias-tl6cd Жыл бұрын
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!
@Danielgamer-qq7sp
@Danielgamer-qq7sp Жыл бұрын
dumby
@ShivenBansal
@ShivenBansal 8 ай бұрын
Thank you for the link for the scratch addons, really wanted them😀
@bluecheese1212
@bluecheese1212 9 ай бұрын
love these tutorials
@jdh9419
@jdh9419 11 ай бұрын
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 9 ай бұрын
Search for infinite scrolling background tutorials and use that logic, stopping the scroll when x = 0
@martinatorprogaming
@martinatorprogaming Жыл бұрын
MY PC BROKE
@m5alta-
@m5alta- 7 ай бұрын
Lol
@mikavankooten
@mikavankooten 11 ай бұрын
Never mind I fixed it. For people who have this problem too, this is what I did: I made a custom block. Under define I did change size to 20% under that I did go to x-136 and then wait 0.0001 sec and then change size to 100%. and then I made another script: Forever loop, if x position = and then the furthest x coordinate that I can go into the wall (it didn’t reach till -235) and then wait 0.1 (this is to prevent that you get instant teleported back) and then the custom block under the wait block. Also griffpatch you helped me with a lot of my projects, keep going❤❤.
@Mili837
@Mili837 11 ай бұрын
but what is the name of the block?
@recroomvr1248
@recroomvr1248 Жыл бұрын
rly helps Thx keep up the awesome work as well
@sapphireglitter5257
@sapphireglitter5257 2 жыл бұрын
Me: **about to draw** Griffpatch: **post a video** Me: screw it im opening scratch
@juliantello5740
@juliantello5740 2 жыл бұрын
lol same but doing homeworks xd
@rollen1official
@rollen1official 2 жыл бұрын
L0L
@juliantello5740
@juliantello5740 2 жыл бұрын
xd
@MegaMigOficial
@MegaMigOficial 2 жыл бұрын
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 жыл бұрын
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
@TeachingIslam
@TeachingIslam Жыл бұрын
Tysm! Helped a lot!
@chiroyce
@chiroyce 2 жыл бұрын
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 жыл бұрын
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 жыл бұрын
@@lsh9396 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 :]
@_Sp_Cd_
@_Sp_Cd_ 2 жыл бұрын
I used your some tile scrolling platformer scripts to make a rpg adventure game
@griffpatch
@griffpatch 2 жыл бұрын
Nice!
@_Sp_Cd_
@_Sp_Cd_ 2 жыл бұрын
@@griffpatch : )
@Farleigh1050
@Farleigh1050 2 жыл бұрын
If you want to change the level costume names, you can but make sure the join block gives you the exact same thing as the costume name
@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!
@gerhardjogimanuelhutagalun9761
@gerhardjogimanuelhutagalun9761 2 жыл бұрын
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
@MobyWanKenobi
@MobyWanKenobi 2 жыл бұрын
You should add a "Flip over center of canvas" for the costume editor in scratch addons! That would be very helpful!
@itsplatinum101
@itsplatinum101 2 жыл бұрын
Yeah
@scrumchau5791
@scrumchau5791 7 ай бұрын
Even though this didn't work fully for me, some of it did and thank you!
@ishtiaqhussain4537
@ishtiaqhussain4537 7 ай бұрын
NGL I think griffpatch is just a really passionate guy about scratch, he could've decided not to help use code, but he did anyway! :)
@nipabegum8649
@nipabegum8649 2 жыл бұрын
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
@1000_Ways_To_Fail_Chess
@1000_Ways_To_Fail_Chess Жыл бұрын
Don’t remove it?
@TheDragonSlayer954
@TheDragonSlayer954 7 ай бұрын
Who else spot the falling lemon when creating a new block👇
@rushworldfunworld
@rushworldfunworld 4 ай бұрын
Me
@kellieconnor4319
@kellieconnor4319 4 ай бұрын
Me
@user-gq4nd9fo3w
@user-gq4nd9fo3w 3 ай бұрын
Wut?
@chieseledboockshelf
@chieseledboockshelf 2 ай бұрын
top comment but only 3 reply? Let me fix that
@greggreg126
@greggreg126 2 ай бұрын
LIKE BEGGAR LITTLE KID, HELL AWAITS.
@pixel8294
@pixel8294 5 ай бұрын
Helps a lot ty!!
@chibacha21_CarBoi
@chibacha21_CarBoi Ай бұрын
I have a few recommendations here to slightly improve this code: 1. If the fix collisions loop still doesn't work with 128 tries, you can swap the repeat loop for a "repeat until" loop that has the input "touching < 1" so that the loop repeats until the problem is solved. 2. You can solve the problem addressed at the end of the video without using walls! Just use "if else" brackets in each part of the existing "if else" bracket in the change scene script. The input for the top one is "scene # < (insert your last scene number here)", so that scene # only increases when the player isn't on the last level. As for the bottom one, use the input "scene # > 1", which makes scene # stay the same when on the 1st scene and the player is on the left side. Lastly, to reduce lag, add "stop this script" in each of the else parts of the brackets. I hope this helps! 😁
@minergangg
@minergangg 2 жыл бұрын
I added that in level 1 you can't go to the left without a left wall!
@lhalehoangyennhi8022
@lhalehoangyennhi8022 2 жыл бұрын
wait, how can you comment before this video starts
@RammansPizzas
@RammansPizzas 2 жыл бұрын
@@lhalehoangyennhi8022 he is a member
@tuyetpham209
@tuyetpham209 2 жыл бұрын
Nhi v việt nam
@juliantello5740
@juliantello5740 2 жыл бұрын
@@RammansPizzas oh ok
@BuzzyBee13
@BuzzyBee13 2 жыл бұрын
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 ;-)
@marquis83182
@marquis83182 8 ай бұрын
The one time griffpatch told us to NOT click "run without screen refresh"! Love ya griffpatch.
@user-gk4pi3gr5g
@user-gk4pi3gr5g 6 ай бұрын
thank you for making this
@LirikanMataDewa
@LirikanMataDewa 2 жыл бұрын
Thanks for the extensions griffpatch
@nooone4622
@nooone4622 Жыл бұрын
You are the best Scratcher! Thanks!
@selancenotl5678
@selancenotl5678 2 жыл бұрын
I've noticed the way you did the scene changing and i have an idea oh how it could be done otherwise. You could create two sprites with one rectangle each just outside the part we can see and make it so if the player touches them the scene changes.
@oumabdourrahmane
@oumabdourrahmane 11 ай бұрын
This is very cool !! :DD
@Not_BobYT
@Not_BobYT Жыл бұрын
I can say this without doubt that if you got any scratch problems or needs for a tutorial, griffpatch is your number 1 stop
Code a Platformer Game | 3. Hitboxes & Animation
30:08
griffpatch
Рет қаралды 688 М.
Code a Platformer Game | 1. The Basics
22:57
griffpatch
Рет қаралды 4 МЛН
КАХА и Джин 2
00:36
К-Media
Рет қаралды 4,1 МЛН
Ну Лилит))) прода в онк: завидные котики
00:51
Making a COZY Game in Scratch for the Day
5:14
Goodgis
Рет қаралды 1,3 МЛН
Ender Pearls can accidentally kill you now and I love it.
8:07
Phoenix SC
Рет қаралды 718 М.
Grow Your Scratch Game With These Hacks!
11:06
Donutask
Рет қаралды 304 М.
I Broke Minecraft With Your Physics Ideas... AGAIN!
8:09
SocksApollo
Рет қаралды 55 М.
Make your project UNREMIXABLE !
10:51
SL Smart Mind
Рет қаралды 183 М.
a mod with mobs you've never seen before
27:56
Skip the Tutorial
Рет қаралды 201 М.
Code a Platformer Game | 4. Slopes & Limb Posing
23:08
griffpatch
Рет қаралды 438 М.
Making a Scratch Game with 0 SPRITES
11:37
SL Smart Mind
Рет қаралды 51 М.
КАХА и Джин 2
00:36
К-Media
Рет қаралды 4,1 МЛН