Health Bars Reimagined 💥 No Pen...?!? 👍 Scratch Tutorial
Вставка
- Опубліковано 22 лип 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.
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💀
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!
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?
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
I am so overjoyed that griffpatch got a sponser! I've been watching his videos for years!
Congrats on your first sponsor griffpatch! Again another great video!!!
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 👍
This is so awesome thank you griffpatch!
So simple yet it slipped all of our minds!
This is a really creative way of adding health bars, really cool
You really deserve that sponsor for your hard work on these tutorials
The "Big" Sprite has literally solved all of my scratch issues! I use it in almost every game I make!
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
Griffpatch's inventions are always amazing
Yeeey, I was searching tutorials like this and you uploaded this! Thank you Griffpatch!!!
Happy to help!
thank you for the video! it really helps. also good job on getting sponsored , i will be playing raid after this video.
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.
"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!
I thought I was gonna be using 200 sprites 💀💀
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 :)
BRO a sponsor on a Scratch video!? Good job Griffpatch! You've made so many handy tutorials!
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 liked the part when you went to the costume category and the fill color saw us and later his eyes dissapereaded, that was amazing!
Thank you so much! I rally needed the simple health bar for the turn-based combat RPG im working on!
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
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.
Thanks for the amazing smoothness! this is a scientific breakthrough in mind! 🎉
Btw, claim your within 1 hour ticket
Ching
@@tommyanepicgameer i claimed it
you used to be only useful for your scratch addon but now you are one of my mean inspectors keep up the great work
Griffpatch has come so far that he even got a sponsor! Keep doing what you do.
This is just awesome! Thanks a lot griffpatch for another awesome tutorial!
You're very welcome!
And, congratulations on getting sponsored!
@@griffpatch =D
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
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!
I thought another rpg tutorial was gonna happen lol. But what an surprise for something else! As always, please continue with your hard work
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
Congrats on 200k!!! 🎉🎉🎉
Congrats on 200k! You've put in amazing effort, and it's paying off...
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
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
This is probably the most clever ways for heath bars to be utilised. Such a simple idea!
this is the first sponser i have EVER seen in griffpatch videos.
is this your first sponser?
Yep, first one
Why not rpg tutorial !! 😭
that health bar can be used for the rpg project
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!
Funny thing! I was watching the health bar video today ! Though I'm glad you finally have a sponsor!
Congrats! You Made Me Seen My 250th Sponsor! Thank You!
Ayyy, my favorite scratch youtuber is finally having their first sponsor
You finally got a sponser! I’m so proud of you! You honestly deserve it. =)
15:55 : "Ugly like an ugly thing!" ~ Griffpatch, 2022
im making a pokemon game and i've been having a headache trying to figure out how to do this, tysm, this tutorial is a life saver 😭
I didn't even know health bars could be possible on scratch without stretch... Feels like magic!
1k subs to gooooo and
CONGRATULATIONS FOR 200K SUBSCRIBERS
no one gonna talk about the insane editing? so SMOOTH!!!
Wow! This is so helpful! It was pretty complicated, but still more simple then I thought it would be.
This method makes so much sense! Thanks for the help.
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!!!
Congrats on the sponsor! You really deserve the support from other larger companies. You have been a HUGE inspiration for me. Without you, I wouldn't even know scratch existed! So, congrats.
Yay, Griffpatch have a sponsor, congrates :D
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!
This and your save code video both helped me make my own RPG! Thanks!
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
I haven’t watched this video all the way yet, but when I saw it was a new griffpatch video I was like 🤩🤩🤩🤩
Congrats on 200K subs!👍
This is so good! I Can,t believe you got a sponsor! Happy scratching:)
Thank you griffpatch!! And goodjob on your first sponser!!!!! :D
After a miserable morning watch griffpatch made me feel 10 times better
I watch this channel of how clever it is, i never used scratch, but these technqiuenes are pretty smart too.
Great job, you got the sponsor! You really deserved it, you make great content!
This technique is AWESOME!!! You deserve a sponsor!
Wow, thank you!
The heck
I never expected griffpatch to have RAID Shadow Legends as sponsor, or even ever have a sponsor
Congratulations🎉 on 200,000 subscribers!
This is cool, I thought you were going to use clones to have 3 different color sprites but this is a much better strategy
5:08 That guy from the platformer... he's everywhere
GG to griffpatch for having a sponsor!
Griffpatch, your tutorials are so nice!
Thank you so much all of your tutorials has been helping me with my dream game!
Its really weird to hear giffpatches voice in a raid shadow legends sponsor, it's actually kind of hilarious because usually his videos are pretty layed back. Keep up the amazing content 😂
ikr
The sponsor had me laughing so hard I couldn’t breathe 🤣
Good job on your sponser! And judging by the showcase, this method seems really easy lol, and its literally like 3 days after i make my own bossbar [i really like mine tho :) ]
I'm so Happy that Scratch Community is Growing
That was the smoothest sponsor transition I've ever seen.
Thanks griffpatch this made my day!!
best youtuber ever your tutorials are the only reason i can code
Just came from 3D ray-casting. It's nice to go back to the basics
It`s very happy to see that griffpatch has been sponsored)
This was really helpful because I was thinking of using this and maybe something else for the power system in my horror game
I never expected to see an Ad in your video, congratulations bro ✌️😃
Thank you so much 😀
Thanks, It helped a lot in my surprise project
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 :)
Hey! i use this method in my games all the time, glad more people can know this!
griffpatch made his sponsorship from raid not seem like a meme. amazing. 😊
Did I clicked 3 times on the link for that RAID SHADOW LEGENDS said "OMG lots of people come on our website thanks to Griffpatch !!" ?
YEEEEEES ! 🔥
I hope so :D
Holy cripes the 5:11 easter egg scared me-
Anyway another great video griffpatch!
Wait, I thought this was the tutorial for the RPG game. Eh, I'll do it anyway. I can't miss out on one of your tutorials!
OMG Griffpatch certainly has taught me A LOT!!!
i followed you in scratch and i love your tutorials
Thank you Griffpatch. It is very useful to my project. Scratch on!
Glad it helped!
griffpatch: im a family friendly youtuber who has mostly 10- kids as viewers
raid shadow legends: perfect