Pseudo Health Bar

Triggers and barriers and blocks and properties

Red barriers with no outline in a row that are visible on game start
The one on the left is deactivated on channel “0”, the next on channel “1”, etc.

When the thing that damages the object happens, wire a trigger to decrease a property by one. Another trigger, triggered by the last trigger, will use block code as follows:

If get property = 0, broadcast on channel “0”
If get property = 1, broadcast on channel “1”
etc.
If get property = 0, broadcast on channel “dead”

If you’re using gadgets to lower the health, then put multiple damageable props with very low health on top of each other, and destroying the props will trigger the first trigger.

2 Likes

I am pretty sure that this will work

Yeah Technically pseudo health, I was just wondering if I could create a health bar, probably using a bunch of emojis.

1 Like

use an overlay that changes depending on the amount of “health” you have

3 Likes

Ooohhh…
Just have a few interchangeable overlays so when you take damage, it sets your health to -1 green emoji, like start at five emojis and increase the number on channel “plus one heart” and decrease on “minus one heart,” which might not even require block code.

there is a guide, search before you post pls…
(you should know that)

1 Like

I think he means the health BAR, so you can make a text overlay that has :shield:::blue_square::blue_square::blue_square::blue_square::blue_square::blue_square:20
🕂(I couldn’t find a cross emoji): :green_square::green_square::green_square::green_square::green_square::green_square::green_square::green_square:20
you can let the emojis be the amount of health or shield you have and make the numbers with blocks.

But you cannot have two overlays… in one place so it could only be
one on the left and one on the right, like this…

and yes I left the other bar on

1 Like

hmmm maybe just put them in one overlay I don’t think there’s a way to go to another line in an overlay?

I tested this myself, and I tried to put a lot of ⸻s because there is a character limit to make it go into another line but it didn’t work:


so I guess the best way is to just put two overlays
(edit: wait I think it just worked when I made the window smaller…:

)maybe we could look into this

3 Likes

That is W!

1 Like

that won’t work.
it’s cool but since it’s made out of barriers, you won’t be able to see it for long.
it’ll be a lot easier using a game overlay and some emojis; that disappear after hit

wait a minute, is that an overlay?

1 Like

Just put them in one overlay on one line lol
:green_square: :green_square: :green_square: :green_square: :blue_square: :blue_square: :blue_square: :blue_square:

This works but is difficult to get working with all screen sizes.

it is an overlay :joy:

1 Like

that works but I’m trying to make it two lines lol

hi and I found this respectful religious symbol:﷽ and that counts as one character, and it showed as two lines even on my super-wide monitor:


so I guess we’ve achieved two-line overlay that works in all screen sizes @Blackhole927 see if you can think of any screen sizes wider than mine
it also works this way I don’t think people will be playing on any screen wider than this

1 Like

soo, you have made the pseudo health bar! congrats!

uhhh, what are you talking about?