Discuss Scratch

newaccount66
Scratcher
100+ posts

how make health bar

when green flag clicked
help :: cap

(UwU) :: sound   //  <---- Beluwuga
(((((*_*))))) :: operators // <-- me protecting Beluwuga
>:{
siggy
} :: cap // lol i will turn him into a hat block then a ded block
>:{
siggy :: extension
} // i cant??
when i recieve [siggy eaten v] then :: extension :: hat
YEET KUMQUAT // yay i saved beluwuga
supergamer10000
Scratcher
1000+ posts

how make health bar

What type of health bar do you want?

Ask yourself, if you were hacked and lost hours, upon hours of work, would you regret not having a strong password that only takes 5 minutes to make?

Is it time to update your password? Here are some tips to make a strong password:

Length: The longer the password, the stronger it is. A password that is at least 12 characters long.
Complexity: Combination of upper and lowercase letters, numbers, and symbols to make it harder to crack.
Uniqueness: Don't use easily guessable information like your name, address, or date of birth. Also, avoid using the same password for multiple accounts.
Passphrases: A phrase made up of random words, numbers, and symbols, as these can be easier to remember but still secure.
Randomness: Use a random password generator to create a unique and unpredictable password.
Regular updates: Regularly change your passwords to stay ahead of potential security threats.

Remember, the goal is to create a password that is strong, unique, and difficult for others to guess.

I would estimate more than 40% of scratchers have passwords that are hard to guess by a human, but easy to guess by a computer. You never know if today would be the day you lose everything.

Even if just one person was saved from losing hours and hours of work, my mission is accomplished.
newaccount66
Scratcher
100+ posts

how make health bar

supergamer10000 wrote:

What type of health bar do you want?


pen healthbar that lowers health when the player is damaged by subtracting 1 with the pen healthbar going down

(UwU) :: sound   //  <---- Beluwuga
(((((*_*))))) :: operators // <-- me protecting Beluwuga
>:{
siggy
} :: cap // lol i will turn him into a hat block then a ded block
>:{
siggy :: extension
} // i cant??
when i recieve [siggy eaten v] then :: extension :: hat
YEET KUMQUAT // yay i saved beluwuga
ventoaurum
Scratcher
100+ posts

how make health bar

make a global variable called “player health” and “player max health” and do whatever you want with them

then make a sprite and put these code:

when green flag clicked
set pen size to (2)
forever
erase all::pen
pen up
go to [player v]
change y by (player height)
change x by (player health)
set pen color to [#ff0000]
pen down
change x by ((player max health) - (player health))
pen up
change x by (((player max health) - (player health))*(-1))
set pen color to [#00ff00]
pen down
change x by ((player health) * (-1))
end


(signature)
i make bad decisions professionally
dave-alt-4
Scratcher
1000+ posts

how make health bar

try using this

guide to make good projects <3


Think! Is saying if you support a suggestion necessary? No! People can just tell by your constructive post after it. You have more freedom on your tone!
Forumers, especially new, may also get upset if you say “no support!!!” at them! They may take the whole post in a negative tone, and that makes them upset!
Instead, you can kindly say why their suggestion has cons. They will take it as “constructive criticism” and be happy. - dertermenter


newaccount66
Scratcher
100+ posts

how make health bar

dave-alt-4 wrote:

try using this


looks cool thanks!

(UwU) :: sound   //  <---- Beluwuga
(((((*_*))))) :: operators // <-- me protecting Beluwuga
>:{
siggy
} :: cap // lol i will turn him into a hat block then a ded block
>:{
siggy :: extension
} // i cant??
when i recieve [siggy eaten v] then :: extension :: hat
YEET KUMQUAT // yay i saved beluwuga

Powered by DjangoBB