in the create event i do this:
- Code: Select all
setpen(0, 255, 255, 0, 4);
and in draw actor:
- Code: Select all
moveto(0, 0);
lineto(width-1+HP1-28, 0);
what do i do when the HP1 decreases so it lower the bar?(erasing the rest of the bar, and if possible, make it fade out!!)
thx in advence to all!