EPIC SPRITE TRAILS | Easy Coding Tutorial to Spice up your Game
HTML-код
- Опубликовано: 14 июл 2024
- 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
I love how 99% of RUclipsrs 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
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
also works if you put another colour i put black and it worked
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
I feel like this would fit in well with a sonic or crash Bandicoot game
Especially for Super/Hyper Sonic
@Percy G Exactly!
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.
This will be a great feature to my game. Thx for posting
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
It's nice to see you posting more often!!
This is just really clever and simple, I never thought of this method for the fade effect!
OOOOH i've been waiting for this tutorial for YEARS
Another great tutorial! Also, congrats on 400K!
Hello fellow scratchers is a very great intro to the video!! Another helpful video, please make more!!
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
great! I will use the functios with the stamping in my platformers now! Thank you very much for the tutorial! :D
This is epic! Can't wait to add some to my projects :) Thanks griffpatch
This is really helpful! Tysm for the tutorial!
Thank you griffpatch! I now have a trail for my game!
I love how he always give explanation about what he does.
Love the tutorials. You made me a better programmer! 👍
Great to hear!
@@griffpatch same
Thanks for the tutorial man! This helped a lot in most of my projects
I have been pondering this for ages and now I can make it happen
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
I Love the Tutorial it can be really cool for fast games. (^Please make more Tutorials I'm excited^)
Thank you for helping me make a trail because I’ve been trying to do it for a while
This was extremely helpful when i was making a trail in your lemenoid video
I've been looking for this for so long! thank you grifpatch
Np
Your videos are always helpful!
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 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!
thx for the tutorial. It really make my boids simulation project a lot better.
Very smart, thanks a ton griffpatch!
This is very simple! But very very SATISFYING!
these tutorials are amazing! (obviously, you ARE the number 1 scratcher ;) )
on Monday I made the exact same thing and I had no idea griffpatch was gonna do this :D
He he :) nice
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 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 ;)
Thanks for tutorial! Nice!
That's cool, I learn something more for my starting scratch.
My guy is a legend in the scratch community
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
great tutorial! And very concise!
next, can you do a follow up on the terrain generation video? Maybe tackling crafting or inventory stuff?
Very nice it made my game a lot better
thank! it's helpful! keep it up! ^-^
Amazing! Btw I will today or tomorow become a channel member!
Wow that would be amazing!
wow this helped me a lot in my new game - i didnt know how to fade pen sprites + my game is scrolling
Thanks, griff for making this video
thank you so much i love your videos you help me alot with coding
No problem :)
That looks pretty cool
Another great and useful vidéo thanks griffpatch you are the best
Thanks! This will help in future projects!
Hope so!
Amazing Tutorial!
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 never would have thought of that, although I perhaps should have!
Brilliant tutorial, thank you.
This guy is literally can do and solve anything.
I’m learning javascript and i’m excited to see what i can do!
THANK YOU!!! I WAS HAVING SO MUCH TROUBLE WITH A FADE BY PEN THING I WAS TRYING TO DO!!!
this is awesome!
wow another awsome tutorial :D
great, this helped me a lot
Woah your channel has grown a lot!
I love your tutorials
I seen the studio yesterday, so I could tell the future!
Thanks Griffpatch!!
nice video griffpatch!, i will like to see a video that explain about your ragdoll project and how everything there works
Yo griifpatch you’re the person who inspired me made Me a man tysm
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 ( ruclips.net/video/3lz1nylUHiY/видео.html )
:( not me
You could solve this by making multiple costumes of the fader Sprite
griffpatch shows ordinary things from an unusual side!
Really love this. :)
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
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.
This is as satisfying as an satisfying thing indeed satisfying
you can also make the trail look cooler by adding a change color effect by 10 block into the custom fade over frames block
Thank you Griffpatch
THANKS FOR THE AMAZING TUTORIAL griffpatch
Glad you liked it!
awesome!
Missed opportunity to make this tutorial while using the mouse trail thing :)
Griffpatch :So... without further ado, I'll show you!
Subtitles:So.......without further adieu, I'll show you!
Thanks a lot scratch king
Wohoo! Another coding tutorial!!!
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.
my coding TURBOED Up now 😀
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 made the trail effect in the boids project before this video even released, with the same technique!
I remember that I was done it before in a project that has a ball bouncing with a super high speed.
Thank you griffpatch
I like your ideas :))
i love your videos bcz the players playing my games think that i look like u
bcz=because
u=you
this is really helpfull
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
i make screen saver for fun this will help me Thanks! 😄
underrated youtuber
Wow trails!!
And finally, my boid project is done
@@rubixsnakexgame3741 You can edit the comment.
@@caseyyeow1649 oh ok thanks
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.
I 😻your scratch tutorials series, 👍👍👍👍👍👍👍👍👍👍👍
AMAZING!
GRIFFPATCH YOU INSPIRED ME TO BE A CODER!
Nice!
@@griffpatch OMG YOU RESPONDED!
YOU MADE MY DAY!!!!!!!! :)
Awesome.