🐱 Infinite Scrolling & Tiles - Scratch RPG Tutorial Episode 2
Вставка
- Опубліковано 10 лип 2024
- We continue our Scratch RPG tutorial, and today we code infinite scrolling backgrounds. We look at the tile costumes. Create Grid Lists to store tiled levels, and introduce sprite stamping using the pen extension.
🚀 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
👀 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...
🐱 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 #...
Tutorial #1 - • RPG Tutorial | Craft y...
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
0:56 Slow Project Loading
1:34 Scrolling & the Camera
5:25 Infinite Scrolling Background
7:10 Tiles Costumes
8:55 Tiles & Pen Stamping
10:42 Offscreen sprites and fixing Sprite Fencing
11:42 Stamping an entire grid of tiles
13:37 Perfect Pixel Alignment
15:40 Grid List
20:29 Stamping from the Grid List
21:35 Huge Tiles Maps - The problem
22:54 Outro
This video was getting so long that i had to split it in two! - Sadly, I didn't notice that at the point i stopped you can't move very far before the screen stops scrolling! Don't worry - This will all be solved shortly in episode 3, it's nothing you've done wrong! - My apologies, and Scratch On guys :D
When does part 3 come out?
@@havava4110 probably Monday
No worries
The only thing that matters is that everything will be done in future episodes 😉
Oh, it’s ok! I noticed that too!
I also can't move very far before the screen stops scrolling.
Can't wait for Ep3 to solve all these bugs!
This guy is a lot like my 7th grade history teacher. He's very enthuseastic about the subject and makes it fun to learn for the class. Thats why he's my favorite teacher. Thank you girffpatch :)
Yea, facts
OMG! Same! Mine was my home room who taight history, geography, etc. Lol
Fell asleep watching this guy, so peaceful
@@NateTheGreat529 Lol
So is your favorite teacher your 7th grade history teacher or griffpatch?
Griffpatch today: we are coding our own RPG game
Griffpatch in 2 years : today we are coding our own programming engine in scratch...
Love your content ❤️❤️❤️
You are amazing 😍
he has actually made scratch in scratch! look at his projects
Griffpatch in 10 years: Today we are coding roblox studio in scratch (working with cloud stuff and it actually adds to the official roblox game)
Making our programming language in scratch is easy I've made it serveral times
.
Griffpatch in 25 years: Hello Fellow Scratchers! Have you ever wanted to code a real life simulator is Scratch?
@@Farleigh1050 someone has actually made an amazing version of roblox in scratch before. And multiple people have made coding languages and scratch in scratch before. A real life simulator could possibly be accomplished but wouldn't run very well on regular scratch.
Griffpatch is like the teacher everyone wants
lies
Is true
unlike @thatveganteacher who says people who aren't vegan are horrible.
I just finished this part and I already can't wait for the next one! Really appreciate the effort you put into these tutorials! :D
In my 2-3 years of scratch experience, I did notice that projects moad so much faster when you view the project page instead of inside the project.
Woohoo! I'm finally putting that early access privilege to good use by building along to the video on the first weekend. Great fun! Looking forward to the next episode!
Excellent! :)
@@griffpatch griffpatch is great in scratch its like he created scratch welldone griffpatch keep up the hard work 😁😁
It's great seeing it all come together!
Thanks - This video didn't end as I intended, but it got too long! I had to cut off the last third... It has been a busy week and this had a lot of edits to make!
Hey, out of interest what was the notification like that you got for this video? UA-cam has updated to actually notify early access members by itself now! (about time ha)
@@griffpatch I got a standard in app notification. And if I recall correctly a home screen notification too, though that was when I first woke up and I was rapidly clearing out overnight updates and not paying that much attention. I think it was only that one video or two that I never got a notification for. Otherwise I almost always see them right away.
@@griffpatch I had also explicitly selected the bell with "all" selected and not just "personalized" so I'm not sure if that makes a difference.
Props to anyone who’s making this by hand as well as the person who made this downland as well as Griffpatch himself
I am not. it would be too hard, there are lots of sprites, if you drew this by hand you would take hours😓😓😓
Im MEGA Excited for Part 3! Thanks Griffpatch!
My other predictions for e3:
1. A similar fps improvement script just like the ray-casting e6 one.
2. In the player sprite, make the player swing his sword upon a press of the spacebar.
3. Try loading only the tiles around the player (not touching the edge)
And that’s it!
Very cool and awesome tutorial! Starving for part 3 of this series! As always thank you Griffpatch for making these awesome tutorials for the scratch community😄
I love your delivery. While most tutorials have a monotone (boring voice), you bring excitement to it. Thank you for putting these together. Im learning a lot!
I bet you my money that this will turn into a full-on series like the platformer tutorial! I cannot wait for everything to be posted, so i can finally code it
This is amazing. I love how anyone can access this type of content we need, keep it up :)
I can already tell how epic this will be when it is done!
We need more off those epic videos. Far more people should click this video :D I feel like Griffpatch has also a fun challenge making these projects as easy as possible. Keep up your amazing work :)
This project is really beautiful. As I have said before, Scratch is REALLY PROGRESSING FAST.
At the time of the platformers, I decided to make a humongous RPG series (which is still not done).
Now...we have a different kind of RPG, and a more advanced one it is.
Whats the series called? I'd love to play it.
this series is probably my favorite, I've wanted to learn to make an RPG game for so long! You are awesome griffpatch.
It's excellent how he shows what you can do with a simple website...
True
So Excited for Part 3!!!
I actually decided to make my own custom assets for the project. I’m excited for what comes next.
I am very excited for part 3!! Great video
This is truly amazing, Keep on going! Can't wait for more videos!!
WOOHOO! Griffpatch uploaded! I love your videos. You always get me hyped whenever I see you've made a new video! Can't wait for episode 3!
Yay, thank you!
@@griffpatch no problem :)
@@griffpatch My stamps aren’t going to the front of the stage, is it because I’m using custom sprites or did I do something wrong in the code?
i love your content griffpatch!
you help me understand everything in the easiest ways possible!
i thank you multiple times for teaching all of us how to code!
I love the "Opps" when you drag out the "background" Sprite
I'm so excited to get started on this project! I've always wanted to make an rpg, and I have a cool story in mind :)
I love this series!!!!! I get so hyped whenever I see a new one release!
Same!
@@ninjacorsOLD Me too!
Another great episode in this huge project. Thank you. Just a question: do you plan out big projects like this in your head or on paper before coding (maybe a flow diagram with variable names etc), or do you just start coding with a basic idea and see how it goes? Basically, what level of planning do you do? I'm not referring to making tutorial videos like this, just how you make games in general. Are there any "good practises" that can be passed on?
I generally have a plan in my head, and then get coding, but I do a lot of work to then make a tutorial out of it :)
Thanks for explaining it really well! I've been putting off learning soft soft cuz it looks so intimidating but now that I easily understood the
I never knew that project loading trick! That'll sure help with some of the bigger games I have planned.
Did you use the same method of getting the costumes as shown in the text engine videos or did you use a different way? If you used a different way, how did you do it?
We'll continue this in episode 3
@@griffpatch oh no griffpatch is becoming scott cawthon and giving messages that will help and confuse
Hello Griffpath! I have an idea: After the RPG tutoriel it would be cool if you made a complex clicker game. I know it sounds easy, but you can maby buy upgrades and have a cool clicker animation like in cookie clicker!
Did you comment that twice, or did UA-cam lose by reply lol? - Yeah that's a great idea - It's already on my todo list :D
Griffpath 💀
Your tutorials are super easy to under stand. Keep up the good work!
Ok quick info, I’m making a left 4 dead fangame on scratch and there are sooooo many bugs. For example, the player wall collisions will sometimes not work but now I realize I can use this tutorial to help! Thanks a lot Griffpatch!
Wow this is turning out amazing! I have only one question; Will you release this game to the public when it's finished? I would love to play it.
the point is to make it yourself
griffpatch makes us watch more of his videos before watching this one, more watch time. he is truly a genius, not only at scratch but at youtube too.
Hey man love the series so much cant wait for the next one.
i cant wait for next one! im working on this and im sooo exited
Griffpatch is a legend bro is doing things i thought were impossible in more complex coding but instead hes doing it in block coding, thats crazy keep up the good work
Scrolling is not infinite on the right and top
Check your variables ^^
true
Not entirely true, if you set the max X and Y values to infinity, or just loop the background, you can scroll infinitely.
I cant wait to add this to my game later 👍 keep up the good work griffpatch!
This tutorial is so useful that it helped me with a game that isn't even a tile scroller or an rpg
Thank you Chris. I really appreciate it and that was exactly what I was trying to do. No fuss and helping people get on with what they need
Chris...? :)
Who chris
Griffpatch makes learning block coding so fun! He's such a friendly guy.
Also very good tutorial. Can't wait for Part 3.
Hello! I'm not sure if you'll see this comment or if you've seen my previous comments regarding styling this series as a Pokémon game, but I've managed to pull it off! I had to almost completely redo the movement system but I think it turned out well, I've submitted it to the studio. Thanks for the amazing tutorials!
I have waited for this very long!!!
OMG! PART 2! SO EXITED TO START SCRATCHIN’!
It's Scratchin'' Time.
I and my friend are coding a Spanish adventure game, and this really helps, we need episode 3!!!
LESGOO !! I LOVE THIS SERIES A LOT THANKS !
woohoo! i was so exited for that episode! man i was at vacations and also din't forget about that RPG series! I won' lose 1 single episode from that serie!
fun fact: the game runs 2/3 FPS with ten thousand tiles
The Best Creator! Having Hopes For New Projects To Come Griffpatch! Keep Doing It! Your The Best!
Oh! I am soooo excited! I will do this video as fast as I have time! I have made a feature that you can zoom in and out! This is going to be great!
Sounds great!
Wohooo i was waiting for this!!
FINNALY!!!! I'VE BEEN WAITING! Can't wait to start!!!!!!!!11!!!!!!!1!!!!
I havent watched the entire series because im trying to make a rpg in my own style but DAMN this video helped me get started
Very good Tutorial, as usual. Good Job!! :D
Yay! Was waiting for this all week :)
Hope you enjoyed it!
Me too!
@@griffpatch I did :)
Hello griffpatch! Thank you for always making funny and kind videos! Looking forward to part 3!
なんでおまえのなまえわ”てつぺい”?
@@user-ps7ju4dp2y 名前間違ったから
This is all coming so fast o cant wait
Amazing series griffpatch! Thanks for the coding help.
Love your work griffpatch!!🤗
Hey griffpatch! I really love your projects and tutorials. I hope for the best :D
Edit: OMG, thank you for the heart!!
-Xyrtron on Scratch
Another grid list approach could be to have items for each row that are filled with tiles separated by a delimiter (if they are longer than one letter that is), in case they are single letter, you could just join them together using join()().
This would make tile extraction far easier as we could get the item the tile is on (tile y), the letter or spot between delimiters the tile is on (tile x) and just read that string (tile).
Keep this in mind just in case.
Thanks griffpatch for the amazing tutorials! You helped me get an A in computer! Thanks for your support! And I hope you continue to make amazing tutorials!
I got A+
I got A* muahahaha
@Khánh Đỗ Nam It's the British A-Level equivalent of an A++, or a GCSE 9.
Great Video! This gives everyone so many new ideas!
I've been waiting for this
Hess finally! I'm so exited!
Griffpatch, you are truly the one of the best persons in the world, or if not, THE BEST person in the universe!
love following along with this tutor love your stuff griffpatch thanks for the videos keep on keepen on
I haven’t started this tutorial yet, and I’m 3 minutes into this video, but I’m getting flashbacks to the tile scrolling platformer lol
Hey @griffpatch! I know you probably won't see this, but it's sometimes hard to tell when you update your games. How about you unshare and reshare them to notify your followers you've updates it? That, or at least love/favorite them.
Thanks griffpatch for this awesome vid. Love you!
No problem!
I can't wait for episode 3!
the most exciting line i ever heard before doing some codings and stuff is ''lets get scratching''
this is my second time doing it and its going so well and i love it
Brilliant!
Wooooo part 2!!!
your tutorials were great! I appreciate you!
Yay, a new griffpatch video!
2:17 Homer Simpson 🤣 "Dough"
This episode is awesome!
done part 1, doing this tomorrow. Nice tutorial.
ooo i am so excited
Griffpatch I found a way in the tile scroller to make powerups and the end event to not block fire balls. I created a 0.5 visible block, where these visible enemys cannt be killed. I changed the less than 1 to be a less than 0.5 and it works so well.
By the time I've finished one broadcast receiver this man has cooked dinner, solved world hunger, and went on a around world tour.
im SO excited for episode 3
Wow. I love it!
griffpatch, TOO THANKS!! WE ARE WAITING THIS VIDEOOO :)
I'm working on a rpg game of my own thanks for this video i might be able to it now thanks Griffpatch
I'm looking forward!🤗🤗
Indeed, it is!
YOU ARE AWESOME. I AM LEARNING SO SO MUCH.
THIS IS AS LONG AWAITED AS TPOT 2! Also Griffpatch, your tutorials are amazing. When I need help, I know who to go to!
Bfdi fan?
@@FireMonkeGT4404 yes
@@battleforpolygonsanimations gud
YES! The second part
Yeyy! Finally new video!!!!! ❤❤❤❤😀😀😀😀😀😀😀
*when i saw infinite in title i was like “👀”*
OMG life saver, I just watched a VERY scary movie and needed this to help me sleep :D
I love your scratch tutorials