Hello everyone! Welcome to another scratch tutorial! In this video I will be showing you how you could healthbars in scratch.
Learning Outcomes:
1) How to use the pen extension to draw a line
2) How to center pen stuff using the X-Axis. This method can work for the Y-Axis as well.
3) How to Set the color of the healthbar depending on the value and max color.
4) How to set the length of the healthbar depending on the length value and the health value.
5) How to set thickness of healthbar.
6) How to make healthbars follow other sprites.
🕒TIMESTAMPS:
0:00 Intro
0:36 Setup
1:14 Variable & Healthbar Block
2:37 Centering
3:03 Outer Layer
3:42 Inner Part Setup
4:12 Healthbar Color
5:07 Inner Part Length
6:21 Zero-Health Dot Problem
7:00 Healthbar Following Sprites
8:07 Outro
🔗 Links:
1) Healthbar Project : https://scratch.mit.edu/projects/8503...
2) My Scratch Account : https://scratch.mit.edu/users/darshrao/
3) Clicker Game Series : • Tek Coder's Fish Clicker Game Series
Thank you guys for watching! If you enjoyed this video, leave a like and subscribe so that you don't miss the latest content!
#scratch #tutorial #healthbar #games #health #tekcoder