Health Bars Reimagined đ„ No Pen...?!? đ Scratch Tutorial
VloĆŸit
- Äas pĆidĂĄn 10. 07. 2024
- In this tutorial we will talk about a clever new technique for creating Silky Smooth Health Bars in Scratch using a sprite & a clone, no pen or stamping required, and with only 3 costumes! This results in a superbly usable health bar with none of the limitations of the costume based method. Learn to code like a pro with this easy to follow Scratch tutorial. Super fun, super efficient, and super effective! Helping you make games that look amazing :) Scratch Health Bars for the win!
đ 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 Episode
scratch.mit.edu/studios/32274...
------------- Video Chapters -------------
00:00 Intro
00:43 How it works
01:43 Sponsor
03:21 Let's make this
04:53 Draw a half filled health bar
06:39 Coding the Base Health Bar
07:24 Funky sliding health sprite costumes
08:48 Health Bar Clone
11:07 Making the Health Bar Move
13:16 Cycling Colour with the Health - Green, Orange, Red
14:47 Issues
16:25 Outro
I love how griffpatch gives so much energy and time into his video that 6:43 he renames "base" with "base"
He accidentally change it beforehand
But everyone doesn't
so he has to rename it again
XD that is hallarious
L O L
LOL!
6:40
No one has watched this video to the end yet, but everyone knows that it will be wonderful
This is a creative comment
@@starbeam7679 yea
I have on 2x
@Chicken BockBock222 me too
@@bhaktabasnet7132 me three
Kudos to Griffpatch for finally having a sponsor!
Yea but it's raid :(
Kudos to him??
@@jackatk it means compliments or congratulations
@@jake_oshea15 So what if its raid? I know alot of youtubers use the sponsor, but its no different from any other. Sponsors really motivate creators to continue making content and it really supports them.
@@calmguitar8530 nah its just the meme.
Am I the only one here who noticed the ââFillââ color turning into ââGuyââ from the plateformer tutorial at 5:06? I love this kind of detail, itâs really nice !
I did too!
I did too, and I thought I was either going crazy or he had a modified version of Scratch until it turned back into the regular color.
I found it too!
Same, its neat fr
I found it too!
Congrats on the sponsor! I'm glad you're getting something in return for making your tutorials, you deserve it!
Thanks so much!!
@@griffpatch Griffpatch i did not expect this from you.Raid is f--king 9+
@@lzr_music swears are 18+
@@Superfastisfast yup,not in our country.i know a girl that knows all swear words of 3 languagesâč
@@Superfastisfast the worst is not that at all.he also knows the d wordđ
I think it would be a cool idea to make a tutorial for unique enemy AI.
I have made some games that require lots of AI (some more complex than others), my newest AI design is the most difficult.
not for my own sake but I think it would be cool to see what kind of enemy AI you can develop, removing that robotic feel. such as they follow you until you're out of view/get stuck/get captured.
Edit: if anyone is curious the hard AI I'm making is similar to the gargutron nextbot.
Yesssss
Perhaps a "boid pt2" type video
If itâs a platformer, @dkuniverse has a pretty good so tutorial
he has check his platformer series
I made 3 bosses (by myself) with pretty basic movement patterns in my basic platformer game
The thing that i love about griffpatch is that the code can be used in any project
The quick rundown on how it worked at the beginning was really nice. It let me think of how I could remake it without watching the rest of the video. Which made it even cooler to find out how you put it together
Glad you liked it! - That is what I was trying to do :D
i 100% agree with this
â€
Your healthbar would be so good for an FNF game! Thanks!
Raid? Really?
This is a really creative way of adding health bars, really cool
Griffpatch's inventions are always amazing
The "Big" Sprite has literally solved all of my scratch issues! I use it in almost every game I make!
Every time you continue to surprise me with new tricks i didnt think was possible! This is one of the most creative ideas on health bars. Great job đ
Yeeey, I was searching tutorials like this and you uploaded this! Thank you Griffpatch!!!
Happy to help!
You really deserve that sponsor for your hard work on these tutorials
Congrats on your first sponsor griffpatch! Again another great video!!!
For anyone who is struggling with the creation of the health bar costume, use this tip instead:
change your brush size to 5 do what he said but outline the area with that pixel and fill it in, it makes the process simpler and easier to stay perfect :)
And for further perfection, to fix any border mistakes, the brush size for the border is 2
I am so overjoyed that griffpatch got a sponser! I've been watching his videos for years!
"I wish we had drawing tools..."
Griffpatch! The Scratch Addons extension has an onion-skin feature which allows you to see a ghost of the previous costume. (Used alot in animation).
Very nice video, I was expecting a much harder or PEN used health bar.
I use that feature for animating!
and also there is a snaping feature too!
Congrats on 200k!!! đđđ
This is so awesome thank you griffpatch!
So simple yet it slipped all of our minds!
Thanks for the amazing smoothness! this is a scientific breakthrough in mind! đ
Btw, claim your within 1 hour ticket
Ching
@@tommyanepicgameer i claimed it
This is just awesome! Thanks a lot griffpatch for another awesome tutorial!
You're very welcome!
And, congratulations on getting sponsored!
@@griffpatch =D
Props for Griffpatch for putting the effort to make this video, very useful for my new game IÂŽve been working on! Thx! 10/10
Thank you so much! I rally needed the simple health bar for the turn-based combat RPG im working on!
I thought I was gonna be using 200 sprites đđ
I liked the part when you went to the costume category and the fill color saw us and later his eyes dissapereaded, that was amazing!
Just as i was trying to make a brake pressure indicator for my Train Simulator project, awesome
thank you for the video! it really helps. also good job on getting sponsored , i will be playing raid after this video.
i am glad that you have a sponsor now, good job!
Thanks! đ - Let's see how things work out, I hope I did a good job with the video!
I agree with you, he is making great videos which we can watch for free, so watch an ad is much easier than pay money for that
OH MY GOD! THATS GENIUS, I NEVER WOULD OF THOUGHT OF THAT. On top of it being easy to do with clones or separate sprites (if you don't know how to use clones) but if you were to do it with pen it would be super performant! I am actually gobsmacked, my jaw is on the floor. I'll be honest, when you started the RPG series, I got back into scratch and I started working on a big pen project that I am really proud of. It is defiantly my best game to date and if I end up finishing it I'll come back and let you know.
I'd love that!
Why did I write that damn comment? So I had been working on that big game which was a picross game. I was trying to put a lot of effort into it where I added a level editor, a level code system, I was gonna add community made levels progressively after it was released, I added a level select screen where it loads all the levels and draws them with pen, etc. When near the end of development I realised... WHY AM I MAKING THIS IN SCRATCH!? so I not working on this scratch version anymore and I may potentially make a mobile version in unity instead. I have found that a lot of picross games are either made to make loads of money or just don't have features like level editors and stuff, and I want to put as much into one as I bloody well can. If that ever ends up happening I'll let you know how it goes.
Also, I have only shown this game to friends who either don't use scratch or know what a "picross" or a "nonogram" is so I was wondering if you would like to take a look at it? I could send the .sb3 to you via like twitter dm's or email or something idk.
Thank you so much all of your tutorials has been helping me with my dream game!
This is an actual good tutorial, 1: It's so simple to code, you can just backpack the code and use it for other projects! 2: It only uses 1 clone, so you don't have to worry about those messy pile of clones, Thank you griffpatch for this :)
Never thought I'd see the day when Griffpatch would get a sponsor, you've made it Griffpatch, here's a cookie đȘ
Edit: COOKIES AND MILK PARTY! đȘđ„đ
Yum yum thank you!
@@griffpatch I've got enough for everyone! đȘđȘđȘđȘđȘđȘđȘđȘđȘđȘđȘđȘđȘ
@@hussain_2x_ thanks!
@@hussain_2x_ crunch crunch crunch nice cookie
Here's some milk for you guys đ„đ„đ„đ„đ„đ„đ„đ„đ„đ„đ„
I think it would better to put a broadcast tick block inside a forever loop, and use the "when I receive tick" to do the positioning scripts. That way all the clones and the original sprite can go to their position and it won't lag behind when there are other loops in the project.
Very good idea :D - And it's very much up to you how you want to go about this!
I used this tip. Thanks.
Another thing that could be done is make a custom block that makes a sprite go to a certain position relative to another sprite, because with custom blocks you can disable screen refresh, which is the very tiny amount of time that otherwise passes between the running of each block.
I'm a little confused as to how this would work with a clone. Could you explain this to me?
@@Diego_2-22 I don't think that will work because a custom block inside a loop will still run like an animation, and I think it was griffpatch who discovered the fix to sprites "lagging behind" when going to another sprite using the tick system
I thought another rpg tutorial was gonna happen lol. But what an surprise for something else! As always, please continue with your hard work
1k subs to gooooo and
CONGRATULATIONS FOR 200K SUBSCRIBERS
When will come the next Part of the Tile Scrolling Platformer
I have no answer! I don't have a schedule I'm afraid
Please this is my favorite series
@@saschawalder6361 mine too!
Nice to hear
Pretty please with a orange and white cherry on top
is this your first sponser?
Yep, first one
Congrats on 200k! You've put in amazing effort, and it's paying off...
Thanks griffpatch this made my day!!
For me for some reason the original sprite would lag- when I would have my character move (I used this in an already partially complete game) the original sprite would lag behind, but not the clone. I fixed it just by making two clones, each with different costumes in the correct order, detecting which costume it was under the "When I start as clone" and put the script in an if-else statement. It also fixed the tiny line thing, but that might just be because of my size.
Can you tell me the code for each clone?
@@samueldanemedio5870 Sorry, what do you need help with exactly?
@@That1Knife when my sprite (character) moves around in my game, the 'full' healthbar would lag, but not the clone
Sorry if I sounded like a little kid earlier, I didn't know if you would reply because the original comment was 1 year ago.
I just need the code for each clone
Why not rpg tutorial !! đ
that health bar can be used for the rpg project
Really useful tutorial. Iâve been using clones to create health bars for several years now and painfully working around a 200 or lower clone limit as a result.
you used to be only useful for your scratch addon but now you are one of my mean inspectors keep up the great work
Congrats on 200K subs!đ
Thank You! I've been working on a tower defense-type game (With a nice little spin to it) and was in desperate need of a health bar system!
Man, you're the best scratcher out there! Your tutorials are amazing! You're so close to 200k subscribers, i hope you reach it next week!
hey he might reach it tomorrow he has 199k subs
Boy, I don't know how this is possible in scratch, most of us would be making it so much more complicated than it already would be. But griffpatch to the rescue, he saves our projects in the simplest way possible! Glad you got your first sponsor, and enjoy it!
RPG# 7 coming out soon guys
Wow! This is so helpful! It was pretty complicated, but still more simple then I thought it would be.
You finally got a sponser! Iâm so proud of you! You honestly deserve it. =)
BRO a sponsor on a Scratch video!? Good job Griffpatch! You've made so many handy tutorials!
Griffpatch has come so far that he even got a sponsor! Keep doing what you do.
Yay, Griffpatch have a sponsor, congrates :D
15:55 : "Ugly like an ugly thing!" ~ Griffpatch, 2022
I never expected to see an Ad in your video, congratulations bro âïžđ
Thank you so much đ
griffpatch: im a family friendly youtuber who has mostly 10- kids as viewers
raid shadow legends: perfect
Congratulationsđ on 200,000 subscribers!
Thank you griffpatch!! And goodjob on your first sponser!!!!! :D
Awesome! It gives me motivation to code again! Well the reason: I'm a perfectionist and well, need EVERYTHING to go well, so when I create a project, my mind is basically blank. I need some technical stuff! Thanks!
This method makes so much sense! Thanks for the help.
This technique is AWESOME!!! You deserve a sponsor!
Wow, thank you!
Amazing! I love to watch your videos!
This video came out just the time I needed!
Thank you Griffpatch. It is very useful to my project. Scratch on!
Glad it helped!
I havenât watched this video all the way yet, but when I saw it was a new griffpatch video I was like đ€©đ€©đ€©đ€©
This and your save code video both helped me make my own RPG! Thanks!
You said this wasn't a video for the rpg but this serves a lot for my game â€ïž Than you a lot griffpach đ im doing my dream game đ
So cool! - Well an RPG kind of has a bit of everything, so yes this too is applicable :D
This is so good! I Can,t believe you got a sponsor! Happy scratching:)
I didn't even know health bars could be possible on scratch without stretch... Feels like magic!
This is probably the most clever ways for heath bars to be utilised. Such a simple idea!
i have done an extremely similar method for about a year on various accounts,and i still dont know how to do a pen one that LOOKS good XD
your videos help heaps of scratchers that are just starting out,keep up the good work!!!
That was the smoothest sponsor transition I've ever seen.
Thank you so much for the tutorial!
Great and smart way to do this! Keep up the great work!
Thanks!
griffatch was the best scracher in my life i cant believe i start from drawing now to creating games thank you!
So cool!!! Scratch On!
Hi griffpatch! You are close to 200k subbies!!!!!
Congrats! You Made Me Seen My 250th Sponsor! Thank You!
This is absolutely incredible. You have earned a sub.
This is so clever, will definitely use!
Very useful!
Just came from 3D ray-casting. It's nice to go back to the basics
Funny thing! I was watching the health bar video today ! Though I'm glad you finally have a sponsor!
THANK YOUUUU SO MUCHHH I USED THIS TUTORIAL
Great job, you got the sponsor! You really deserved it, you make great content!
no one gonna talk about the insane editing? so SMOOTH!!!
OMG Griffpatch certainly has taught me A LOT!!!
now this, this is what i needed. thank you so much griff
WOW and Ty! Now i can do myself!
This was really helpful because I was thinking of using this and maybe something else for the power system in my horror game
You've finally upload video. We need you :D
no way you've grown so much!!!
congrats!!
It helped me a LOT!!!! TYSM!!!!!!!!!!!!!
I love you griffpatch! I always wanted to make this. What did I do? I made a endless amounts of variables and costumes that sort of work but kept lagging. At the end I had to scrap it because it kept crashing my computer until... griffpatch saves the day.
Hey! i use this method in my games all the time, glad more people can know this!
THANKS i needed this for a game i just started perfect timingđ
This is such an optimized way, it greatly surpasses my original method which uses 20 clones, I'd much prefer your 3, more room for more clones, and super optimized
Quite right - Surprisingly simple, and very optimised :)
this worked very well thank you
You were the first person I subscribed to lol. And almost 200k
Either way though, I would say that a pen one is better because then you can have an infinite amount and it's less laggy
Thanks, It helped a lot in my surprise project
best youtuber ever your tutorials are the only reason i can code