Тёмный

Code a Platformer Game | 6. Vertical Levels 

griffpatch
Подписаться 365 тыс.
Просмотров 242 тыс.
50% 1

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

Опубликовано:

 

1 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 726   
@griffpatch
@griffpatch 7 месяцев назад
Next Episode #7 - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-bMZmDVCookw.html First Episode - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-D16hTnDGweo.html Playlist - ru-vid.com/group/PLy4zsTUHwGJIATydhFeZa5pspLZR7yE__
@Immortal69-ei4ek
@Immortal69-ei4ek 7 месяцев назад
Hello Griffpatch, love your videos!
@BlueBloxyBoii
@BlueBloxyBoii 7 месяцев назад
Same here
@that1lilguy
@that1lilguy Месяц назад
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 года назад
Griffpatch: *posts a video on a non monday day* Me: *confused screaming*
@gibler
@gibler 2 года назад
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 9 месяцев назад
Almost top comment, 11 likes, one year since posted and no comments?! Let me fix that. Also I agree lol
@TheLegendaryTortelini
@TheLegendaryTortelini 5 месяцев назад
true, Griif's tutorials are the best. Totally Scratch's God
@SparrowTutorialsFun
@SparrowTutorialsFun 2 года назад
Wow! I am excited
@BlueBloxyBoii
@BlueBloxyBoii 7 месяцев назад
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! 😃
@04tmoodyscratch24
@04tmoodyscratch24 2 года назад
Awesome episode, I absolutely loved the showcase at the end, that was sooo wholesome, hope you do more things like that!!
@synical4
@synical4 2 года назад
Your tutorials are so helpful, thank you so much :)
@thegreenhoodieguy
@thegreenhoodieguy 2 года назад
You managed to make this tutorial series a nostalgic throwback but with better code
@irwinrudolf
@irwinrudolf 2 года назад
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 года назад
Very good advice!
@irwinrudolf
@irwinrudolf 2 года назад
@@griffpatch Thank you! Your videos are cool and help me understand more of Scratch as I work on my games :D
@legoesters
@legoesters 2 года назад
yes! that what happened to me! thx!
@Seven71987
@Seven71987 2 года назад
Will there be a part 7?
@anuragbandhubajpai
@anuragbandhubajpai 2 года назад
Yes my character was not changing the scene but when I changed the Y value of the sprite and it worked !!
@thelegoreaper
@thelegoreaper 2 года назад
Yes! What I’ve been waiting for all week!
@johnpn6747
@johnpn6747 2 года назад
I loved Griffpatch's reaction on the third project review
@hellohello-ei4gi
@hellohello-ei4gi 2 года назад
At what time ?
@johnpn6747
@johnpn6747 2 года назад
@@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!
@italianninjaaa
@italianninjaaa 2 года назад
Hey griffpatch, i really like your projects and tutorials they are verry well made and easy to do
@BlueBloxyBoii
@BlueBloxyBoii 7 месяцев назад
same here!
@deskasandreas4504
@deskasandreas4504 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 года назад
@@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 года назад
hehe - Yes, that can be the case! I miss things all the time that seem obvious later on!
@uberkai8677
@uberkai8677 2 года назад
This is mind-blowing!
@agroxk
@agroxk 2 года назад
I was excited for this! ⭐
@_aitchfactor188
@_aitchfactor188 2 года назад
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 года назад
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
@bichaelafton
@bichaelafton 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 года назад
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...
@MadhumithaN
@MadhumithaN Год назад
griffpatch - no "please like and subscribe" no boring sponsors so i subscribed
@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!
@griffpatch
@griffpatch 2 года назад
Great to hear!
@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!
@griffpatch
@griffpatch 2 года назад
Thanks
@FlailFlie
@FlailFlie 2 года назад
I can’t believe how good this man is a scratch. Seriously. He made a water and sand sandbox.
@jobinjohn8990
@jobinjohn8990 3 месяца назад
wasand
@gamerlee0461
@gamerlee0461 2 года назад
Those projects are well made. Props to all scratchers 😁
@obithyustimothy5136
@obithyustimothy5136 2 года назад
Thank you griffpatch this tutorial really helped me!
@VY_Canis_Majoris
@VY_Canis_Majoris 2 года назад
Just what I needed today
@David-bf2wo
@David-bf2wo 2 года назад
I WAS WAITING OMG
@FluDash
@FluDash 2 года назад
Awesome! ❤️ Keep up the good work! 🙂
@samyounis825
@samyounis825 2 года назад
I enjoyed the video!! this tutorial grows very fast!!
@coolkat
@coolkat 2 года назад
Your tutorials have taght me A LOT about Scratch! Tysm! :))))
@griffpatch
@griffpatch 2 года назад
You're very welcome!
@moutushipaul3773
@moutushipaul3773 2 года назад
Yes
@tumandas1313
@tumandas1313 2 года назад
I´ve just love your tutorials!!!!
@drsongs143
@drsongs143 2 года назад
ITS AMAZING I LOVE IT I AM WAITING FOR E7
@Mykolakola
@Mykolakola Год назад
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).
@soapfaces
@soapfaces 2 года назад
I haven’t watched it yet, but I know this will be an exciting episode!
@IG00Channel
@IG00Channel 2 года назад
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
@glenjones5756
@glenjones5756 Год назад
Thank you so much this was so helpful you are one of the first scratch tutorials that's helpful
@idothings92
@idothings92 7 месяцев назад
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
@puntballer1858
@puntballer1858 2 года назад
LOVE this channel =D keep it up!
@didiervandendaele4036
@didiervandendaele4036 2 года назад
Great video and explanations as usual. The best scratch youtuber of the World !
@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 :)
@notjavi2786
@notjavi2786 2 года назад
nice video! when i found your channel i improved a lot at scratching!
@kathrynsullivan8024
@kathrynsullivan8024 2 года назад
this is so helpful for more customization options
@griffpatch
@griffpatch 2 года назад
Yeah :) I wanted to add this way back in episode 2, but it would have made the video just a little too long
@andrzejpakistan3200
@andrzejpakistan3200 2 года назад
Yay finally a new platformer tutorial
@Twin138956Productions2019
@Twin138956Productions2019 2 года назад
It's awesome!
@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
@wapelican2530
@wapelican2530 2 года назад
Thx for putting my idea!
@theelegantcoder9963
@theelegantcoder9963 2 года назад
Loved the vid!
@delta_0869
@delta_0869 2 года назад
I see it. this platformer tutorial WILL BE A WHOLE SERIES
@jzjensen6842
@jzjensen6842 2 года назад
also just want to say that this video is amazing keep on posting! and one question, how are u so good at scratch?
@noot_noot843
@noot_noot843 2 года назад
Amazing! I love this! Thank you so much, your video's are lovely!
@griffpatch
@griffpatch 2 года назад
Glad you like them!
@Kookie-IsTheGoat
@Kookie-IsTheGoat 2 года назад
@@griffpatch Hey I made a video on your tile scrolling platformer: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-LIEPn53uijE.html Hope you like it
@GamerCrispss
@GamerCrispss 2 года назад
Amazing Work
@GDPlainA
@GDPlainA 2 года назад
i didnt actually expect this to be 18 minutes. this is really cool
@griffpatch
@griffpatch 2 года назад
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
@wolfensponge_fan
@wolfensponge_fan 7 месяцев назад
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.
@BlueBloxyBoii
@BlueBloxyBoii 7 месяцев назад
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
@FeniteFr
@FeniteFr 2 года назад
I love the thunbail of this video ✨
@daiyanhassan1499
@daiyanhassan1499 2 года назад
Thank You!!!! You're letting me understand games better.
@user-zl2yg3bl4e
@user-zl2yg3bl4e 3 месяца назад
Same
@user-y0urFac3
@user-y0urFac3 2 года назад
thanks for nice tutorials!!!😁😁😁
@notqwerong8661
@notqwerong8661 2 года назад
THIS IS RLLY COOL
@apple_ilev5s
@apple_ilev5s 2 года назад
12:51 i absolutely love griffpatch screaming "NOOOOOOOOOOOOOOO"
@kaanDAninja
@kaanDAninja Год назад
nightmare before Christmas, great film!
@hazratnizamuddin02
@hazratnizamuddin02 2 года назад
Thanks, really helped.
@honor_gamer
@honor_gamer 2 года назад
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...
@sarmisthasahoo423
@sarmisthasahoo423 2 года назад
Completed my coding class 1 hr ago...Nice tut btw
@willy7789
@willy7789 2 года назад
Everyone did great awesome!
@mohamadhazlihamzah8473
@mohamadhazlihamzah8473 7 месяцев назад
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😂
@vladislavlagutin879
@vladislavlagutin879 6 месяцев назад
I LOVE IT!!!!
@user-el5ki4nn7f
@user-el5ki4nn7f 29 дней назад
This helped me so much to make a secret shortcut! Cool😎
@kaminigaikwad9557
@kaminigaikwad9557 2 года назад
Griffpatch: Showcases Projects Me:Focus on Message count **Is no one onna talk bout it***
@Wudjja
@Wudjja 2 года назад
Can't wait to do this! (My version was extremely scuffed lmao)
@shameemajamshad3095
@shameemajamshad3095 7 месяцев назад
Thank You Grifftpatch I will do my best to fix it
@k4den549
@k4den549 2 года назад
A true legend on scratch community
@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.
@gunjantutorial7405
@gunjantutorial7405 2 года назад
Same amazing tutorial
@RobloxFlipSkool1234
@RobloxFlipSkool1234 2 года назад
0:19 griffpatch: Multi-Dimensional Levels Me: Then where's the 3rd dimension?
@Dixions_clips
@Dixions_clips Год назад
Intresting Fact(maybe) : You can make negative floors, but if it's scene 2, below will be scene -98, and even below it will be scene -198
@gladiatorplays176
@gladiatorplays176 2 года назад
when i go back to scene 1 i always get stuck pls help
@mikhailmckinley5430
@mikhailmckinley5430 5 месяцев назад
Same
@CrazyMarioGuy
@CrazyMarioGuy 5 месяцев назад
Same
@tymonmasalski3673
@tymonmasalski3673 2 месяца назад
Maybe double check the tick last Script?
@erikalsoryan4877
@erikalsoryan4877 Месяц назад
Same
@talaytermvanich6249
@talaytermvanich6249 2 года назад
by far the shortest tutorial griffpatch has made
@griffpatch
@griffpatch 2 года назад
Was two in a week to compensate :)
@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! :)
@NemoDpro
@NemoDpro 2 года назад
Thank so much
@IamAM139
@IamAM139 2 года назад
Thanks so much
@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
@qwertyuiop.lkjhgfdsa
@qwertyuiop.lkjhgfdsa 2 года назад
scracth lol
@thenivlacianempire8574
@thenivlacianempire8574 2 года назад
I was having trouble moving scenes to a scene below the first layer of scenes but I figured out that you just need to set the scene to "Scene-100" and then add a positive number for the level above it. So, if you are going down on scene four, you name the scene below it "Scene-96" because a negative plus a positive is a lower negative. I added this incase anyone else had the same problem.
@griffpatch
@griffpatch 2 года назад
I was just replying to your previous message on this with the solution, bit you beat me to it :)
@thenivlacianempire8574
@thenivlacianempire8574 2 года назад
@@griffpatch Yeah, sorry for deleting it as you were typing, Lol.
@hellohello-ei4gi
@hellohello-ei4gi 2 года назад
Cant wait for the moving platforms
@Taro-yt4tk
@Taro-yt4tk 2 года назад
I think you could use: If {(ABS of x position) > 236)} then Set + or - to (x position / (ABS of x position)) Begin scene # (SCENE # + + or -) go to x, y: (0 - (235 * + or -)) For the 2 xs and almost the same for the ys
@joshuamanrique8557
@joshuamanrique8557 2 года назад
Great idea me!
@griffpatch
@griffpatch 2 года назад
Yes you are right, good work on optimising that code!
@Taro-yt4tk
@Taro-yt4tk 2 года назад
@@griffpatch does it work?
@joshuamanrique8557
@joshuamanrique8557 2 года назад
@@griffpatch please pin this comment
@yannismorris4772
@yannismorris4772 2 года назад
I've been using the ABS like that too but I just did a couple of checks after to see if the X or Y position was less than or more than 0.
@HaiDooo
@HaiDooo 2 года назад
Great !
@Discipline782
@Discipline782 2 года назад
great brilliant cool . I am eagerly waiting for part 7
@griffpatch
@griffpatch 2 года назад
Coming soon
@Discipline782
@Discipline782 2 года назад
@@griffpatch yay
@Redball2.0
@Redball2.0 10 месяцев назад
i made a type of thing to instead change the height of the scene so it doesn't interfere when you make more then 100 scenes :D
@luisworld5402
@luisworld5402 2 года назад
The mecodetwo level where he says this reminds me of the movie the movie is the Night Before Christmas!
@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
@FeniteFr
@FeniteFr 2 года назад
Awesome video 🤩 look for all your others videos ✨
@vVearon
@vVearon 2 года назад
can you do a badges / achievements tutorial? keep up the great work griffpatch 👍
@iggyzpro3996
@iggyzpro3996 2 года назад
You are the best scratcher.
@hazard6896
@hazard6896 2 года назад
Hey Griffpatch, I have a question. I was wondering what editing program you use because all of your videos are really well made :D
@AlexTheNG
@AlexTheNG 2 года назад
it's in his video description
@IG00Channel
@IG00Channel 2 года назад
It's Camtasia. He mentions it in his description
@hazard6896
@hazard6896 2 года назад
@@AlexTheNG oh silly me 🤦‍♂️
@griffpatch
@griffpatch 2 года назад
hehe :D
@irwinrudolf
@irwinrudolf 2 года назад
16:50 Nightmare before Christmas! is an awesome movie
@griffpatch
@griffpatch 2 года назад
Yes that was the one :D - Imagine a whole platformer themed like that!?!
@regittejaneleguro1417
@regittejaneleguro1417 2 года назад
This guy is the best
@awsomelegocreations2066
@awsomelegocreations2066 2 года назад
Wow griffpatch you have sooo many notifications in Scratch! :0
@themaingus2889
@themaingus2889 2 года назад
thank you!
@griffpatch
@griffpatch 2 года назад
You're welcome!
@corundum1966
@corundum1966 2 года назад
I can’t wait for moving platforms 😃
@griffpatch
@griffpatch 2 года назад
Episode 8!
@frostyproductions23
@frostyproductions23 Год назад
THIS MANS HAS 1 MILLION NOFTIFICATIONS!
@ItzpoomAV1
@ItzpoomAV1 2 года назад
Saturday video, never expected that
Далее
Code a Platformer Game | 7. SPIKES and LAVA
27:31
Просмотров 277 тыс.
The 5 Most UNDERRATED Scratch Blocks! 🔥🏆
3:54
Просмотров 79 тыс.
I Remade My Scratch Game in Godot
10:04
Просмотров 344 тыс.
I Coded Snake but there's a Catch...
9:45
Просмотров 2,8 млн
How I Made a 3D Platformer in 2D Game Engine
21:23
Просмотров 437 тыс.
The Easiest "Impossible" Level in Geometry Dash...
11:06
I Became a Scratch Developer for a Day
9:17
Просмотров 164 тыс.
I Made a Scratch Game In a Scratch Game
9:33
Просмотров 384 тыс.