RPG Tutorial | Craft your dream Scratch Game | 1. The Player ⛹️
ฝัง
- เผยแพร่เมื่อ 26 มิ.ย. 2024
- 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 TH-cam 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
Every time I reopen this project it took 3 to 5 minutes lol
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.
@@griffpatch THX!
Just so you now, youtube doesn’t have pinging.
@@griffpatch I know that can you make an tutorial of how to make fnf in scratch?
@@griffpatch Thx griffpatch! it's faster now
"HELLO FELLOW SCRATCHERS"
-the most comforting thing to hear before coding a game
So true
me after the worst day ever
"Hello fellow scratchers"
real
Yea
So true😊😊😊
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!
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!!!
@@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
Not including his incredibile JS ability?
and his kids
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!
Me too
YOU ARE THE BEST SCRATCHER!!! HOW DID YOU KNOW HOW TO CODE IN SCRATCH SO MUCH?!?!?!?!?!
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!
Finally we start with this long awaited project! This will probably be able to match the Tile scrolling system series if not better
I believe this will be MUCH bigger and better
bruh same
Love all the work you are doing for the Scratch community! Keep it up!
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!!!!!
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!
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
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!
Finally!!! I'm so excited for part 2! I've been following your text engine tutorial for this. Great work!
Awesome, thank you!
@@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😁
please help the walk animation is not working
@@griffpatch
@@griffpatch Never thought I would hear griffpatch say "Switching the player Exes for player Wifes" lol 23:05 on episode 11 btw commented on the wrong video lol
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.
My pleasure!
this tutorial series is AMAZING! and this is JUST THE START! amazing!
That was awesome, thank you. Looking forward to working through the whole series. Great stuff.
As always, Griffpatch never ceases to amaze me with the crazy projects you can create with Scratch... Thank you :D
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!
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 !
This series is gonna be incredible
I’m from the future and, yeah it’s incredible
YAY!!!!!!! WE NOW GET TUTORIALS!!!!! Can’t wait for part 2!!!!!
This man is such a help, he set the indestructible framework for my summer project
im revisiting Scratch and it works! thank you for the assets, it definitely makes me more motivated to work on my RPG when it actually looks like one. :D
Can't wait for episode 2, this is looking sooooo fun so far
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.
@@leol3545 no, the members of the channel can see this early
this is so good he pops out the most complicated tutorials out there on scratch and teaches it with ease
so true🏆giving him a golden trophy for being one of the smartest non-robot scratch coders out there!!!
You can tell this video is incredible because of his energetic voice in the beginning
Ok I think this will be _THE_ most epic tutorial griffpatch has ever made.
me too
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! 😀
yes, Zelda wins my awards
Thank you for explaining how to animate the player! This will be helpful for future scratch projects!
I am making my first RPG on scratch so this was very helpful
Good luck!
@@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?
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
We may well add action or status variables later on. For now, this does the trick :)
@@griffpatch Why does my player sprite move infinite after i press W and S?
IVE BEEN WAITING THIS FOR LIKE 99999999999 YEARS LES GOOOOO GRIFFPATCH! thx
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
griffpatch is single-handedly carrying the entire scratch community with these tutorials
Yes
yep he is
لمياءالشرقاوي
Fr
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 !
Same
Lol I also do sometimes, but the best thing is connecting both and making databases haha
of course it's the best.
cant wait for tutorial 2 of this MIGHTY RPG game.😉😉😉
I've been trying to get 8-directional movement working for so long, this is super helpful!
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).
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!
It's crazy how lively Griffpatch has become over the years! Great video!
He’s just over there furiously chugging coke and taking shots of caffeine so he can make a lively intro
Oh this is so GREAT! I'm excited to finish my project with this tutorial, I'll give you all the credits
You actually saved my game from spoiling into a errored game. Thank you soooo much @griffpatch!!!
“An incredible adventure awaits!”
Coding with griffpatch!
Never gonna give you up
@@redpandaexe10 😳
@@griffinbrooks6748 Never gonna let you down
rikroll
@@RalphyTheCoyote jes
this is why we all love griffpatch, he makes projects to beginners look so complicated but makes it look like a piece of cake.
Amazing thanks! I will be watching your next episode!
I am sooooo excited to learn about this!!! :)
When is ep 2?? I'm waiting 😁 and i know it will be a BLAST 💥💥 keep up the good work!
Not long now!
@@griffpatch I like your message
I think I’m learning math from you not scratch
Scratch is a math class
Scratches math is just crazy
@@Bankole-wr4yo like math lessons in universities
🎉multitasking🎉 (i cant find that one stars emoji)
@@certifiedbfdifan or give up
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
Can't wait for episode 2!
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!
he knows that he just wanted to do things differently😉
@@brokenegg8967 I know that he knows, I just want others to know too.
okay
(btw you said know 3 times)
griffpatch you just explain it in a very simple way that everyone can understand I really like that!
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
Don't they just :D
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!
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?
this guy always helps us create AMAZING projects, It may not work sometimes but you could do it again if it doesn't work!
Great tutorial can't wait for part 2!!
I still wonder what the Sqaure Root Function does, I still didn't get it's function
4 * 4 = 16
sqrt( 16 ) = 4
It's the opposite of the square (which is where you multiply a number by itself)
@@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
@@pixelguy2231 square root?
Square rooting duh dummy 😂
You will start to learn in 7-8th grade 😅
Square root is like the opposite of squaring a number (Instead of multiplying you divide)
I remember seeing your tutorials in scratch years ago! Never knew you were in TH-cam!
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.
I already love this series
amazing cant wait for part 3 !!!!
The amount of tiles needed for that is crazy! 🤯
Griffpatch my projects use to be bland and now you help me make the better! Thanks griffpatch
So happy with the results!! Thanks griffpatch for this awesome tutorial!!!11!1!!1!!11!11
whats crazy is that I always play your games. I find it fun to play
I can't wait to try this. Waiting for my exams to get over. Love you Griffpatch😀
Bro, this is beautiful really.
Thank you so much for this video Griffpatch!😄My scratch project works perfectly so far!😊
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.
Finally! I can finally make a scrolling rpg with multiple biomes with unique enemies!
You blowed my mind that was cool
I've only seen the intro and I know this is gonna be wicked!!!!
this guy is the stampylongnose of scratch
so exited to start great work griffpatch😃😀
Perfect for my new Multiplayer RPG game!
I wont do this now. But man these tutorials make me tempted. It would be bigger than even the raycaster series.
you, griffpatch, are the definition of SCRATCH MASTERY
Wowsers! Love the Ableton "Underbelly" vibe!! Ha ha ha! Brilliant tut!!!
This is the best as always :D
TYSM!! Awesome Turtorial!
I wanted to create a game like a Paper Mario: The Thousand-Year Door, and this helped me, thx
omg! exactly what i needed
Bro thank you so much i needed the videos for my school project
Always the best!
Thanks for the tutorials, Griffpatch!
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. 😸
You thought me everything I know about scratch I don’t know how much to thank you
Your tutorials are so cool thank you :)
im new to scratch and your tutorials really help.
Helpfully here thanks so much man!
You are truly a legend
"dancing around like a crazy thing" got me dancing on the floor😂😂😂😂😂😂
I love it!!!
Thanks for sharing 😊
I cant wait to share this project! thank you so much its really fun to make!
You are so welcome!
I love your projects!
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..
I love your videos and keep up the good work. I really learn a lot from these videos
dude the reason im hyped for the vid and to watch it is bcs of the intro lets get scratching