02-20-2009, 01:22 AM
02-20-2009, 01:23 AM
Isn't this what the Game Maker Community is for... ?
02-20-2009, 01:27 AM
True but no luck their yet. However I got an idea for my hp bar thing though.
02-20-2009, 10:17 AM
Oh, I'm sorry. That's probably where you'll get all your answers though.
02-20-2009, 11:12 AM
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