#How do I make hearts as a health bar?

1 messages · Page 1 of 1 (latest)

wicked swift
#

make a ui image that is multiple hearts

gaunt epoch
#

SHur up

#

Let the alpha handle it

wicked swift
#

what

gaunt epoch
#

Make a heart asset

#

With as many hearts

#

as you want there to be

#

animate it with lost hearts

#

Make an anim were certain hearts are lost

#

give it variable

#

count variable

#

I'm getting to that part now

#

Give the asset a number variable

#

make it so that when the main actor takes dmg, the number will be subtracted by one

wicked swift
#

the amount of hearts should be the same amount as your health (unless you have like 100 hp), make a lot of animations, each one which one, two or three depleted hearts, make a script =

infinite loop
if [Main Actor Health] = 3
set [heart] = [animation with three hearts
else if [Main Actor Health] = 2
set [heart] = [animation with two hearts]

repeat the same thing blah blah blah

gaunt epoch
#

yeah that works too

#

Exi's is easier

wicked swift
unkempt warren
gaunt epoch
#

Mine is a little complex, but I had to use it once cause the game was complexer

wicked swift
#

nuh uh its cablecrow

wicked swift
gaunt epoch
wicked swift
gaunt epoch
#

Zardy's maze person

wicked swift
#

remeove thay

gaunt epoch
#

Sure

wicked swift
#

stop exposing my face to the internet

gaunt epoch
wicked swift
#

NO

gaunt epoch
#

Looks good to me

wicked swift
#

show image

#

oh righr

#

i forgot about that

unkempt warren
wicked swift
#

handy

#

show me a damn image

#

also replace the animate thing with switch costume

#

issues

gaunt epoch
#

Cablecrow

wicked swift
#

?

gaunt epoch
#

Me and Worner are friends on Roblox how does that make you feel

wicked swift
#

seriously tho thats cool

gaunt epoch
#

Trashcan wanna make out?

wicked swift
#

i dont think you understood well

unkempt warren
#

i barely use arrays i just store everything i need into a one single table and chilling

wicked swift
#

i also dont know how arrays work

#

i saw your tutorial and didnt understand a single thing

gaunt epoch
#

One of the most beautiful things god has graced upon this world

unkempt warren
#

big smart guys talking about big smart things

gaunt epoch
#

They're really easy to understand

#

You can see them as values

#

They're basically like stats an asset can have

#

There are different kinds

#

Like for instance, there's true/false

#

or count

#

They themselves don't do much

#

yes

#

That's a bit sad considering how stupidly easy it is to code in je

#

Well, for me trial and error helped

#

When hitting a roadblock

#

Don't immediatly ask discord

#

just experiment

#

Fr

#

It used to be "Don't join you're definitely getting bullied"

#

but a load of little children have joined in the last few months

#

So, it's mostly kids spamming cringe

#

Well guess what

#

Some might argue that I'm one of the best spriters on je

#

This was from a few months ago idk been a while

#

I mean first of all

#

It requires practice

#

I know it sounds lame

#

but it takes time

#

well show some stuff

#

No

#

Honestly mirroring doesn't work that well

#

So it's a button

#

What's the line in the middle?

#

Well, with ui i'd try to simple things down

#

So for Interact just an I or maybe a plain ol circle

#

an for running like a simplified silhouette of a boot

#

I can try something but I'll have to eat first

#

Ohmaga I love Tloz