AMAZING HEALTH BARS in Scratch - Easy Scratch Tutorial

Поделиться
HTML-код
  • Опубликовано: 20 дек 2024

Комментарии • 1,4 тыс.

  • @CrystalKeeper7
    @CrystalKeeper7 2 года назад +793

    My scratch game got a cameo!

    • @Wyatt516
      @Wyatt516 2 года назад +40

      why is this comment so unpopular (9 likes)

    • @CrystalKeeper7
      @CrystalKeeper7 2 года назад +19

      @@Wyatt516 I got in late to the video :P

    • @ilipog
      @ilipog 2 года назад +6

      @@Wyatt516 he knows too much

    • @ilipog
      @ilipog 2 года назад +4

      @@mib9621 me?

    • @CrystalKeeper7
      @CrystalKeeper7 2 года назад +7

      @@mib9621 I am?

  • @zayahIGAc
    @zayahIGAc 2 года назад +70

    the fact of how simple it is to convert it over to a different game makes it so much better and something that would take 3 hours to code only took an hour! thanks griffpatch.

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

      *27 minutes

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

      @@shamon002 there is pausing

  • @onyxtautuhi3473
    @onyxtautuhi3473 2 года назад +86

    This is something I've always wanted compacted and yet this is the most simplest I've ever seen. The techniques in these tutorial just keep getting more clever!

    • @imyasuka
      @imyasuka 2 года назад +2

      You can make it a lot more simple with pen.

    • @orange2218
      @orange2218 2 года назад

      @@imyasuka who the Frick cares

    • @lightbeam6056
      @lightbeam6056 2 года назад

      @@imyasuka thats what i do. but the only problem is they are at the most further back layer meaning they hide behind sprites

    • @costinraspberrypi
      @costinraspberrypi 2 года назад

      sus

  • @rohansachdeva4952
    @rohansachdeva4952 2 года назад +28

    Griffpatch: 7:16 "I don't like long lines of code in Scratch"
    Also Griffpatch: "LEVEL - Start Game Loop - Respawn"

  • @monicadua7
    @monicadua7 2 года назад +64

    This tutorial is not only helpful for a shooting game, it can literally work in any game! Thank you so much for the time and effort you put into every video to help us with block coding. Scratch will surely help me a lot to build a base for learning other programming languages and these tutorials are just what I need!

    • @monicadua7
      @monicadua7 2 года назад +1

      @Hayyan_SomeWeirdGuy haha!

    • @monicadua7
      @monicadua7 2 года назад +1

      @Hayyan_SomeWeirdGuy Guess what, he did :D

    • @gh672
      @gh672 2 года назад +1

      yes me too I am trying to learn python after scratch but I will stick with scratch for now

    • @monicadua7
      @monicadua7 2 года назад +1

      @@gh672 Yes, I will learn javascript/html after Scratch!

    • @monicadua7
      @monicadua7 2 года назад +1

      And Python also

  • @GigaChameleon
    @GigaChameleon 2 года назад +36

    griffpatch: drawing a health bar wih no outline 2:44
    also griffpatch: up the outline width to 4 3:30

    • @griffpatch
      @griffpatch  2 года назад +19

      If you draw with the outline turned on, then it's hard to align it to the grid... So I draw it with it off, and then turn it on afterwards :)

    • @BLACKEDSNEPER
      @BLACKEDSNEPER 2 года назад

      yolo oOoOO

    • @kaustubhshrestha1265
      @kaustubhshrestha1265 2 года назад

      you play bs?

    • @GigaChameleon
      @GigaChameleon 2 года назад +2

      @@griffpatch yes I know that but XD

    • @GigaChameleon
      @GigaChameleon 2 года назад +1

      @@kaustubhshrestha1265 yess

  • @bearworld9328
    @bearworld9328 2 года назад +1

    I am going to add this to my platformer!

  • @buckIin
    @buckIin 2 года назад +43

    I really like these backpackable scratch things that can be used in any project. You should consider making more of these

  • @khoinguyenho2106
    @khoinguyenho2106 5 месяцев назад +1

    this channel should be more popular

  • @pahalvaidya1094
    @pahalvaidya1094 2 года назад +22

    Love your tutorials Griffpatch. And this one was what I wanted everytime I tried to create a game in scratch. Thanks a lot.

  • @gh672
    @gh672 2 года назад +1

    thanks as I am trying a lot since 3 years from this year I was trying to make fnaf 2d this helped a lot not only we can apply this to a full game we can apply this to small movements in cut scenes and you have a healthy upload schedule which is great

  • @Kim-qn4wz
    @Kim-qn4wz 2 года назад +9

    Wow, this is absolutely stunning! I'm excited to add health bars to my games hehe

    • @gamesorreacts
      @gamesorreacts 2 года назад +1

      How did you get 21 hours ago it was only published 42 minutes ago

    • @gamesorreacts
      @gamesorreacts 2 года назад +1

      Ik why now

    • @gamesorreacts
      @gamesorreacts 2 года назад +1

      @PythoJava channel membership

    • @gamesorreacts
      @gamesorreacts 2 года назад +1

      @litt le brobgonal ok

    • @Kim-qn4wz
      @Kim-qn4wz 2 года назад

      @litt le brobgonal

  • @stickmandhruv9270
    @stickmandhruv9270 2 года назад +13

    Now, I will add health bar in my shadow fight 2 game, but I will make the width of health bar bit longer. Thanks for this cool tutorial! :)

    • @stepanruz
      @stepanruz 2 года назад

      Can you give me the link to the game?

    • @stickmandhruv9270
      @stickmandhruv9270 2 года назад +1

      @@stepanruz Work in progress, but I will soon give you the link when it is complete.

    • @fireboygaming3144
      @fireboygaming3144 2 года назад

      @@stickmandhruv9270 oh i wanna try is it for mobile or for pc only

    • @stickmandhruv9270
      @stickmandhruv9270 2 года назад

      @@fireboygaming3144 For now,it's for pc only but soon I will try to add mobile controls(Not sure whether I will add mobile controls or not).

  • @chiroyce
    @chiroyce 2 года назад +46

    Your tutorials seem to be getting better and better every video!! Thanks a lot for such high quality educational content! 🤩

  • @n1qht719
    @n1qht719 2 года назад +21

    griffpatch always lets us learn the easy way. I love it!

  • @GrahamBurgers
    @GrahamBurgers 2 года назад +24

    Made my day! I was making a game and was having troubles with the health bars - this is sure to help a lot!! Thank you Griffpatch for always making such useful tutorials!

  • @maxmm7104
    @maxmm7104 2 года назад +3

    Thanks for the awesome video as always griffpatch. Keep up the great work!

  • @Speed-TV
    @Speed-TV 2 года назад +2

    I don't even follow these tutorials, but when griffpatch posts a new video you gotta drop whatever you're doing and watch it!

  • @thatonestickmanguy259
    @thatonestickmanguy259 2 года назад +5

    GRIFFPATCH YOUR GAMES ARE AWESOME I REALLY LOVE THEM YOU NEVER FAIL TO ENTERTAIN US

    • @zenitsu1169
      @zenitsu1169 2 года назад

      Keep your caps lock in control 😂

    • @thatonestickmanguy259
      @thatonestickmanguy259 2 года назад

      @@zenitsu1169 why you tease me ??

    • @chadbroski9438
      @chadbroski9438 2 года назад

      ah yes a kid who acts like a spammer. don't be like them theyre just lazy and i don't want you to be one kid

    • @enidzhao5293
      @enidzhao5293 2 года назад

      @@thatonestickmanguy259 bc yes

  • @Armitons
    @Armitons 2 года назад +1

    now I no longer have to put the ugly square of the scratch variables! good videooo

  • @Resseguie
    @Resseguie 2 года назад +12

    Nice! This is a super useful sprite to add to the backpack. I just added it to my Rocket Canyon Run project and it dropped in SUPER easy to an existing game. Thanks for sharing these with us.

    • @griffpatch
      @griffpatch  2 года назад +7

      My pleasure, I played it! Really cool

  • @samanthamarrian4388
    @samanthamarrian4388 2 года назад +1

    I love this video I always wondered how to do heath bars

  • @903games
    @903games 2 года назад +39

    I've always wondered how retro games do pop-up talking texts of characters' conversations. but in Scratch, doing something like this is terribly impossible. It would help a lot if you make a video about it.

    • @CMM47
      @CMM47 2 года назад +6

      Try making your own letter graphics and don't rely on scratch say blocks

    • @the_real_yummuy
      @the_real_yummuy 2 года назад +8

      @@CMM47 do people actually use those still💀

    • @the_real_yummuy
      @the_real_yummuy 2 года назад +3

      Use or make a custom text engine with clones ez!!!
      Camera controls for bonus points

    • @CMM47
      @CMM47 2 года назад +2

      @Yum muy don't you think that's what I meant by letter graphics

    • @DexFire1115
      @DexFire1115 2 года назад +2

      @@the_real_yummuy I use them for testing (kind of like console.log in JS) but never in a final project.

  • @imomarik5802
    @imomarik5802 2 года назад +1

    Wow you're tutorials are getting more interesting every day

  • @coaster_caitlyn
    @coaster_caitlyn 2 года назад +5

    Your tutorials are what make me a good scratcher. Coding is hard but when we have someone like you it helps me understand it better. Thanks for all your videos and projects! -xxxxGam3rBoyxxxx

  • @iamsparta7436
    @iamsparta7436 2 года назад +1

    Wow! This is great! It even works for clones!!!

  • @undertalerandomvideos5222
    @undertalerandomvideos5222 2 года назад +5

    The timing is perfect, I just started making a game I'll need this for

  • @itsplatinum101
    @itsplatinum101 2 года назад +1

    Griffpatch is psychic; he knows exactly what we want and exactly when we want it. Thanks Griffpatch!

  • @megfish9215
    @megfish9215 2 года назад +13

    I swear griff is so damn underrated. You put so much effort into your projects and videos, and yet get minimal attention for it. Anyways, just wanted to say that i absolutely love your content, has been a fan ever since 2017, keep up the good work!

    • @star80doessdastuff
      @star80doessdastuff 2 года назад +1

      I joined in 2019 a week before the 3.0 update.

    • @WhoIsShawnRonan
      @WhoIsShawnRonan 2 года назад

      ;-; language... all u had to say was that he is not getting the attention that is deserved based on his work

    • @chadbroski9438
      @chadbroski9438 2 года назад +1

      He's really good, i agree, but do all those scratchers have to smash the follow/heart/star buttons until their fingers break? he's a bit overrated on scratch but here on youtube it's better.

    • @Krakyy
      @Krakyy 2 года назад

      @@WhoIsShawnRonan bro what he never swore

    • @Krakyy
      @Krakyy 2 года назад

      @@WhoIsShawnRonan are you saying bc he said damn? thats not a swear lol stop policing people they can say whatever they want its the internet

  • @iamsparta7436
    @iamsparta7436 2 года назад +1

    Hey you just commented hehe on my project! That one comment got me so many views for some reason!!

  • @kryptyk64
    @kryptyk64 2 года назад +4

    Thank you, I used to be so scared of using lists but I feel like I could use them to my advantage now :)

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

    The way you use diagrams to explain what you are doing is very good. Keep up the good work griffpatch

  • @semmiesem9
    @semmiesem9 2 года назад +5

    Hey Griffpatch, thanks for the tutorial. I'm working on a totally cool little turn-based combat thingy, and this helps a lot for showing each character's HP and mana. Keep up the good work! and stuff.

  • @gcmok23
    @gcmok23 2 года назад

    the fact that he just loved the health bar tutorial studio and made this video made this better

  • @cheesecake88655
    @cheesecake88655 2 года назад +5

    Everyone: talking about other stuff
    Me: *just waiting for the cat to hit the corner*

  • @wojtekgame
    @wojtekgame 2 года назад +2

    This video was posted on my mom's birthday (a happy one)

  • @NewtYT
    @NewtYT 2 года назад +7

    Looks cool! Can't wait to add this to my projects! Did you know that I have like 85+ unread messages on Scratch because I haven't opened the messages page?! (because of my exams) Maybe I can add this to Appel's boss.

  • @CCABPSacsach
    @CCABPSacsach 2 года назад +3

    How does he not make a single mistake for 27 minutes straight…

    • @griffpatch
      @griffpatch  2 года назад +2

      Oh man you've no idea how many mistakes I make lol. I just edit them out

  • @thelegoreaper
    @thelegoreaper 2 года назад +1

    These videos are so awesome!

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

    my healths are going crazy help me-

    • @Randomguy44892
      @Randomguy44892 8 месяцев назад

      My health bars after I modified the custom block went crazy

    • @Randomguy44892
      @Randomguy44892 8 месяцев назад

      I have no clue what to do

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

      Yes

  • @Twingamerdudes
    @Twingamerdudes 2 года назад +1

    10:41 WE FOUND A NEW WAY TO RENDER 3D GRAPHICS IN SCRATCH!

  • @anshulsgalaxy2336
    @anshulsgalaxy2336 2 года назад +2

    amazing griffpatch! keep creating more tutorials! :)

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

    this is the best scratch yt in the history of scratch mkay

  • @lamtomtom
    @lamtomtom 2 года назад +2

    Thanks griffpatch for making this tutorial! I was thinking a lot of how to make a health bar on my game so this tutorial is VERY COOL

  • @k-n-agaming8797
    @k-n-agaming8797 2 года назад +1

    Hello griffpatch it's my bday and I got a vid by you! Yay!

  • @theonewhocodesalot9101
    @theonewhocodesalot9101 2 года назад +1

    Hey griffpatch you know that grid list you did a while back I want to know if it’s possible to use the face cam extension instead of spirits and the grid list to match the colour of your face and background and put it at the side and on the other side a actual person is there

    • @ghastdude589
      @ghastdude589 2 года назад

      I don't think something like that is possible in Scratch, currently. If they ever add the face sensing blocks to base Scratch something like this would definitely be feasible!

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

    So straight-forward and easy! Thanks!

  • @nolannhoundegnongbai6775
    @nolannhoundegnongbai6775 4 месяца назад

    You are super smart, griffpatch. You fix all those errors and know how to code. Nice video!

  • @tomfooledterry
    @tomfooledterry 2 года назад

    2 days before this tutorial i was looking for a health bar tutorial. This is perfect.

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

    You made a new health bar tutorial, showing how to make an easier one. I was wondering how to put the other health bar into the player’s health?

  • @ryanmemes2100
    @ryanmemes2100 2 года назад +1

    Hi! I actually play your Geometry Dash game on Scratch! Really great work! Keep it up!

  • @thatlilly
    @thatlilly 2 года назад +2

    I’ve seen these on RUclips before but none by the legend himself. Been waiting for this over a year. Thank you 😊

  • @TheMastermind_dbd
    @TheMastermind_dbd 2 года назад +1

    Thank you so much for all of our hard work. I really love your tutorials.

  • @ianho3216
    @ianho3216 2 года назад

    i was trying to find a health bar tutorial and you made it good job

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

    i didn't watch all your videos but did you post an boss fight bc i needed to use this for one

  • @fsk-steine1409
    @fsk-steine1409 2 года назад +1

    thank you so much! I need this right know lol

  • @Roshay_gd
    @Roshay_gd 2 года назад

    I saw all your creations on scratch i love them so much

  • @Ironyum99
    @Ironyum99 2 года назад +1

    THANK YOU GRIFFPATCH! this helped so muchhh

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

    Your the GOAT of scratch!! Oh my God!! Most skilled scratcher!!!!

  • @KKIRBYY-GD
    @KKIRBYY-GD 2 года назад

    I been waiting for this thank you!

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

    Man, even watching these concepts be done on a child’s programming language, these videos remind me that I can always “work smarter not harder” and that I usually end up on the latter half of that phrase haha

  • @Robotic-Brix
    @Robotic-Brix 2 года назад +1

    My x and y position show the original cats positions not the clones 6:35

  • @ruskii_is_off
    @ruskii_is_off 2 года назад

    I was waiting for his tutorial! I love this big idea!

  • @Berrybrorin
    @Berrybrorin 2 года назад +1

    Griff you always make awsome tutorials keep it up!

  • @najayeet3321
    @najayeet3321 2 года назад +1

    Hey griffpatch, this question doesn't really have anything to do with coding but what kind of editing software do you use? I like the way it zooms and the little text boxes that you add

    • @griffpatch
      @griffpatch  2 года назад

      I use Camtasia, there's a link under the video

    • @najayeet3321
      @najayeet3321 2 года назад

      @@griffpatch Thanks!

  • @inaayel922
    @inaayel922 2 года назад +2

    thanks so much im 7 and yet its still so easy

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

    These Healthbars are cool man !!

  • @shreyaschaphekar
    @shreyaschaphekar 4 месяца назад

    griffpatch i love your tutorials im acctualy a big noob in scratch and now that you have helped me im a pro now 😎 do always keep on going =)

  • @YepItsSandro
    @YepItsSandro 2 года назад +1

    GRIFF REALLY KNOWS THE SCRATCH ALGORITHMS! I REALLY HOPE TO BE AS GOOD AS YOUUUU

  • @RishanEdits10
    @RishanEdits10 2 года назад

    Tysm! I was making a game with a player who has a health bar but i was confused on how to. This video helped me alot, one again, tysm!

  • @tuckerbetz9585
    @tuckerbetz9585 2 года назад

    Incredible! Health bars are something I've wanted for a long time.

  • @marcelpapernoel4450
    @marcelpapernoel4450 2 года назад

    Thank you so much ! It's sooooooo easy to move and it's working for clones i was trying to do that for months
    You are amazing

  • @conureconjure3579
    @conureconjure3579 2 года назад

    ah i needed this so much! this was really helpful! thank you :P

  • @monky4163
    @monky4163 2 года назад

    Thank you, so so much. You have no idea how hard it was to find a tutorial that shows how to get health bars for clones.

  • @iamsparta7436
    @iamsparta7436 2 года назад +1

    I am just wondering, but to add several mobile controls at the same time, could you check to see where the mouse was in the last frame? I am pretty sure that is how it works right? Just a thought.

    • @griffpatch
      @griffpatch  2 года назад +1

      Sadly scratch only can read the position of the last touch and will not track two fingers on the screen :( so single joystick

    • @iamsparta7436
      @iamsparta7436 2 года назад +1

      @@griffpatch oh

  • @beanstealer
    @beanstealer 2 года назад

    whan the scratch cats clone LOADS of health bar at 10:55 , it kinda looks 3D in a way. Perhaps it could be used to make a 3D level generater?

  • @alphaXstudios
    @alphaXstudios 2 года назад +1

    nice tutorial !! Step by step Explanation . Thx for this whole new tutorial . 😀

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

    you spent all your time thinking and helping us to become better game makers in scratch thank you griffpatch

  • @thundexscorpiox2223
    @thundexscorpiox2223 2 года назад

    This is why I followed both of your accounts in Scratch! 😄

  • @pigo-picoldo
    @pigo-picoldo 2 года назад

    13:44 if black is on top just select the green one then click "forward" on top :)

  • @bicsgaming2932
    @bicsgaming2932 2 года назад

    5:30 THE CAT HIT THE CORNER WE HAVE BEEN WAITING FOR THAT ALL OUR LIFE!!!!!

  • @timeodelaplace2275
    @timeodelaplace2275 2 года назад

    I love the healt bars! I am so exited!!

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

    so good! Thankyou Griffpatch for making this game! :)

  • @snipemoon9
    @snipemoon9 2 года назад

    Wow Griffpatch! You are so talented and have so many ideas for my scratch project

  • @blanceofficial
    @blanceofficial 2 года назад +1

    Finally i dont need to use pens blocks to make health thank you griffpatch

  • @trixietoca3428
    @trixietoca3428 2 года назад

    I grew up playing his scratch games and somehow never new about his RUclips channel

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

    Bro i was looking for this so long tysm!

  • @iamsparta7436
    @iamsparta7436 2 года назад +1

    I added crystal keeper’s universe parallax to my lemon invasion with the healthbars and all sorts of other cool tutorials, and made one sick game!

  • @Co-uy4mi
    @Co-uy4mi 2 года назад

    12:04 hey griffpatch how did you get that small screen on the right side of the screen to pop up???

    • @griffpatch
      @griffpatch  2 года назад

      I video edited it in for you, it's not really there like that

    • @Co-uy4mi
      @Co-uy4mi 2 года назад

      @@griffpatch aha ok nice job 👍!

  • @some-random-coder_
    @some-random-coder_ 2 года назад

    the quality of griffpatch's videos has gotten much better

  • @FeniteFr
    @FeniteFr 2 года назад +1

    OMG I loooooove tutorials that we can follow alone and in a serie !!!!

    • @griffpatch
      @griffpatch  2 года назад +1

      Yes - I tried to make it like that :)

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

    I love the health bar! Thanks Griffpatch!

  • @dispensery
    @dispensery 2 года назад

    Superb tutorial! You are the best Scratch Teacher! :DDD

  • @RandomGuy-v7p
    @RandomGuy-v7p 2 года назад +1

    finally some more stuff i can use ty

  • @Kinguardia
    @Kinguardia 2 года назад +1

    hey griffpatch, i found out about a thing that might be of interest of you for future self projects, or maybe future advanced tutorials!! in regular game developments, games have a SET framerate inside the game loop. in scratch it is pretty simple to do this using the "timer" variable, me and my coding instructor used this in my remake of the classic game "snake" !! But knowing this, you can now make EXCELENT use of the "turbo mode", because since you can set a frame rate in one sprite, and not set it in another, you can have sprites running code at break neck, lightning quick speeds, which is EXTREMELY useful in RAYCASTING. I should know, me and my instructor have tested this idea!! if you would like i can show you exactly how we have done this, and you are MOST DEFINITELY allowed to use my code in future tutorials if you so wish!! us coders must share knowledge after all.

    • @ghastdude589
      @ghastdude589 2 года назад

      This is actually a really interesting concept that I haven't heard talked about much before. Take my like

    • @Kinguardia
      @Kinguardia 2 года назад

      @@ghastdude589 thank you kind sir. If you know anything about auto generation in scratch I need some help with a game I'm making that uses this

    • @ghastdude589
      @ghastdude589 2 года назад

      @@Kinguardia I'm not that advanced with Scratch programming, sorry! I just found the idea you mentioned interesting

    • @Kinguardia
      @Kinguardia 2 года назад

      @@ghastdude589 ah ok. That's fair.

    • @griffpatch
      @griffpatch  2 года назад

      Sounds like you've been having a lot of fun! I do know about using timers and turbo mode. Until scratch 2 we weren't able to make use of run without screen refresh so needed to do just that. But now with run without screen refresh I haven't ever needed to use turbo mode. Generally you can do everything you need without it... :)

  • @Twin138956Productions2019
    @Twin138956Productions2019 2 года назад +1

    very great tutorial. I would want to make one someday

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

    Very usefull im going to use it in many projects thanks grffpatch!

  • @rahzib1221
    @rahzib1221 2 года назад

    from 9:07 : Wouldnt it be easier to place delete 2 of healths than one?

  • @isaiahsabate2807
    @isaiahsabate2807 2 года назад

    the game works in my scratch. Thank you griffpatch your the best. can you please make a new lemonoid invasion of health to the player so the player will also have health and if the player touch the lemon the player has damage until its game over?

  • @niilovalorinta1107
    @niilovalorinta1107 2 года назад

    This is best channel for scratch tutorial... Thanks 🙂