EPIC SPRITE TRAILS | Easy Coding Tutorial to Spice up your Game
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.
⭐ Support this channel - Join to get access to perks:
/ @griffpatch
🐱 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
I love how 99% of KZheadrs start with 'Without further ado'. Also, when you enable Subtitles, it says 'adieu', which means goodbye LOL.
lol
Lol hahaha
Bruhhhhhhh
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
I feel like this would fit in well with a sonic or crash Bandicoot game
Especially for Super/Hyper Sonic
@Percy G Exactly!
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).
Wow cool
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
i cant believe how long its been
O
This is just really clever and simple, I never thought of this method for the fade effect!
This will be a great feature to my game. Thx for posting
Another great tutorial! Also, congrats on 400K!
Hello fellow scratchers is a very great intro to the video!! Another helpful video, please make more!!
great tutorial! And very concise! next, can you do a follow up on the terrain generation video? Maybe tackling crafting or inventory stuff?
It's nice to see you posting more often!!
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
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!
Woah your channel has grown a lot!
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...
A EDITOR!
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.
OOOOH i've been waiting for this tutorial for YEARS
Thanks for the tutorial man! This helped a lot in most of my projects
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...
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
@@griffpatch it said scratch email not exist
@@griffpatchwhy are my clones following the character
great! I will use the functios with the stamping in my platformers now! Thank you very much for the tutorial! :D
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)!
Yes, that was a great help to me too when I worked it out :)
Thank you griffpatch! I now have a trail for my game!
thank you for the tutorial!
This is really helpful! Tysm for the tutorial!
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 ;)
Love the tutorials. You made me a better programmer! 👍
Great to hear!
@@griffpatch same
I Love the Tutorial it can be really cool for fast games. (^Please make more Tutorials I'm excited^)
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.
black background works almost exactly the same, except you need to change by -10
@@win_ini0:20 griffpatch is says forever not for-ever!
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
So cool
I love how he always give explanation about what he does.
This is epic! Can't wait to add some to my projects :) Thanks griffpatch
Thank you for helping me make a trail because I’ve been trying to do it for a while
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.
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
I have been pondering this for ages and now I can make it happen
you can also make the trail look cooler by adding a change color effect by 10 block into the custom fade over frames block
I've been looking for this for so long! thank you grifpatch
Np
Your videos are always helpful!
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
I really wish you could choose which layer you were stamping on so certain pen effects could be viewed over other sprites.
Just hide the sprie and do forever stamp and then you can draw over it :D
This was extremely helpful when i was making a trail in your lemenoid video
these tutorials are amazing! (obviously, you ARE the number 1 scratcher ;) )
thank you so much i watch many of your videos and it helps me a ton
This is very simple! But very very SATISFYING!
THANK YOU!!! I WAS HAVING SO MUCH TROUBLE WITH A FADE BY PEN THING I WAS TRYING TO DO!!!
nice video griffpatch!, i will like to see a video that explain about your ragdoll project and how everything there works
I love your tutorials
wow this helped me a lot in my new game - i didnt know how to fade pen sprites + my game is scrolling
The trails were also featured in your project "Orbital Velocity v0.2f"!
thx for the tutorial. It really make my boids simulation project a lot better.
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.
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
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 ( kzhead.info/sun/ZtCzYdKxo4d-nJE/bejne.html )
:( not me
You could solve this by making multiple costumes of the fader Sprite
this is really helpfull
Another great and useful vidéo thanks griffpatch you are the best
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
on Monday I made the exact same thing and I had no idea griffpatch was gonna do this :D
He he :) nice
Brilliant tutorial, thank you.
Very smart, thanks a ton griffpatch!
Thanks for tutorial! Nice!
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.
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
Amazing! Btw I will today or tomorow become a channel member!
Wow that would be amazing!
Bro this is really cool. Also, i like more clones, because they can be deleted by One by One, but the stampings no.
That's cool, I learn something more for my starting scratch.
I made the trail effect in the boids project before this video even released, with the same technique!
Thanks! This will help in future projects!
Hope so!
I’m learning javascript and i’m excited to see what i can do!
Amazing Tutorial!
Hey griffpatch is it possible to make customkeyboard combination? (and will you ever going to release the book?)
thank! it's helpful! keep it up! ^-^
Thanks, griff for making this video
This is so cool I wanted to have a trail in scratch 10/10 video
thank you so much i love your videos you help me alot with coding
No problem :)
You sound like Mumbo Jumbo sounds when he's doing redstone tutorials (that's meant to be a compliment btw)
I never would have thought of that, although I perhaps should have!
I seen the studio yesterday, so I could tell the future!
Really love this. :)
I remember that I was done it before in a project that has a ball bouncing with a super high speed.
can you do a video explains how some complex blocks work like maths opertators and custom blocks/variables that are more complex ☺️
Missed opportunity to make this tutorial while using the mouse trail thing :)
wow another awsome tutorial :D
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.
can you make a video on how to add this into a scrolling game?
this is awesome!
Very nice it made my game a lot better
Awesome tutorial!!! But I found a problem sometimes on devices, such as Mac, you sometimes see the tail left from the trails.
great, this helped me a lot
That looks pretty cool
Thanks Griffpatch!!
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.
My guy is a legend in the scratch community
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?
If we combine this with some lists we can record how to play the project for some enemy ai, editor improvement or an in-game tutorial 🤔
Yo griifpatch you’re the person who inspired me made Me a man tysm
Thank you griffpatch
THANKS FOR THE AMAZING TUTORIAL griffpatch
Glad you liked it!
hey griffpatch about that last time i told u about that spider boss it cant be backpackble? u said
This guy is literally can do and solve anything.
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
He's working on it right now.
griffpatch shows ordinary things from an unusual side!
how do u make it so the trail is a line that fades
ive made a quick version that looks smoother with bigger gaps and also a green trail that follows instead of the cat repeating