News:

MFG's Character of the Month: October 2026 Nominations

Main Menu

Adding text to a lifebar

Started by Lord Mike, October 29, 2010, 03:11:45 PM

Previous topic - Next topic

Lord Mike

Hello.
I've seen that some lifebars have a text message displayed above the life meter saying "CHALLENGER" for both p1 and p2 and i would like to add it to the lifebar i am using.
So, does anyone know how to code such a thing in a lifebar?
What i am talking about should look like this:

(This screenshot is taken from a ps2 game)
何故諦める必要がある? 何を迷うことがある奪い取れ。今は悪魔が微笑む時代なんだ。

Hero

I think only with magic powers, but I`m not sure.

Lifebars have fonts and the "bar", no more than that. Maybe I`m wrong.

Basara Bogard

Probably as a separate anim... but I think this should be more capable adding the words to the lifebar sprite, I mean the words and the bar in the same image

Lord Mike

I have found one example for mugen.

From my p.o.v. it looks like fonts are used...
何故諦める必要がある? 何を迷うことがある奪い取れ。今は悪魔が微笑む時代なんだ。

Cyanide

Doubtful. That'll just be a sprite attached to the bg0 part of the lifebar itself. Not a big issue at all.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.