ZitherMan
11th Oct 2001, 03:23 PM
OK, i want to make a health-bar in UT that looks like the one in
project-igi (http://www.watch.impress.co.jp/game/docs/20010312/igi10.jpg).
Now, i've thought about making a vertical healthbar with a
texture that repeats itself until it reaches the desired height. But
look at this picture:
http://home.graffiti.net/zitherman/health-guys.gif
Look at the left example. This is what i would end up with if i
didnt do anything about the part of the lines that is outside the
green guy. But then i i make another layer on top of all this i
could hide the lines using that (as in the right example). BUT, I
want to make a transparent HUD. This would mean everything
on the hud will get a bit transparent, and then, the lines will
show through that blue layer.
So then i came up with this idea:
I make a image of the health inside the guy:
http://home.graffiti.net/zitherman/health.gif
Nice, now i want to make this work using a draw-space with a transparent background that i can
resize. And as the area to show the picture in gets smaller, the
pic gotta have some part thats outside the draw-space (this will
be invisible). Somehting like this:
http://home.graffiti.net/zitherman/health2.gif
Now, my question is:
Is it possible to make one of these drawingspaces? And if so,
how? I would be gratful for replies.
thanx
/ZitherMan
project-igi (http://www.watch.impress.co.jp/game/docs/20010312/igi10.jpg).
Now, i've thought about making a vertical healthbar with a
texture that repeats itself until it reaches the desired height. But
look at this picture:
http://home.graffiti.net/zitherman/health-guys.gif
Look at the left example. This is what i would end up with if i
didnt do anything about the part of the lines that is outside the
green guy. But then i i make another layer on top of all this i
could hide the lines using that (as in the right example). BUT, I
want to make a transparent HUD. This would mean everything
on the hud will get a bit transparent, and then, the lines will
show through that blue layer.
So then i came up with this idea:
I make a image of the health inside the guy:
http://home.graffiti.net/zitherman/health.gif
Nice, now i want to make this work using a draw-space with a transparent background that i can
resize. And as the area to show the picture in gets smaller, the
pic gotta have some part thats outside the draw-space (this will
be invisible). Somehting like this:
http://home.graffiti.net/zitherman/health2.gif
Now, my question is:
Is it possible to make one of these drawingspaces? And if so,
how? I would be gratful for replies.
thanx
/ZitherMan