RPG Tutorial | Craft your dream Scratch Game | 1. The Player ⛹️
Вставка
- Опубліковано 6 чер 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 UA-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"
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!!! 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
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!!!!!
Love all the work you are doing for the Scratch community! Keep it up!
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
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!
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!
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.
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
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!👍
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 tutorial series is AMAZING! and this is JUST THE START! amazing!
This man is such a help, he set the indestructible framework for my summer project
This series is gonna be incredible
I’m from the future and, yeah it’s incredible
Can't wait for episode 2, this is looking sooooo fun so far
That was awesome, thank you. Looking forward to working through the whole series. Great stuff.
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.
@@leol3545 no, the members of the channel can see this early
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
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.
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!!!
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?
Ok I think this will be _THE_ most epic tutorial griffpatch has ever made.
me too
Oh this is so GREAT! I'm excited to finish my project with this tutorial, I'll give you all the credits
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.
griffpatch is single-handedly carrying the entire scratch community with these tutorials
Yes
yep he is
لمياءالشرقاوي
Fr
cant wait for tutorial 2 of this MIGHTY RPG game.😉😉😉
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
YAY!!!!!!! WE NOW GET TUTORIALS!!!!! Can’t wait for part 2!!!!!
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!
Amazing thanks! I will be watching your next episode!
griffpatch you just explain it in a very simple way that everyone can understand I really like that!
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?
“An incredible adventure awaits!”
Coding with griffpatch!
Never gonna give you up
@@redpandaexe10 😳
@@griffinbrooks6748 Never gonna let you down
rikroll
@@RalphyTheCoyote jes
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
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
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 am sooooo excited to learn about this!!! :)
Thank you for explaining how to animate the player! This will be helpful for future scratch projects!
this is why we all love griffpatch, he makes projects to beginners look so complicated but makes it look like a piece of cake.
IVE BEEN WAITING THIS FOR LIKE 99999999999 YEARS LES GOOOOO GRIFFPATCH! thx
Thank you so much for this video Griffpatch!😄My scratch project works perfectly so far!😊
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
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?
Great tutorial can't wait for part 2!!
You can tell this video is incredible because of his energetic voice in the beginning
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)
I've been trying to get 8-directional movement working for so long, this is super helpful!
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 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)
So happy with the results!! Thanks griffpatch for this awesome tutorial!!!11!1!!1!!11!11
I cant wait to share this project! thank you so much its really fun to make!
You are so welcome!
You actually saved my game from spoiling into a errored game. Thank you soooo much @griffpatch!!!
I already love this series
Griffpatch my projects use to be bland and now you help me make the better! Thanks griffpatch
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.
The music in the intro while saying the dev log part is awesome
This is the best as always :D
I remember seeing your tutorials in scratch years ago! Never knew you were in UA-cam!
I love it!!!
Thanks for sharing 😊
I can't wait to try this. Waiting for my exams to get over. Love you Griffpatch😀
You tutorials are awesome! Thank you Griffpatch! You're a genius!
Ikr
Bro, this is beautiful really.
this guy is the stampylongnose of scratch
Helpfully here thanks so much man!
Your tutorials are so cool thank you :)
Brilliant tutorial! Love your videos
amazing cant wait for part 3 !!!!
Can't wait for episode 2!
I love your videos and keep up the good work. I really learn a lot from these videos
I've only seen the intro and I know this is gonna be wicked!!!!
You blowed my mind that was cool
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. 😸
TYSM!! Awesome Turtorial!
Perfect for my new Multiplayer RPG game!
I have never seen a better coder than you griffoatch! Keep on with the videos and coding!
forgot p? in griffpatch
so exited to start great work griffpatch😃😀
I love this tutorial, keep it going! :D
These tutorials ARE SOOOOOOOOOO help tysm for these tutors
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!
Glad to hear it! Good luck with your project
Thank you! You helped me so much with my projects.
Youn are so clever! Keep up the great work
Always the best!
Thank you griffpatch ur the best!!
The amount of tiles needed for that is crazy! 🤯
whats crazy is that I always play your games. I find it fun to play
watcNice tutorialng one or two every night, SUPER helpful, cNice tutorialll and clear. Great content, can't wait to watch them all.
Bro thank you so much i needed the videos for my school project
im new to scratch and your tutorials really help.
THIS SERIES IS AMAZIN
checking in every day, waiting for part 2