EPIC SPRITE TRAILS | Easy Coding Tutorial to Spice up your Game

  Рет қаралды 334,763

griffpatch

griffpatch

Күн бұрын

Learn how to create Epic Sprite Trails for your Scratch Game in this Easy Scratch Tutorial. Give your player those Go Fast Turbo Speed Effect, whoosh! Or upgrade your mouse pointer to look super cool. Keep the trails short or long, it's up to you. We look at using clones and pen stamping for trails 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
🐱 Scratch Studio for this tutorial - scratch.mit.edu/studios/32008...
👀 Other Quick and fun Tutorials - • Quick and Fun Scratch ...
👀 Playlist of all Tile Scrolling Platformer Episodes:
• Griffpatch's Tile Scro...
📹 The Awesome Video Editing software I use (Camtasia)
techsmith.z6rjha.net/5bajbo
-------------Video Chapters-------------
0:00 Intro
0:33 Trails using clones
1:23 Fading Clones
2:15 Variable length clone trails
3:39 Pen Stamping Sprite Trails
4:51 Ghosting a Stamp
7:14 Fading a stamped trail
8:51 Outro

Пікірлер: 520
@nitrous5139
@nitrous5139 Жыл бұрын
I remember following you nearly 10 years ago on Scratch. I was still in elementary school then. It's honestly heartwarming that you are still teaching this amazing community
@OmniSync
@OmniSync 9 ай бұрын
i cant believe how long its been
@SametKaratas0
@SametKaratas0 5 ай бұрын
O
@DanielHCassidy
@DanielHCassidy Жыл бұрын
I feel like this would fit in well with a sonic or crash Bandicoot game
@NeoCaeky
@NeoCaeky Жыл бұрын
Especially for Super/Hyper Sonic
@NeoCaeky
@NeoCaeky Жыл бұрын
@Percy G Exactly!
@surlo69
@surlo69 Жыл бұрын
i love the creativity in the tutorials. griffpatch always makes even the simplest tricks more optimized and satisfying. not only are these tutorials helpful they also encourage people to think outside the box and work around the limits
@cst1229
@cst1229 Жыл бұрын
Protip: You can drag a stamp block into the stage and it works fine! Together with the brightness effect (100 is fully white), you can make the fader without any extra sprites or costumes, as long as the backdrop has no transparent parts (otherwise not all parts will fade properly).
@griffpatch
@griffpatch Жыл бұрын
Wow cool
@frenzy9102
@frenzy9102 11 күн бұрын
also works if you put another colour i put black and it worked
@occrazy8
@occrazy8 Жыл бұрын
This will be a great feature to my game. Thx for posting
@arandomorange
@arandomorange Жыл бұрын
I love how 99% of KZbinrs start with 'Without further ado'. Also, when you enable Subtitles, it says 'adieu', which means goodbye LOL.
@need890
@need890 6 ай бұрын
lol
@PersonOverHeaven
@PersonOverHeaven 6 ай бұрын
Lol hahaha
@taramoloney9119
@taramoloney9119 3 ай бұрын
Bruhhhhhhh
@gceceditsstuff
@gceceditsstuff Жыл бұрын
Is it just me or is Griffpatch making features that make games more SATISFYING? First, boids and now trails! Really satisfying indeed! I wonder what satisfying feature he will make next...
@bankio6957
@bankio6957 Жыл бұрын
A EDITOR!
@blackhole37
@blackhole37 Жыл бұрын
The first time i started Scratch i was like "Oh. Ok that's just a little price version of a Turing Machine but it's kinda gcool." But now i see how scratch is satisfying.
@lightbeam6056
@lightbeam6056 Жыл бұрын
It's nice to see you posting more often!!
@melon9089
@melon9089 Жыл бұрын
Hello fellow scratchers is a very great intro to the video!! Another helpful video, please make more!!
@ticyyy2336
@ticyyy2336 Жыл бұрын
OOOOH i've been waiting for this tutorial for YEARS
@onyxtautuhi3473
@onyxtautuhi3473 Жыл бұрын
This is just really clever and simple, I never thought of this method for the fade effect!
@NITRO_PRO
@NITRO_PRO Жыл бұрын
Another great tutorial! Also, congrats on 400K!
@Resseguie
@Resseguie Жыл бұрын
I love the self contained tutorials! Well done as usual. The fader feels like a nice backpackable solution. I guess another downside to the stamping is that it assumes you're not using stamps for some other purpose already? I suppose you could re-stamp things like tiles, etc if needed after the ghosting? Or if you had something like a level mask, I guess you could only stamp the fader in areas that don't have other more permanent stamps. Hmm...
@griffpatch
@griffpatch Жыл бұрын
Using clones is generally better for scrolling games, stamping is good for longer trails and more objected with trails, but to stamp on scrolling games requires using lists
@DinoTaken
@DinoTaken Жыл бұрын
@@griffpatch it said scratch email not exist
@DoDoBird830
@DoDoBird830 6 ай бұрын
​@@griffpatchwhy are my clones following the character
@WaterhouseFishing
@WaterhouseFishing Жыл бұрын
Love the tutorials. You made me a better programmer! 👍
@griffpatch
@griffpatch Жыл бұрын
Great to hear!
@ChuckSploder
@ChuckSploder Жыл бұрын
@@griffpatch same
@KatOnMelon
@KatOnMelon Жыл бұрын
I have no idea how to use stamp like that at first i did not know why this was useful in since u can just use clones but i forgot that theres a clone limit great job!
@shinyian82
@shinyian82 Жыл бұрын
Haven’t even watched yet but here’s simple code Start |Forever |create clone of myself |wait [insert number] When I start as clone Repeat [insert number] Change ghost affect by [insert number] Wait [insert number] Delete this clone Go nuts with adding things as well
@littlespark0
@littlespark0 Жыл бұрын
I love how he always give explanation about what he does.
@AHappyFace_RBLX
@AHappyFace_RBLX Жыл бұрын
Thank you griffpatch! I now have a trail for my game!
@Mel-mu8ox
@Mel-mu8ox Жыл бұрын
I've seen you use stamps in another video, but it was done so fast I didn't see what you clicked on to get it up TY for making it clear in this vid. :D its like my whole world just got that much bigger XD
@caramelmilk1826
@caramelmilk1826 Жыл бұрын
This is really helpful! Tysm for the tutorial!
@heatherwheatley2905
@heatherwheatley2905 Жыл бұрын
I have been pondering this for ages and now I can make it happen
@nicotitan7834
@nicotitan7834 Жыл бұрын
Thank you for helping me make a trail because I’ve been trying to do it for a while
@Phillip_Anatra
@Phillip_Anatra Жыл бұрын
This is epic! Can't wait to add some to my projects :) Thanks griffpatch
@revelnic
@revelnic Жыл бұрын
great! I will use the functios with the stamping in my platformers now! Thank you very much for the tutorial! :D
@sansanbanana4397
@sansanbanana4397 Жыл бұрын
Your videos are always helpful!
@-_-MichaelMike-_-
@-_-MichaelMike-_- Жыл бұрын
I Love the Tutorial it can be really cool for fast games. (^Please make more Tutorials I'm excited^)
@mariotasticgamingMARIO
@mariotasticgamingMARIO Жыл бұрын
This was extremely helpful when i was making a trail in your lemenoid video
@instinctdiff7765
@instinctdiff7765 Жыл бұрын
Oh, that explains why you had an odd background effect in the boids tutorial. I was wondering how you managed to make those. It's like from a different platform. Now I get it. I was actually looking for simplest way to do this, the rotation, and the text engine. You don't know how much I learn from you. I love learning so thank you so much Griffpatch! PS. Your biggest influence to me was the forever loop with a send broadcast. and use it to loop all sprites simultaneously, so I would only have 1 forever loop block in my project. And I've been using it ever since! It saves me from a lot of lag and it even helps me organize my codes (like what block will trigger first or last on the entire project)!
@griffpatch
@griffpatch Жыл бұрын
Yes, that was a great help to me too when I worked it out :)
@oso_lacion
@oso_lacion Жыл бұрын
I used your boids tutorial to make my own version but in JavaScript. I got them all except for the rotation. gladly I can just use arc tan of speedx/speedy. I even made the boids change the hue based on that rotation so it looks like they're colored based on their groupings
@griffpatch
@griffpatch Жыл бұрын
So cool
@Cofeinny
@Cofeinny Жыл бұрын
I've been looking for this for so long! thank you grifpatch
@griffpatch
@griffpatch Жыл бұрын
Np
@weegie3343
@weegie3343 Жыл бұрын
great tutorial! And very concise! next, can you do a follow up on the terrain generation video? Maybe tackling crafting or inventory stuff?
@TylerTolander
@TylerTolander Жыл бұрын
I really wish you could choose which layer you were stamping on so certain pen effects could be viewed over other sprites.
@hmmm5752
@hmmm5752 Жыл бұрын
Just hide the sprie and do forever stamp and then you can draw over it :D
@snakeoviper249
@snakeoviper249 Жыл бұрын
wow this helped me a lot in my new game - i didnt know how to fade pen sprites + my game is scrolling
@creeperdoesredstone
@creeperdoesredstone Жыл бұрын
1:58 If you are using the white background, you can use the 'Change brightness effect by 10' block if you don't want the effect.
@win_ini
@win_ini Жыл бұрын
black background works almost exactly the same, except you need to change by -10
@abosarry6102
@abosarry6102 8 ай бұрын
@@win_ini0:20 griffpatch is says forever not for-ever!
@bacon-sandwich2010
@bacon-sandwich2010 Жыл бұрын
thank! it's helpful! keep it up! ^-^
@johannsegovia6267
@johannsegovia6267 Жыл бұрын
thank you so much i watch many of your videos and it helps me a ton
@mh2580
@mh2580 2 ай бұрын
Thanks for the tutorial man! This helped a lot in most of my projects
@pessskychaos4874
@pessskychaos4874 Жыл бұрын
Very smart, thanks a ton griffpatch!
@Iminsanealr
@Iminsanealr Жыл бұрын
This is very simple! But very very SATISFYING!
@_KDP
@_KDP Жыл бұрын
these tutorials are amazing! (obviously, you ARE the number 1 scratcher ;) )
@imasdew-fnejkw
@imasdew-fnejkw 10 ай бұрын
Woah your channel has grown a lot!
@Milan12234
@Milan12234 Жыл бұрын
Amazing! Btw I will today or tomorow become a channel member!
@griffpatch
@griffpatch Жыл бұрын
Wow that would be amazing!
@lego_man_epic
@lego_man_epic Жыл бұрын
on Monday I made the exact same thing and I had no idea griffpatch was gonna do this :D
@griffpatch
@griffpatch Жыл бұрын
He he :) nice
@elijahthesponcore7534
@elijahthesponcore7534 Жыл бұрын
THANK YOU!!! I WAS HAVING SO MUCH TROUBLE WITH A FADE BY PEN THING I WAS TRYING TO DO!!!
@Username-mp8jl
@Username-mp8jl Жыл бұрын
Very nice it made my game a lot better
@idiot_from_nowhere9272
@idiot_from_nowhere9272 Жыл бұрын
now for the rpg i cant wait. i was starting to make an rpg with clone tiles but then i saw that your making one so i may aswell take some of your tutorial. also can you please upload the projects on scratch so we can backpack it if we dont have enough time to make it ourselves
@TechArtsWithEli
@TechArtsWithEli Жыл бұрын
That's cool, I learn something more for my starting scratch.
@Jachii9
@Jachii9 Жыл бұрын
heh, i actually figured this one out before this tutorial, i saw that the boids used pen for the trails, and the first thing that popped into my mind about how to fade pen was to then overlay a transparent pen dot with a ridiculous size, altho i didnt think of stamping a black screen. Very clever! btw the project that im referencing is called Griffpatch’s Boids AI, its in the scratch studio ;)
@Jellyjam14blas
@Jellyjam14blas Жыл бұрын
Awesome! The fade solution is so simple yet so brilliant, the only downsides I can see is that you can add extra effects like shrinking and color change, etc. And you can't have complex backgrounds. I have a really strange idea, instead of using a single solid color for the fading, what if a small sprite moved across the screen stamping/penning based on the detected color at that location? That way you could have a detailed background & trails! I'm not proficient enough to make it though, but if any smart scratchers out there are looking for a challenge! If anyone does attempt to make something like this please reply with a link whether it works or not! :D
@Super_IronMan
@Super_IronMan Жыл бұрын
you could have complex backgrounds by just making the fader sprite the background i think, but if there are sprites you also want to fade out to then yes, that would be the only option. Check out the colour scanner tutorial he made for a way to do that ( kzbin.info/www/bejne/aZ3dYqGvobp7n7s )
@tiash_dev
@tiash_dev Жыл бұрын
:( not me
@wiseowl83
@wiseowl83 Жыл бұрын
You could solve this by making multiple costumes of the fader Sprite
@piedoge5976
@piedoge5976 Жыл бұрын
you can also make the trail look cooler by adding a change color effect by 10 block into the custom fade over frames block
@koji4884
@koji4884 Жыл бұрын
I’m learning javascript and i’m excited to see what i can do!
@StrawberryBunnyCake.
@StrawberryBunnyCake. Жыл бұрын
Thanks! This will help in future projects!
@griffpatch
@griffpatch Жыл бұрын
Hope so!
@The_octogamer
@The_octogamer Жыл бұрын
Another great and useful vidéo thanks griffpatch you are the best
@Twin138956Productions2019
@Twin138956Productions2019 Жыл бұрын
Really love this. :)
@GamingChair9482
@GamingChair9482 Жыл бұрын
thx for the tutorial. It really make my boids simulation project a lot better.
@KiewieGames
@KiewieGames Жыл бұрын
Can you make for example a “10 scripts that visually spice up your projects” video. I, and probably other people, would love to see this.
@kacpersztejna8303
@kacpersztejna8303 Жыл бұрын
In the script for fader sprite you used the stamp block inside the forever loop. The conclusion is that the loops in Scratch work with a certain delay, because the cat trails are visible.
@griffpatch
@griffpatch Жыл бұрын
Yes indeed - A repeat loop outside of a "run without screen refresh" will always pause for the screen to update before looping back around. That's 1/30th of a second
@JMS-ji3qp
@JMS-ji3qp 11 ай бұрын
Thanks for tutorial! Nice!
@shahidrasool1414
@shahidrasool1414 Жыл бұрын
Brilliant tutorial, thank you.
@igorfire13
@igorfire13 Жыл бұрын
This guy is literally can do and solve anything.
@CoolRubiksCube
@CoolRubiksCube Жыл бұрын
I never would have thought of that, although I perhaps should have!
@Jesus...Christ
@Jesus...Christ 10 ай бұрын
thank you for the tutorial!
@anjponni
@anjponni 4 ай бұрын
hey i just have to say that this tutorial is very useful and that ghost part around 1;48 you can choose pixel which does something insane
@malachaitownsend272
@malachaitownsend272 Жыл бұрын
wow another awsome tutorial :D
@brokenbloxyt
@brokenbloxyt Жыл бұрын
thank you so much i love your videos you help me alot with coding
@griffpatch
@griffpatch Жыл бұрын
No problem :)
@lemmy15yt
@lemmy15yt Жыл бұрын
I wanted to make a trail of eggs that follows Yoshi around like the original games, so I'll make good use out of this one.
@adamyamg7975
@adamyamg7975 Жыл бұрын
great, this helped me a lot
@sonic176yt7
@sonic176yt7 Жыл бұрын
My guy is a legend in the scratch community
@forgedinfaithfarmboys8092
@forgedinfaithfarmboys8092 Жыл бұрын
I seen the studio yesterday, so I could tell the future!
@demoblunt181
@demoblunt181 Жыл бұрын
nice video griffpatch!, i will like to see a video that explain about your ragdoll project and how everything there works
@z00ber54
@z00ber54 Жыл бұрын
there is a much simpler way to extend the amount of clones on the trail. all you need to do is go to the repeat 10 loop and change the number 10 to however many clones you want to include in the trail.
@NiceGames150
@NiceGames150 Жыл бұрын
Amazing Tutorial!
@tabb3677
@tabb3677 Жыл бұрын
Thanks, griff for making this video
@user-hs3rw1uc6t
@user-hs3rw1uc6t Жыл бұрын
Hey griffpatch is it possible to make customkeyboard combination? (and will you ever going to release the book?)
@someonenamedgreen
@someonenamedgreen Жыл бұрын
Bro this is really cool. Also, i like more clones, because they can be deleted by One by One, but the stampings no.
@villeolof2000
@villeolof2000 Жыл бұрын
The trails were also featured in your project "Orbital Velocity v0.2f"!
@nonexistence00
@nonexistence00 Жыл бұрын
Missed opportunity to make this tutorial while using the mouse trail thing :)
@CoolRubiksCube
@CoolRubiksCube Жыл бұрын
That looks pretty cool
@yz2949
@yz2949 3 ай бұрын
hi griffpatch, i've been following your tutorials for a wihle now and i'm working on this platformer game on scratch (though im still a beginner), and i've been wondering if you could make a tutorial on how to make a tail of some sorts onto an enemy AI that could either follow you or follow a certain path (similar to how you did on your snail game) (if you decide to make one you can choose which you want to make a tutorial about), i've seen how other people do it and they all do it with pen, but have jumbles of other code that i can't follow, so maybe you can make one so it'd be easy to follow?
@PenguinBuster0725
@PenguinBuster0725 Жыл бұрын
Yo griifpatch you’re the person who inspired me made Me a man tysm
@artubevibes12
@artubevibes12 Жыл бұрын
THANKS FOR THE AMAZING TUTORIAL griffpatch
@griffpatch
@griffpatch Жыл бұрын
Glad you liked it!
@GooseOnoob
@GooseOnoob Жыл бұрын
I made the trail effect in the boids project before this video even released, with the same technique!
@datoto01
@datoto01 Жыл бұрын
I remember that I was done it before in a project that has a ball bouncing with a super high speed.
@titilayoibazebo6178
@titilayoibazebo6178 9 ай бұрын
I love your tutorials
@rapid_sivel
@rapid_sivel Жыл бұрын
can you do a video explains how some complex blocks work like maths opertators and custom blocks/variables that are more complex ☺️
@halfbraincelled
@halfbraincelled Жыл бұрын
this is awesome!
@dhiyak.s5611
@dhiyak.s5611 Жыл бұрын
hey griffpatch about that last time i told u about that spider boss it cant be backpackble? u said
@-andye-5515
@-andye-5515 Жыл бұрын
griffpatch shows ordinary things from an unusual side!
@YouthExploreStudy
@YouthExploreStudy Жыл бұрын
Awesome tutorial!!! But I found a problem sometimes on devices, such as Mac, you sometimes see the tail left from the trails.
@waterylemon6880
@waterylemon6880 Жыл бұрын
Hey Griffpatch! I am currently working on an RPG game on Scratch and your Devlogs have been really useful for me! It would be really interesting to get some tutorials for rpgs! Kind of like the Mario game! No pressure though! It's just a thought and I would really appreciate it if you do so but it's still your choice and you don't have to do it! :D
@caseyyeow1649
@caseyyeow1649 Жыл бұрын
He's working on it right now.
@Lukex305
@Lukex305 Жыл бұрын
Can you please make a tutorial on how to make appel. Ik it will be a really long series but please it will mean a lot.
@Richard_Nixon-mr6rq
@Richard_Nixon-mr6rq Жыл бұрын
I don’t think I ever would of thought of that! I would of overcomplicated things by keeping list values of previous trails and stamp them all each tick…
@Resseguie
@Resseguie Жыл бұрын
That was my initial thought too when I was trying to guess how he'd accomplish it.
@Farleigh1050
@Farleigh1050 Жыл бұрын
my thought was that it wasnt even possible in the first place
@thewhiteassassin4473
@thewhiteassassin4473 Жыл бұрын
Griffpatch how can I press buttons or sprites with the mouse? Because the mouse trail blocks the mouse from clicking other sprites. Is there a code to make the trail fade away when the mouse isn't moving? And make the trail come back when it moves again?
@imasdew-fnejkw
@imasdew-fnejkw 10 ай бұрын
You sound like Mumbo Jumbo sounds when he's doing redstone tutorials (that's meant to be a compliment btw)
@jaisuryaprasad318
@jaisuryaprasad318 Жыл бұрын
Hey griffpatch, Can you tell how you have your backpack so can also use it
@SUSUS22641
@SUSUS22641 Жыл бұрын
Hey I was wondering if I was to use Turbowarp I can use infection clones then I could use the clones right?
@SniperReaper10
@SniperReaper10 Жыл бұрын
ive made a quick version that looks smoother with bigger gaps and also a green trail that follows instead of the cat repeating
@armortampubolon1916
@armortampubolon1916 8 ай бұрын
Is it possible to make the trails effect on a top down scroller ? it could be useful for a top down scroller game. and it was a cool vid btw
@tabb3677
@tabb3677 Жыл бұрын
Hey Griff, Are you continuing your RPG devlog and the tutorial series or did you end it?
@griffpatch
@griffpatch Жыл бұрын
Continuing
@dagreenboi
@dagreenboi Жыл бұрын
This is as satisfying as an satisfying thing indeed satisfying
Health Bars Reimagined 💥 No Pen...?!? 👍 Scratch Tutorial
17:26
СНЕЖКИ ЛЕТОМ?? #shorts
00:30
Паша Осадчий
Рет қаралды 7 МЛН
TRY NOT TO LAUGH 😂
00:56
Feinxy
Рет қаралды 21 МЛН
Climbing to 18M Subscribers 🎉
00:32
Matt Larose
Рет қаралды 35 МЛН
Balloon Stepping Challenge: Barry Policeman Vs  Herobrine and His Friends
00:28
Code AI Swarms, Flocks & Hordes | Boids Scratch Tutorial
35:22
griffpatch
Рет қаралды 248 М.
NEVER DO this on SCRATCH ! | EP 3
10:55
SL Smart Mind
Рет қаралды 1,2 МЛН
How to make Physics in Scratch | Full Tutorial
21:21
griffpatch
Рет қаралды 1,2 МЛН
I Made a Zero Player Game
12:30
Sam Hogan
Рет қаралды 10 МЛН
Simple Pathfinding Tutorial
23:36
griffpatch
Рет қаралды 652 М.
6 Developers make a Scratch Game Without Communicating
15:00
Jackson Academy
Рет қаралды 142 М.
NEVER DO this on SCRATCH ! | EP 5
7:30
SL Smart Mind
Рет қаралды 75 М.
I Made a Scratch GAME In Only ONE Sprite
6:47
ZonxScratch
Рет қаралды 551 М.
Scratch has been hiding blocks from us........
5:59
TheKrazyDev
Рет қаралды 45 М.
Finally! We have "Stretchy Sprites" in Scratch - Full Tutorial
21:43
СНЕЖКИ ЛЕТОМ?? #shorts
00:30
Паша Осадчий
Рет қаралды 7 МЛН