Finally! We have "Stretchy Sprites" in Scratch - Full Tutorial
ฝัง
- เผยแพร่เมื่อ 25 มิ.ย. 2024
- Impress all your friends by learning how to add "Stretchy Sprites" into your Scratch games, the next big things in Scratch Special Effects :D
Until recently, thought impossible, now we can enjoy sprite squashing and stretching in real time by combining Scratch's Effect Block, and some clever costume editing techniques! - Our projects will never be the same again!
This Scratch Tutorial will teach you everything you need to know including how to code a bouncing, squashing sprite with gravity, over an infinite scrolling background / level.
🐱 Scratch Studio - Submit your projects here
scratch.mit.edu/studios/34285...
🚀 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
-------------Video Chapters-------------
0:00 Intro
0:44 The Fisheye Effect
1:37 Animating the Fisheye Effect
2:45 Playing with Sprite Costumes + Fisheye
4:56 Scratch Studio
5:37 Bouncing Cat Project
7:25 Simple Gravity & The Background
8:47 Better Gravity with Bounce
10:33 The Squish
11:18 Proportionate Squish
13:58 Drawing a Scrolling Background
15:46 Animating the Scrolling Background
17:24 Cat Controls Movement
18:23 Camera Follows the Cat
20:06 Outro
SCRATCH STUDIO - scratch.mit.edu/studios/34285478/comments
EARLY ACCESS / MEMBERSHIP - th-cam.com/users/griffpatchjoin
MORE QUICK TUTORIALS - th-cam.com/play/PLy4zsTUHwGJKByTn_qV76oTpEYGczqEb_.html
hooray now i can make elastic tweens
The studio link leads to the raycasting episode ten studio.
Yes
a
I laughed 1m times
Literally no words to describe the gratitude to you griffpatch. You've broken scratch.
Nope, we're only *scratching the surface* here
I’m scratching my head
Griffpatch can literally do anything impossible for us in scratch 🔥
yea
literally like so true
Fr on too many levels
He didn't pioneer this, I think UIOPscratch did, like a year and a half ago
Just follow the steps he does
With the right combination of stretch and skew we may well be able to do arbitrary triangle transformations. This could be *REVOLUTIONARY* for mesh rendering if it also works with the whirl effect.
Yes, I've seen that very thing done in scratch... It's very clever isn't it
@@Paper99999 the top of the sprite seems wider than the bottom
Look up STTF in the scratch search bar
IT WORKS WITH THE WHIRL EFFECT. I have seen some examples, though the whirling mainly seems to be best for animation purposes.
i made something stupid hes 2 do bouncing in circles
@@griffpatch
Wow... that's ingenious. I've always hoped for a stretch block for Scratch, and was disappointed to learn they were apparently part of the platform once, only to be removed and get stuck in backlog for years. It's great to see that there's a workaround!
Griffpatch is certainly evolving! Showing us simple ways to do what was considered hard
Edit: *Thanks, Griffpatch!*
Невозможно*
@@mr.Archi2.0 hard*
So guys! Studio link coming soon... Did you notice this video is available at 4k 60fps? Question is, would you actually have noticed the difference? And does it look better/worse at the screen size you watch it at? Do let me know in the comments :)
Oh, I see, it look better. However, I think I will not care about it so much, your videos are so good! Thanks giffpatch for teaching us those details on scratch.😁 Give you a big like 👍
I'm using a 1080p phone
idk
He looks better!
Hi griffpatch 😊
That edge of fisheye thing was a billion iq honestly, and i´ve seen project where the sprite is drawn by pen for this effect.
Now it seems so easy, as it always was apparently!
I knew what the fish eye effect does, but I never thought of using it like this, when I taught kids scratch at the coding school, I taught some of them how to make it zoom in where you want by controlling the center of the sprite costume.
Here's history of using fisheye for stretching on Scratch:
May 22, 2021 l3ccm invented it
May 31, 2021 PutneyCat made project using l3ccm version
Dec 15, 2021 squidchip found it parallel to him
Dec 15, 2021 MentalBox adapted squidchip version into working triangle version
Dec 16, 2021 squidchip made first 3D project using stamped textured triangles
Jan 23, 2022 MentalBox made first loaded 3D object using stamped textured triangles
Apr 10, 2022 ggenije (me) got inspired by MentalBox's version and made regular stretch version.
Aug 08, 2022 Chrome_Cat fixed ggenije's stretch project to have higher precision.
Aug 20, 2022 Chrome_Cat made STTF - Stamp Texture Triangle Fill, which is first single stamp triangle texture using whirl effect along with fisheye
Aug 22, 2022 MentalBox made their own version of STTF
Mar 06, 2023 b9e made platformer used stretched circles
Sep 06, 2023 Chrome_Cat made v2 of STTF which is much better in each way possible.
Sep 06, 2023 KryptoScratcher optimized v2 STTF
Dec 02, 2023 griffpatch made video on fisheye stretching
oh wow, nice to see you
Great timeline actually!
In terms of releases this is fairly accurate and thank you for clarifying.
Behind the scenes me (Mentalbox) and Chrome_Cat were sort of working together on STTF, I had been trying to get whirl for a while and he pulled through with the math. I think I still have his paper somewhere. Everyone knew is was possible but struggled to get it off the ground.
I like how it was invented by some guy in 2021 apparently me and my friends have known about fisheye stretching since like 2017
@@radish.6660 Yeah, it's pretty logical that other people knew about it before l3ccm, but those we're probably isolated cases, but with this timeline you can see chain reaction happening. If you know some older projects which uses this method, I would like to see them.
he didnot give you a heart because your his biggest enemy
Interesting video! I can’t believe we could stretch sprites in game! Awesome work! Keep it up 😊
I know right!
@@griffpatchCan you stretch side to side by placing the square to the side?
@@starflightYT yes
4:04 thats how actually 3DS' 3D effect is maded
That ungodly choir to at griffpatch did for scratch cat at 3:40 is amazing
banger ytpmv sample
Wow griffpatch you're bringing back my childhood when i discovered effects blocks for the first time
😢where did that time goes
i haven't used scratch in years, but i love griffpatch's videos, they're so lovely and kind of nostalgic
The pen extension and image scanning can also work for stretching.
And skewing is possible with the whirl effect too!
I remember seeing a project with this in, but I couldn't find it afterwards to work out how it worked. Now I can finally make it! :D thanks griffpatch
No problem!
@@griffpatchand all this time I used different costumes for squish effect..
Can't believe what I'm hearing! This is amazing!
Ahh I have the glitch again cuz I'm on mobile.. I didn't manage to get to my PC on time
There’s a mod of Turbowarp that I really recommend trying. It’s called Penguin Mod, it adds lots of blocks, many new extensions, built-in Scratch Addons, and Turbowarp’s game modifier.
GENIUS!!
h
OOOOOH thats a genius way to do that, i never would've thought of that in a million years
I know right!?!
duuude i've been wanting do do this for years... now i can finally achieve it with this tutorial, yay !
I used that block to make black hole animations all the time... You see the best in something that doesn't seem like it was made for it
It's amazing how much you can do with the simple fisheye effect block
This is so simple, yet I've never thought of it. Thanks, Griffpatch! Amazing tutorial as always
yap i agree
Griffpatch never fails to create tutorials that are truly amazing. In fact, one of my friends are beginners at Scratch and he can create really amazing projects by following your tutorials!
That's awesome 👍
@@griffpatchand in the future somehow you will make a pause tutorial!
I haven’t used scratch in a few years, I’ve moved away to do script coding. But the excitement in your voice at the start has gotten me excited about scratch again, so thank you!
Lifesaver! I have been looking for this! Thanks Griffpatch!
Awesome tutorial! So cool to see something that so many people thought was impossible done so simply!
we have waited so long for this... thank you
It's so great how you touch on multiple topics like a camera and dynamically moving surfaces.
Genuinley so inspiring, might apply some of your tutorials in some of my future scratch projects!
It’s interesting because as soon as you said it used the fisheye effect I immediately figured out how you did it. Well, relatively, I don’t know the actual steps though 😅
It just takes a nudge sometimes :) nice one
I'm sure there's more cool things like this just waiting to be discovered... And when they are, griffpatch will make a video on it!
Random question, did you discover this stretch feature by yourself?
No I didn't discover this :) it's been around for a little while, but I don't think a lot of people know about it so I wanted to make a video
VERY very clever thinking behind this, griffpatch.
This is by far the 2nd most mind blowing tutorial I've seen just short of the MMO tutorial :D
I always love your videos Griffpatch!
Yay! Griffpatch, I have a question. Would you like to ever make tutorials on other programming languages too?
Bruh just delete the wrong texts and say it you don’t need to say I meant
100% yes... Watch this space
@@griffpatch ??? I think I don't know about Something
I thought that we just got the 2 axis scaling...
Oh for a simple stretch block!
I LOVE how he didnt sware in the intro good job griffpatch always keeping it child friendly 🤣😆
GUYS, HE FINALLY CHECKED HIS MESSAGES
Can’t believe we did this without multiple costumes in the cat!
I know right!
@@griffpatchHey griff dude, I have a scratch account but for some reason I'm not getting my email confirmation code (the thing you need to share projects and more) I cannot share one of my best games I've ever made in scratch. Can you help me? And I'll use this bounce squish effect in one of my games, but the problem is that no one other than me can see it 😢
I'm honestly surprised that no one discovered this sooner! Such an ancient limitation of Scratch, with a solution that's been staring us in the face this whole time.
Well done as always!
yoooooooooo chimpmonk!
Actually it was discovered i think at least several months earlier although I can't pinpoint an exact person and it didn't have widespread use. Several made triangle mesh renderers with it
@@channelname7105 I think it was uiopscratch a year and a half ago
Hi @chipmonk!
@@channelname7105 Squidchip came up with the idea and I implemented it. Ggenije made a project with this effect and I was credited. It's use for textured triangles has since been refined to include the whirl effect for a single stamp tris thanks to chrome cat.
7:07 I used that trick a long time ago when I made my first scrolling game with my own code. Its very useful, you can also use it to make the opposite happen by making a very big sprite to make the spites able to change really small. I often call the big sprite small, and the small sprite big, which may seem odd but it makes more sense for when you want something small you change to small and when you set something big you change to big.
Wow I have seen something like that before but never in such simplicity! As always, great job Griffpatch!
its always a good day when griffpatch uploads
It's funny how it eases in and out on it's own
Thanks a lot! Your tutorials are always helping!
Griffpatch, This was the BEST practical scratch tutorial I've ever seen in my life, thank you so much for teaching us this, you're amazing ❤🐱
I always wanted to do this for my slime game! Keep up the good work! ✨
wow this is crazy griffpatch!!
Another great tutorial love your work keep it up!
Gotta love seeing griffpatch having some fun in the tutorial. :)
Wow, this is really cool! I thought it was impossible to do that without a custom block. You are a genius dude!
I Can't Believe We Can Do This With 3 Costume In The Cat!
Great Work Griffpatch!
I remember when I was playing the school computer I accidentally stumbled upon one of this guy’s game and was surprisingly entertained, so I started playing more of his created games. Kinda crazy how all this time I didn’t know that he was a Scratch tutorial-er.
Another some pretty cool stuff, griffpatch!
This is already hilarious, but your editing makes it so much funnier
You have inspired me to do so many things with code
And this trick really helped with doing different affects like freezing, water, dancing and more!
This is amazing! I bet if you use this strategy a bit you can also warp a sprite to go into a specific quadrilateral bounding box, which can help us make 3D games without pen and still with high quality.
I never thought you could all those blocks you used were useful! Thanks for teaching me
the new video format is so good !
sonunda, böyle bir şey yapmanızı bekliyordum! animasyonlarımı yaparken bu bana biraz zaman kazandıracak.
[ finally, I've been waiting for you to do something like this! this will save me some time when I make my animations. ]
OMG THANK YOU GRIFFPATCH !!!! this is life changing !!
I NEEDED THIS MORE THAN ANYTHING BACK THEN THANK YOU SO MUCH FOR YOUR AMAZING TUTORIALS
I'VE BEEN WANTING THIS FORERVERRRRRRRRRRRRRR
THANK YOU SO MUCH
3:59 i can just imagine scratch cat having such a fast cartoonish voice
This might be one of the most helpful tutorials you've made yet!
Awesome tutorial! I never we could do from just simple fisheye effect Keep it up!
0:31 scratch cat giving you the stink eye
This Quickly became one of the MOST Important scratch video basics for me!!!
Great tutorial as always! I saw a scratch project on sprite stretching a year ago by ggenije done in similar fashion. the project itself didnt make too much sense to me so i appreciate the in depth explaination in this video!
fascinating as always, great vid!
This is like, revolutionary for 3D projects
i never thought of this omg this man is a genius!!!
Now this is a great 'thinking outside the box' moment!!
never knew fisheye effect would finally be useful!
Perfect! i loved
Love it! I always wanted this
He knows every corner of scratch❤❤❤
This was so wholesome!
That's very clever. I never would have thought of that!
I discovered this trick several years ago but I couldn't get it to not have a strong warping effect, and I couldn't really explain it to other people. Glad this tutorial shares this really cool trick!
Love the video! I just finished the Mario game tutorial series and i was wondering when it is coming back? I'm sure lots of other scratchers (such as me) are keen to see whats next!
OMG TYSM GRIFFPATCH, ITS THAT I NEED BROOOO!!!!!!!
My whole life I've been wondering if this was possible, and Griffpatch did it!
Thank you, Griffpatch i can finally code now!
I never thought of this but it's super cool.
hi griffpatch, your videos made me get back to scratch again
Im using this thing
Edit:also i have never heard you laugh so hard
There's only one thing in scratch that made me laugh more... And that was when I made the tag still physics and it went wrong
I remember finding the fisheye effect and being confused on why anyone would use it. Thanks for finally giving me a reason to use it :)
Hearing griffpatch so happy will never get old.
Griffpatch has been hypnotized!
I have waited so much :D
This is AMAZING !!!
griffpatch's creativity scares me
i love your games Griffpatch!
you blow my mind griffpatch thank you
Hey Griffpatch loving your vids. Just wondering if you will ever get back to the spooder cat devlog?
Yes I hope so!
Griffpatch is an enigma, so cool!
So crazy😮, thanks giffpatch
Best thing in my notifications I have seen ALL day.