RPG Tutorial | Craft your dream Scratch Game | 1. The Player ⛹️
Let's code the best Tile Based RPG in Scratch (in the style of the Legend of Zelda a link to the Past, my dream Scratch Game Tutorial!). If you've followed my devlog, then you'll know what to expect. In this first easy episode I'll teach you how to code the player. We remix the starter asset project, create the basic game loop, player movement with speed normalisation for diagonals, and add player animation with walk cycles. We also get a glimpse of the amazing tile stamping engine that we will begin to build next episode - too cool! Who's with me!!!
👀 Episodes in the series:
Ep.1 - Craft your dream Scratch Game - • RPG Tutorial | Craft y...
Ep.2 - Infinite Scrolling & Tiles - • 🐱 Infinite Scrolling &...
Ep.3 - I AM SPEED - • ⚠️ LAG FREE Scrolling ...
Ep.4 - Build a LEVEL EDITOR in Scratch - • Code a LEVEL EDITOR in...
Ep. 5 - Split Screen & Multi Tile Assets - • EDIT FASTER ⚡ Tile Tra...
Ep. 6 - Layers & Onion Skinning - • LAYERS 🧅 "Onion Skinni...
🚀 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
🐱 Scratch Starter Projects with Assets - Remix this!
scratch.mit.edu/projects/7255...
🐱 Scratch Studio for Your projects
scratch.mit.edu/studios/32038...
👀 Related KZread Videos - Don't miss these!
Devlog e01 - • Scratch RPG | Devlog #...
Devlog e02 - • Scratch RPG | Devlog #...
Crazy Cool Joysticks - • CRAZY COOL JOYSTICKS 🎮...
Code a TEXT ENGINE - • Code a TEXT ENGINE | A...
-------------Credits-------------
💾 The BEST pixel artist: o-lobster - o-lobster.itch.io/adventure-pack
💾 Awesome Player Character by Vryell - opengameart.org/content/tiny-...
-------------Video Chapters-------------
0:00 Intro
2:01 What’s in the Asset Starter Project
3:33 Remix and Setup
5:03 Scrolling game - PLAYER X, PLAYER Y
5:59 The Game Loop
8:54 Controls (Keyboard)
12:04 Basic Movement
13:30 Normalising Diagonal Speeds
17:42 Player Costumes & Direction
20:55 Player Animation
24:20 Idle costume
26:07 Outro
Пікірлер: 2 100
Every time I reopen this project it took 3 to 5 minutes lol
@griffpatch
Жыл бұрын
Tip - don't click see inside on your own project from the projects screen. Click to view project instead, then once loaded click see inside. It's so much faster.
@Username-mp8jl
Жыл бұрын
@@griffpatch THX!
@xoxogamewolf7585
Жыл бұрын
Just so you now, youtube doesn’t have pinging.
@redpandaexe10
Жыл бұрын
@@griffpatch I know that can you make an tutorial of how to make fnf in scratch?
@ilcp331
Жыл бұрын
@@griffpatch Thx griffpatch! it's faster now
"HELLO FELLOW SCRATCHERS" -the most comforting thing to hear before coding a game
@stwork777
23 күн бұрын
So true
@justanothermancurly
10 күн бұрын
me after the worst day ever "Hello fellow scratchers"
You cant not love Griffpatch! He's a genius and he can make crazy things with such a basic coding language. I cannot understand how he does this with SCRATCH!
@double9videos
Жыл бұрын
Yes, because of this it reduces the reasons that I need to switch from Scratch to other more complex coding language because I just found more and more and more things are possible to make on Scratch!!!
@MrPuzzleCodes
Жыл бұрын
@@double9videos well if you want to work profesionally, switching is very much recommended. But of you just do it for fun yeah, theres fewer and fewer reasons
@_gherry
Жыл бұрын
Not including his incredibile JS ability?
@wojtekgame
Жыл бұрын
and his kids
@stereomadnnesgames
Жыл бұрын
FINALY😁😁😁
Dang bro just watching this series i got so much better at scratch. I'm currently working on a custom turnbased rpg combat system, and took a leaf from your tree and used a index to keep track of which option was currently being selected by my custom selector, using two other lists to keep track of the button's x and y, and using the option index, it's working FLAWLESSLY. you've been inspiring so much of my work, and it's amazing how well it's working. just wanted to say thanks!
@heyyyitzmegamer
3 ай бұрын
Me too
YOU ARE THE BEST SCRATCHER!!! HOW DID YOU KNOW HOW TO CODE IN SCRATCH SO MUCH?!?!?!?!?!
Finally we start with this long awaited project! This will probably be able to match the Tile scrolling system series if not better
@derekdollarhite598
Жыл бұрын
I believe this will be MUCH bigger and better
Finally, the most awaited moment in AAAALL of the griffpatch channel. This amazing tutorial for the RPG Tutorial Series! Amazing job griffpatch, for teaching us how to do such amazing games. Also all of us are impatient for the next amazing tutorial of the RPG, or maybe even the 4th episode for the text engine, who knows what the next tutorial will be!
This will prob never get seen but I was I'm 4th grade looking at tutorials like these and now I'm coding unity in 10th. These memories just fly by
@griffpatch
Жыл бұрын
Don't they just :D
Love all the work you are doing for the Scratch community! Keep it up!
Finally!!! I'm so excited for part 2! I've been following your text engine tutorial for this. Great work!
@griffpatch
Жыл бұрын
Awesome, thank you!
@teamkingzkinda_house808
10 ай бұрын
@@griffpatch I'm a fan, I've been doing scratch for about four years now and I've watched all your scratch 3.0 tutorials😁
@somethingrandome6105
6 ай бұрын
please help the walk animation is not working @@griffpatch
This is crazy! Another series is starting! Im really excited for the next parts of the video because this had gotten awesome! Great job griffpatch!
It's crazy to see how powerful Scratch is. I've been "coding" for a LONG time.....but my initial exposure to coding was in "Basic" and C......where you have to code EVERY SINGLE THING in any game or program....like, how to show the main window...how to add menus, etc.....Scratch takes all of that boring and difficult stuff and lets you focus on the fun parts. Your tutorials are AMAZING. Keep up the great work!!!!!
That was awesome, thank you. Looking forward to working through the whole series. Great stuff.
Every time I open one of these tutorials, I am always amazed, finding you to show and explain the simplest way to do the most complicated thing. Thank you griffpatch, for making this awesome channel, that has helped me and many more.
@griffpatch
Жыл бұрын
My pleasure!
For someone who just released their platform game using his tutorial, I’m not surprised by how good this it.
Griffpatch tutorials really help me deeply understant coding and helps make my project perfect
@heidijoseph5679
5 ай бұрын
fr
it took 3 days of making the costumes + half of a day scripting but im proud of my project. thx for this tutorial! it helped me alot. hope you reach 1 million subs!
This is so awesome. This time I swear I'll be following and rebuilding each episode. Part 1 is done, can't wait for part 2!
As always, Griffpatch never ceases to amaze me with the crazy projects you can create with Scratch... Thank you :D
This man is such a help, he set the indestructible framework for my summer project
this tutorial series is AMAZING! and this is JUST THE START! amazing!
griffpatch is single-handedly carrying the entire scratch community with these tutorials
@hashiramasenju6750
Жыл бұрын
Yes
@chases9870
Жыл бұрын
yep he is
@simobjdr6354
Жыл бұрын
لمياءالشرقاوي
@lFunGuyl
11 ай бұрын
Fr
This series is gonna be incredible
@Benjiplays10-xr6lt
11 ай бұрын
I’m from the future and, yeah it’s incredible
You just saved my scratch career. Before I didn’t understand anything and only knew hoe to make a pong game, but with these simple tutorials that easy to understand I think I might be able to make better games!👍
I work now on Final Fantasy Game on scratch and thank you very much ! Your videos help me for the map, the heath bar and the joy stick movement !
I love the simplicity of the player frame and base+frame costume selection. When I tried something similar in the past, I was trying to concatenate the costume name with a frame number. It worked but it got a bit hairy.
@MrPuzzleCodes
Жыл бұрын
@@leol3545 no, the members of the channel can see this early
Ok I think this will be _THE_ most epic tutorial griffpatch has ever made.
@rectfall7804
Жыл бұрын
me too
this is so good he pops out the most complicated tutorials out there on scratch and teaches it with ease
@ashlaree86
8 күн бұрын
so true🏆giving him a golden trophy for being one of the smartest non-robot scratch coders out there!!!
Hi Griff, teacher here! I used Scratch a few years ago to do some pretty basic stuff. I just got through the first episode of this tutorial with no issues, it was so easy to follow! Thank you so much for putting this together! You might get to it in later episodes, but the only thing I would suggest is at the very end of this episode, I added a "Set PLAYER DIR to 180" to the "When Flag Clicked" block, that way it also sets my idle animation to look a bit more natural when the game starts.
Can't wait for episode 2, this is looking sooooo fun so far
Hi Griffpatch I always play your games on scratch. I love Zelda and this is so much inspiration. You deserve all 192k subscribers you derserve 100000000million! 😀
@lileli5380
Жыл бұрын
yes, Zelda wins my awards
This is a big help because I’m trying to make a rpg for myself so I’m learning the basic scratch and after this I will try to make my own with different types of pixel sprites
YAY!!!!!!! WE NOW GET TUTORIALS!!!!! Can’t wait for part 2!!!!!
I am making my first RPG on scratch so this was very helpful
@griffpatch
Жыл бұрын
Good luck!
@Celery_Fan8
8 ай бұрын
@@griffpatch I can’t change the costume of the player sprite, i copied all of the code but it isn’t working. What do I do?
Oh this is so GREAT! I'm excited to finish my project with this tutorial, I'll give you all the credits
man, i seriously love how your videos "upgraded". Example, when you made the tile scrolling platformer all the variables was already setted when we joined the project (almost all of them) and i love creating variables
at this rate you're going to make Scratch as popular as Python or C++ or others programming languages. Sometimes, I preffer code in Scratch than in python. Thanks for this education !
@Zeks2high
Жыл бұрын
Same
@circuitcoder
Жыл бұрын
Lol I also do sometimes, but the best thing is connecting both and making databases haha
@blackhole37
Жыл бұрын
of course it's the best.
killed it as always griffpatch i was actually expecting you to make a action variable to keep track if the player is idle but this works too great work
@griffpatch
Жыл бұрын
We may well add action or status variables later on. For now, this does the trick :)
@Chrome_Sipher
Ай бұрын
@@griffpatch Why does my player sprite move infinite after i press W and S?
I remember seeing your tutorials in scratch years ago! Never knew you were in KZread!
You can tell this video is incredible because of his energetic voice in the beginning
My 7yo boy loves all of your tutorial, Griffpatch! He learned so much from you. Thank you! (And he is having a low-grade fever and still asking when the #2 RPG tutorial will be released.... so eager).
@griffpatch
Жыл бұрын
Hey there - I am so pleased to hear that he's having such fun :D - I'm right there with him hehe! I'm sure he will continue to thrive! Say hi from me, my fellow Scratcher!
“An incredible adventure awaits!” Coding with griffpatch!
@redpandaexe10
Жыл бұрын
Never gonna give you up
@griffinbrooks6748
Жыл бұрын
@@redpandaexe10 😳
@chococookie7158
Жыл бұрын
@@griffinbrooks6748 Never gonna let you down
@RalphyTheCoyote
Жыл бұрын
rikroll
@agiladoo
Жыл бұрын
@@RalphyTheCoyote jes
The music in the intro while saying the dev log part is awesome
griffpatch you just explain it in a very simple way that everyone can understand I really like that!
It's crazy how lively Griffpatch has become over the years! Great video!
@ikilledaman
Жыл бұрын
He’s just over there furiously chugging coke and taking shots of caffeine so he can make a lively intro
this is why we all love griffpatch, he makes projects to beginners look so complicated but makes it look like a piece of cake.
I've been trying to get 8-directional movement working for so long, this is super helpful!
Thank you for explaining how to animate the player! This will be helpful for future scratch projects!
When is ep 2?? I'm waiting 😁 and i know it will be a BLAST 💥💥 keep up the good work!
@griffpatch
Жыл бұрын
Not long now!
@ngotra1904
8 ай бұрын
@@griffpatch I like your message
Amazing thanks! I will be watching your next episode!
cant wait for tutorial 2 of this MIGHTY RPG game.😉😉😉
I think I’m learning math from you not scratch
@booboo-wm8sr
5 ай бұрын
Scratch is a math class
@Bankole-wr4yo
5 ай бұрын
Scratches math is just crazy
@booboo-wm8sr
5 ай бұрын
@@Bankole-wr4yo like math lessons in universities
@certifiedbfdifan
4 ай бұрын
🎉multitasking🎉 (i cant find that one stars emoji)
@booboo-wm8sr
4 ай бұрын
@@certifiedbfdifan or give up
11:00 This can be achieved with one block! All you need to do is put the right arrow and d key detection in the "0" part of the subtraction, and put the subtraction in the "set joy x" block. Then you can get rid of the "Change joy x" block!
@brokenegg8967
10 ай бұрын
he knows that he just wanted to do things differently😉
@Tr0lliPop
10 ай бұрын
@@brokenegg8967 I know that he knows, I just want others to know too.
@brokenegg8967
10 ай бұрын
okay (btw you said know 3 times)
this guy always helps us create AMAZING projects, It may not work sometimes but you could do it again if it doesn't work!
I am sooooo excited to learn about this!!! :)
8:30 is there a reason that instead of using the "Go to x:() y:()" block, you use individual go to blocks for this? As far as I know, there isn't a difference, but I'm just curious!
@TONYXXXIFICATION
6 ай бұрын
Oh yeah I see what you mean. Great question, I'm curious aswell! You would think that changing (x) and (y) together in the same block would make for smoother diagonal movement, and that contrarily changing (x) first and (y) later, would risk creating a "staircase" diagonal movement. Does it really not matter at all? Maybe it's so fast that it all happens before the screen gets refreshed?
Thank you so much for this video Griffpatch!😄My scratch project works perfectly so far!😊
You actually saved my game from spoiling into a errored game. Thank you soooo much @griffpatch!!!
I still wonder what the Sqaure Root Function does, I still didn't get it's function
@griffpatch
Жыл бұрын
4 * 4 = 16 sqrt( 16 ) = 4 It's the opposite of the square (which is where you multiply a number by itself)
@pixelguy2231
Жыл бұрын
@@griffpatch Wow, thanks! I also never found a use to this function, but I guess I'll give it a try soon EDIT: Oh I remember the function now, it's √ simbol, I never knew it's actual name in English, lol
@pog917
Жыл бұрын
@@pixelguy2231 square root?
@DeletedUserOfficial
Жыл бұрын
Square rooting duh dummy 😂 You will start to learn in 7-8th grade 😅
@Speed-TV
Жыл бұрын
Square root is like the opposite of squaring a number (Instead of multiplying you divide)
Griffpatch my projects use to be bland and now you help me make the better! Thanks griffpatch
IVE BEEN WAITING THIS FOR LIKE 99999999999 YEARS LES GOOOOO GRIFFPATCH! thx
Great tutorial can't wait for part 2!!
So happy with the results!! Thanks griffpatch for this awesome tutorial!!!11!1!!1!!11!11
I am watching your vids after so many months and now I feel like I am back to school after a summer vacations. 🙂 Happy to see my teacher again.
I can't wait to try this. Waiting for my exams to get over. Love you Griffpatch😀
I cant wait to share this project! thank you so much its really fun to make!
@griffpatch
Жыл бұрын
You are so welcome!
For the movement script, you could - use ( + ) etc - use abs instead of squaring
Gaahh! you practically solved diagonal movements for me, Thank you so much! I thought I have to make a whole list of directions on a list then use the move block instead..
Bro thank you so much i needed the videos for my school project
this guy is the stampylongnose of scratch
Helpfully here thanks so much man!
I love your videos and keep up the good work. I really learn a lot from these videos
THANK YOU GRIFFPATCH! Some of the scripts look impossible to understand, but with your help I understand them all! And I see that some of these scripts I used in my old games. 😸
I already love this series
The amount of tiles needed for that is crazy! 🤯
You tutorials are awesome! Thank you Griffpatch! You're a genius!
@Skittleplays891
Жыл бұрын
Ikr
Wowsers! Love the Ableton "Underbelly" vibe!! Ha ha ha! Brilliant tut!!!
an amazing tutorial! this will really help me make my idea i have for an alian type of rpg really come to life! keep up the good work!
@griffpatch
9 ай бұрын
Glad to hear it! Good luck with your project
I love it!!! Thanks for sharing 😊
I've only seen the intro and I know this is gonna be wicked!!!!
Perfect for my new Multiplayer RPG game!
checking in every day, waiting for part 2
Your tutorials are so cool thank you :)
whats crazy is that I always play your games. I find it fun to play
Thank you! You helped me so much with my projects.
Bro, this is beautiful really.
Can't wait for episode 2!
so exited to start great work griffpatch😃😀
These tutorials ARE SOOOOOOOOOO help tysm for these tutors
amazing cant wait for part 3 !!!!
You blowed my mind that was cool
Brilliant tutorial! Love your videos
TYSM!! Awesome Turtorial!
im new to scratch and your tutorials really help.
This is the best as always :D
Thanks for the tutorials, Griffpatch!
Youn are so clever! Keep up the great work
I have never seen a better coder than you griffoatch! Keep on with the videos and coding!
@ahmedzain4299
Жыл бұрын
forgot p? in griffpatch
Thank you griffpatch ur the best!!
I love your projects!