Finally! We have "Stretchy Sprites" in Scratch - Full Tutorial
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.
⭐ Channel Membership - Early Access / Emoji / Perks
www.youtube.com/@griffpatch/join
🐱 Scratch Studio - Submit your projects here
scratch.mit.edu/studios/34285...
-------------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
Пікірлер: 1 000
SCRATCH STUDIO - scratch.mit.edu/studios/34285478/comments EARLY ACCESS / MEMBERSHIP - kzread.infojoin MORE QUICK TUTORIALS - kzread.info/head/PLy4zsTUHwGJKByTn_qV76oTpEYGczqEb_
@oigygiy
5 ай бұрын
hooray now i can make elastic tweens
@dogedev12
5 ай бұрын
The studio link leads to the raycasting episode ten studio.
@rain_SlM
5 ай бұрын
Yes
@SuperTrouper17
5 ай бұрын
a
@rileylim2758
5 ай бұрын
I laughed 1m times
Griffpatch can literally do anything impossible for us in scratch 🔥
@zentejavorszky5077
5 ай бұрын
yea
@LebatrowAndSqueak
5 ай бұрын
literally like so true
@GuynamedJaylen
5 ай бұрын
Fr on too many levels
@ChuckSploder
5 ай бұрын
He didn't pioneer this, I think UIOPscratch did, like a year and a half ago
@MasterSharky
5 ай бұрын
Just follow the steps he does
Literally no words to describe the gratitude to you griffpatch. You've broken scratch.
@codingpileofdirt
4 ай бұрын
Nope, we're only *scratching the surface* here
@1Sock2Sock
2 ай бұрын
I’m scratching my head
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.
@griffpatch
5 ай бұрын
Yes, I've seen that very thing done in scratch... It's very clever isn't it
@official-obama
5 ай бұрын
@@Paper99999 the top of the sprite seems wider than the bottom
@ChuckSploder
5 ай бұрын
Look up STTF in the scratch search bar
@codingpileofdirt
5 ай бұрын
IT WORKS WITH THE WHIRL EFFECT. I have seen some examples, though the whirling mainly seems to be best for animation purposes.
@fergusotoole6676
5 ай бұрын
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
5 ай бұрын
Невозможно*
@crafterboy27
5 ай бұрын
@@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 :)
@Magicpear-mx9gg
5 ай бұрын
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 👍
@Piano_Board
5 ай бұрын
I'm using a 1080p phone
@CyberXAndCorruptedTiger
5 ай бұрын
idk
@davidbahh8645
5 ай бұрын
He looks better!
@myroslavabilobrova9272
5 ай бұрын
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
@roundabout-host
5 ай бұрын
oh wow, nice to see you
@Mentalbox52
5 ай бұрын
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.
@radish.6660
5 ай бұрын
I like how it was invented by some guy in 2021 apparently me and my friends have known about fisheye stretching since like 2017
@ggenije
5 ай бұрын
@@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.
@amazingone915
3 ай бұрын
he didnot give you a heart because your his biggest enemy
That ungodly choir to at griffpatch did for scratch cat at 3:40 is amazing
@bitchassmoththing
3 ай бұрын
banger ytpmv sample
Interesting video! I can’t believe we could stretch sprites in game! Awesome work! Keep it up 😊
@griffpatch
5 ай бұрын
I know right!
@starflightYT
5 ай бұрын
@@griffpatchCan you stretch side to side by placing the square to the side?
@user-ox5dx7cw5k
5 ай бұрын
@@starflightYT yes
The pen extension and image scanning can also work for stretching. And skewing is possible with the whirl effect too!
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.
Wow griffpatch you're bringing back my childhood when i discovered effects blocks for the first time 😢where did that time goes
OOOOOH thats a genius way to do that, i never would've thought of that in a million years
@griffpatch
5 ай бұрын
I know right!?!
i haven't used scratch in years, but i love griffpatch's videos, they're so lovely and kind of nostalgic
It's amazing how much you can do with the simple fisheye effect block
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!
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
@griffpatch
5 ай бұрын
No problem!
@THETACOTEERS
5 ай бұрын
@@griffpatchand all this time I used different costumes for squish effect..
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
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!
@griffpatch
5 ай бұрын
That's awesome 👍
Can't believe what I'm hearing! This is amazing!
@-CosmoCode
5 ай бұрын
Ahh I have the glitch again cuz I'm on mobile.. I didn't manage to get to my PC on time
It's so great how you touch on multiple topics like a camera and dynamically moving surfaces.
duuude i've been wanting do do this for years... now i can finally achieve it with this tutorial, yay !
Awesome tutorial! So cool to see something that so many people thought was impossible done so simply!
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.
Genuinley so inspiring, might apply some of your tutorials in some of my future scratch projects!
This is so simple, yet I've never thought of it. Thanks, Griffpatch! Amazing tutorial as always
@christinewambua2205
5 ай бұрын
yap i agree
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 😅
@griffpatch
5 ай бұрын
It just takes a nudge sometimes :) nice one
Lifesaver! I have been looking for this! Thanks Griffpatch!
VERY very clever thinking behind this, griffpatch.
we have waited so long for this... thank you
GENIUS!!
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.
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?
@Saleh_925YT
5 ай бұрын
Bruh just delete the wrong texts and say it you don’t need to say I meant
@griffpatch
5 ай бұрын
100% yes... Watch this space
@-CosmoCode
5 ай бұрын
@@griffpatch ??? I think I don't know about Something
I thought that we just got the 2 axis scaling...
@griffpatch
5 ай бұрын
Oh for a simple stretch block!
It's funny how it eases in and out on it's own
Wow I have seen something like that before but never in such simplicity! As always, great job Griffpatch!
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!
@meowy_luffy
5 ай бұрын
yoooooooooo chimpmonk!
@channelname7105
5 ай бұрын
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
@ChuckSploder
5 ай бұрын
@@channelname7105 I think it was uiopscratch a year and a half ago
@helo397
5 ай бұрын
Hi @chipmonk!
@Mentalbox52
5 ай бұрын
@@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.
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?
@griffpatch
5 ай бұрын
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
Thanks a lot! Your tutorials are always helping!
I always wanted to do this for my slime game! Keep up the good work! ✨
its always a good day when griffpatch uploads
Can’t believe we did this without multiple costumes in the cat!
@griffpatch
5 ай бұрын
I know right!
@AbdulMamun_Alt
5 ай бұрын
@@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 remember finding the fisheye effect and being confused on why anyone would use it. Thanks for finally giving me a reason to use it :)
This is already hilarious, but your editing makes it so much funnier
wow this is crazy griffpatch!! Another great tutorial love your work keep it up!
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!
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.
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!
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 ❤🐱
Wow, this is really cool! I thought it was impossible to do that without a custom block. You are a genius dude!
Gotta love seeing griffpatch having some fun in the tutorial. :)
I NEEDED THIS MORE THAN ANYTHING BACK THEN THANK YOU SO MUCH FOR YOUR AMAZING TUTORIALS
Awesome tutorial! I never we could do from just simple fisheye effect Keep it up!
I never thought you could all those blocks you used were useful! Thanks for teaching me
fascinating as always, great vid!
OMG THANK YOU GRIFFPATCH !!!! this is life changing !!
This Quickly became one of the MOST Important scratch video basics for me!!!
This is like, revolutionary for 3D projects
This might be one of the most helpful tutorials you've made yet!
i actually remember doing something like this before, i never knew you could properly scale sprites with it though, i just used it to bend them from side to side
I'VE BEEN WANTING THIS FORERVERRRRRRRRRRRRRR THANK YOU SO MUCH
Another some pretty cool stuff, griffpatch!
Now this is a great 'thinking outside the box' moment!!
the new video format is so good !
i never thought of this omg this man is a genius!!!
never knew fisheye effect would finally be useful!
4:04 thats how actually 3DS' 3D effect is maded
Love it! I always wanted this
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!
My whole life I've been wondering if this was possible, and Griffpatch did it!
That's very clever. I never would have thought of that!
hi griffpatch, your videos made me get back to scratch again
Best thing in my notifications I have seen ALL day.
Hearing griffpatch so happy will never get old.
Thank you, Griffpatch i can finally code now!
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!
I don't know how you know all this. You're a genius!
I never thought of this but it's super cool.
I literally love this! I will put scratch cat in my backpack!
Even when stuff seems nowhere remotely possible, griffpatch still can do it
Perfect! i loved
i wonder why it took so long to figure this out lol GREAT job griffpatch
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. ]
0:31 scratch cat giving you the stink eye
you blow my mind griffpatch thank you
i love your games Griffpatch!
Yes, no bugs, or problems in my project. I love you Griffpatch! :)
While i did quit scratch this video makes me nostalgic I think I should make one game on it now!
Griffpatch can literally do *ANYTHING*
OMG TYSM GRIFFPATCH, ITS THAT I NEED BROOOO!!!!!!!
This is AMAZING !!!
Textured walls and floor would be cool in the 3d ray caster like the mode 7 for the nes
I did this project right now I'm done this is fun!
Very nice video I've been wanting to make a jumping animation for things like shooter games and this really help thank you!
@griffpatch
5 ай бұрын
My pleasure!
@blueberryscratcher
5 ай бұрын
Thank you!@@griffpatch
This is really amazing!
The end result makes for a nice loading screen.