Users browsing this thread: 1 Guest(s)
I need Game Maker help thread
#5
Quote:Isn't this what the Game Maker Community is for... ?
If they're anything like they were back when I went there, they'd all say RTFM and laugh at him.

Aaaaanyways~

You need to make an HP variable, and a max HP variable...

then;

draw_set_color(cl_black)
draw_rectangle(x,y,x+102,y+18,false)
draw_set_color(cl_green)
draw_rectangle(x+1,y+1,x+(max_hp/hp)*100,y+16,false)

in draw event. If you need a more elaborate demonstration, I'll write an example after work. Hope it helps Cute
[Image: yoro_shig.png]
Thanked by:


Messages In This Thread
RE: I need Game Maker help thread - by Alpha Six - 02-20-2009, 01:23 AM
RE: I need Game Maker help thread - by Koopaul - 02-20-2009, 10:17 AM
RE: I need Game Maker help thread - by Jordizzle - 02-20-2009, 11:12 AM

Forum Jump: