#Custom Health Bar for a Mario Fangame [3.X]

1 messages · Page 1 of 1 (latest)

sonic berry
#

Hi!
Right now I'm working in a 2D Mario fangame in the 3.X editor version.

I have been thinking about adding a custom Health bar to the game similar to the one that appears in the Mario Galaxy games.
I'm not very sure about how to make it, and I wanted to know if it's actually possible to make a custom Health Bar like that in Julian Editor.

Does someone know if it's possible? If it is, how can I make it?

flat hemlock
#

make an image in the ui, then add this script to it:

when object is created
inf. loop
if (main actor) current health = 3
set (self) switch costume = (texture u want)
if (main actor) current health = 2
set (self) switch costume = (texture u want)
if (main actor) current health = 1
set (self) switch costume = (texture u want)

#

if (main actor) current health = 0
set (self) switch costume = (texture u want)

sonic berry
flat hemlock
#

you're welcome

tawny marsh
#

@flat hemlock How do I place this script (I don't know how to place, I'm stupid)

tawny marsh
#

😓

flat hemlock
#

open a script my guy

tawny marsh
flat hemlock