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

Комментарии • 520

  • @arandomorange
    @arandomorange Год назад +36

    I love how 99% of RUclipsrs start with 'Without further ado'. Also, when you enable Subtitles, it says 'adieu', which means goodbye LOL.

  • @surlo69
    @surlo69 Год назад +6

    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 Год назад +16

    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  Год назад +8

      Wow cool

    • @frenzy9102
      @frenzy9102 Месяц назад

      also works if you put another colour i put black and it worked

  • @nitrous5139
    @nitrous5139 Год назад +25

    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 10 месяцев назад

      i cant believe how long its been

    • @SametKaratas0
      @SametKaratas0 6 месяцев назад

      O

  • @DanielHCassidy
    @DanielHCassidy Год назад +27

    I feel like this would fit in well with a sonic or crash Bandicoot game

    • @NeoCaeky
      @NeoCaeky Год назад +4

      Especially for Super/Hyper Sonic

    • @NeoCaeky
      @NeoCaeky Год назад +1

      @Percy G Exactly!

  • @gceceditsstuff
    @gceceditsstuff Год назад +35

    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 Год назад +2

      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.

  • @occrazy8
    @occrazy8 Год назад +4

    This will be a great feature to my game. Thx for posting

  • @shinyian82
    @shinyian82 Год назад +3

    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

  • @lightbeam6056
    @lightbeam6056 Год назад +1

    It's nice to see you posting more often!!

  • @onyxtautuhi3473
    @onyxtautuhi3473 Год назад

    This is just really clever and simple, I never thought of this method for the fade effect!

  • @ticyyy2336
    @ticyyy2336 Год назад +2

    OOOOH i've been waiting for this tutorial for YEARS

  • @NITRO_PRO
    @NITRO_PRO Год назад +1

    Another great tutorial! Also, congrats on 400K!

  • @melon9089
    @melon9089 Год назад +12

    Hello fellow scratchers is a very great intro to the video!! Another helpful video, please make more!!

  • @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

  • @revelnic
    @revelnic Год назад

    great! I will use the functios with the stamping in my platformers now! Thank you very much for the tutorial! :D

  • @Phillip_Anatra
    @Phillip_Anatra Год назад

    This is epic! Can't wait to add some to my projects :) Thanks griffpatch

  • @caramelmilk1826
    @caramelmilk1826 Год назад +1

    This is really helpful! Tysm for the tutorial!

  • @AHappyFace_RBLX
    @AHappyFace_RBLX Год назад +2

    Thank you griffpatch! I now have a trail for my game!

  • @littlespark0
    @littlespark0 Год назад +1

    I love how he always give explanation about what he does.

  • @WaterhouseFishing
    @WaterhouseFishing Год назад +10

    Love the tutorials. You made me a better programmer! 👍

  • @mh2580
    @mh2580 2 месяца назад

    Thanks for the tutorial man! This helped a lot in most of my projects

  • @heatherwheatley2905
    @heatherwheatley2905 Год назад

    I have been pondering this for ages and now I can make it happen

  • @Resseguie
    @Resseguie Год назад +25

    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  Год назад +6

      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

  • @-_-MichaelMike-_-
    @-_-MichaelMike-_- Год назад

    I Love the Tutorial it can be really cool for fast games. (^Please make more Tutorials I'm excited^)

  • @nicotitan7834
    @nicotitan7834 Год назад

    Thank you for helping me make a trail because I’ve been trying to do it for a while

  • @mariotasticgamingMARIO
    @mariotasticgamingMARIO Год назад +1

    This was extremely helpful when i was making a trail in your lemenoid video

  • @Cofeinny
    @Cofeinny Год назад

    I've been looking for this for so long! thank you grifpatch

  • @sansanbanana4397
    @sansanbanana4397 Год назад

    Your videos are always helpful!

  • @creeperdoesredstone
    @creeperdoesredstone Год назад +9

    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 Год назад +1

      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!

  • @WanderingTraderer
    @WanderingTraderer Год назад +2

    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!

  • @GamingChair9482
    @GamingChair9482 Год назад

    thx for the tutorial. It really make my boids simulation project a lot better.

  • @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 ;) )

  • @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

  • @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 :)

  • @Jesus...Christ
    @Jesus...Christ 11 месяцев назад

    thank you for the tutorial!

  • @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 ;)

  • @JMS-ji3qp
    @JMS-ji3qp 11 месяцев назад

    Thanks for tutorial! Nice!

  • @TechArtsWithEli
    @TechArtsWithEli Год назад

    That's cool, I learn something more for my starting scratch.

  • @sonic176yt7
    @sonic176yt7 Год назад +1

    My guy is a legend in the scratch community

  • @anjponni
    @anjponni 5 месяцев назад

    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

  • @weegie3343
    @weegie3343 Год назад +1

    great tutorial! And very concise!
    next, can you do a follow up on the terrain generation video? Maybe tackling crafting or inventory stuff?

  • @Username-mp8jl
    @Username-mp8jl Год назад

    Very nice it made my game a lot better

  • @bacon-sandwich2010
    @bacon-sandwich2010 Год назад +1

    thank! it's helpful! keep it up! ^-^

  • @Milan12234
    @Milan12234 Год назад +1

    Amazing! Btw I will today or tomorow become a channel member!

    • @griffpatch
      @griffpatch  Год назад +1

      Wow that would be amazing!

  • @snakeoviper249
    @snakeoviper249 Год назад

    wow this helped me a lot in my new game - i didnt know how to fade pen sprites + my game is scrolling

  • @tabb3677
    @tabb3677 Год назад

    Thanks, griff for making this video

  • @brokenbloxyt
    @brokenbloxyt Год назад

    thank you so much i love your videos you help me alot with coding

  • @CoolRubiksCube
    @CoolRubiksCube Год назад

    That looks pretty cool

  • @The_octogamer
    @The_octogamer Год назад

    Another great and useful vidéo thanks griffpatch you are the best

  • @StrawberryBunnyCake.
    @StrawberryBunnyCake. Год назад

    Thanks! This will help in future projects!

  • @NiceGames150
    @NiceGames150 Год назад

    Amazing Tutorial!

  • @oso_lacion
    @oso_lacion Год назад +4

    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

  • @CoolRubiksCube
    @CoolRubiksCube Год назад

    I never would have thought of that, although I perhaps should have!

  • @shahidrasool1414
    @shahidrasool1414 Год назад

    Brilliant tutorial, thank you.

  • @igorfire13
    @igorfire13 Год назад +1

    This guy is literally can do and solve anything.

  • @koji4884
    @koji4884 Год назад

    I’m learning javascript and i’m excited to see what i can do!

  • @elijahthesponcore7534
    @elijahthesponcore7534 Год назад

    THANK YOU!!! I WAS HAVING SO MUCH TROUBLE WITH A FADE BY PEN THING I WAS TRYING TO DO!!!

  • @halfbraincelled
    @halfbraincelled Год назад

    this is awesome!

  • @malachaitownsend272
    @malachaitownsend272 Год назад +1

    wow another awsome tutorial :D

  • @adamyamg7975
    @adamyamg7975 Год назад

    great, this helped me a lot

  • @Mustard-bc-why-not
    @Mustard-bc-why-not 10 месяцев назад

    Woah your channel has grown a lot!

  • @titilayoibazebo6178
    @titilayoibazebo6178 9 месяцев назад

    I love your tutorials

  • @forgedinfaithfarmboys8092
    @forgedinfaithfarmboys8092 Год назад

    I seen the studio yesterday, so I could tell the future!

  • @JustAnKangaLover
    @JustAnKangaLover Год назад

    Thanks Griffpatch!!

  • @demoblunt181
    @demoblunt181 Год назад

    nice video griffpatch!, i will like to see a video that explain about your ragdoll project and how everything there works

  • @PenguinBuster0725
    @PenguinBuster0725 Год назад

    Yo griifpatch you’re the person who inspired me made Me a man tysm

  • @Jellyjam14blas
    @Jellyjam14blas Год назад +2

    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 Год назад +1

      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 )

    • @tiash_dev
      @tiash_dev Год назад

      :( not me

    • @wiseowl83
      @wiseowl83 Год назад

      You could solve this by making multiple costumes of the fader Sprite

  • @-andye-5515
    @-andye-5515 Год назад +1

    griffpatch shows ordinary things from an unusual side!

  • @Twin138956Productions2019
    @Twin138956Productions2019 Год назад +1

    Really love this. :)

  • @TylerTolander
    @TylerTolander Год назад +6

    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

  • @KiewieGames
    @KiewieGames Год назад +2

    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.

  • @dagreenboi
    @dagreenboi Год назад

    This is as satisfying as an satisfying thing indeed satisfying

  • @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

  • @graysonwaskewitchpeck1168
    @graysonwaskewitchpeck1168 Год назад

    Thank you Griffpatch

  • @artubevibes12
    @artubevibes12 Год назад

    THANKS FOR THE AMAZING TUTORIAL griffpatch

  • @thethree13o
    @thethree13o Год назад

    awesome!

  • @nonexistence00
    @nonexistence00 Год назад

    Missed opportunity to make this tutorial while using the mouse trail thing :)

  • @ragavaviraji4094
    @ragavaviraji4094 7 месяцев назад

    Griffpatch :So... without further ado, I'll show you!
    Subtitles:So.......without further adieu, I'll show you!

  • @syloanimates
    @syloanimates Год назад

    Thanks a lot scratch king

  • @romi_wri
    @romi_wri Год назад

    Wohoo! Another coding tutorial!!!

  • @lemmy15yt
    @lemmy15yt Год назад +1

    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.

  • @raunakqg
    @raunakqg Год назад

    my coding TURBOED Up now 😀

  • @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

  • @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 месяцев назад

    Thank you griffpatch

  • @xdmoonxx
    @xdmoonxx Год назад +1

    I like your ideas :))

  • @minecarts3322
    @minecarts3322 Год назад

    i love your videos bcz the players playing my games think that i look like u

  • @user-ew9vh1nq6l
    @user-ew9vh1nq6l 11 месяцев назад

    this is really helpfull

  • @kacpersztejna8303
    @kacpersztejna8303 Год назад +1

    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  Год назад +1

      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

  • @1977606
    @1977606 3 месяца назад

    i make screen saver for fun this will help me Thanks! 😄

  • @chrismcdonald3588
    @chrismcdonald3588 Год назад

    underrated youtuber

  • @SparrowTutorialsFun
    @SparrowTutorialsFun Год назад

    Wow trails!!

  • @rubixsnakexgame3741
    @rubixsnakexgame3741 Год назад

    And finally, my boid project is done

  • @z00ber54
    @z00ber54 Год назад +1

    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.

  • @vtcomics365
    @vtcomics365 Год назад

    I 😻your scratch tutorials series, 👍👍👍👍👍👍👍👍👍👍👍

  • @RhinoDudeWozz
    @RhinoDudeWozz Год назад +1

    AMAZING!

    • @RhinoDudeWozz
      @RhinoDudeWozz Год назад

      GRIFFPATCH YOU INSPIRED ME TO BE A CODER!

    • @griffpatch
      @griffpatch  Год назад

      Nice!

    • @RhinoDudeWozz
      @RhinoDudeWozz Год назад

      @@griffpatch OMG YOU RESPONDED!
      YOU MADE MY DAY!!!!!!!! :)

  • @CarsonDog8
    @CarsonDog8 Год назад

    Awesome.