Gamemaker studio 2 || Neat Health Bar Script

submitted by GamErPlayer on 01/02/20 1

Free to use ///scr_draw_hp(color1,color2); draw_set_valign(fa_bottom); draw_set_halign(fa_center); var per = hp / max_hp; xx = x-(sprite_width/2) + sprite_width/2; yy = y-3; xxx = x+(sprite_width/2) + sprite_width/2; yyy = y-10; draw_set_color(argument0); draw_rectangle(xx,yy,xxx,yyy,false); xx = x-(sprite_width/2)*per + sprite_width/2; yy = y-3; xxx = x+(sprite_width/2)*per + sprite_width/2; yyy = y-10; draw_set_color(argument1); draw_rectangle(xx,yy,xxx,yyy,false); draw_set_halign(fa_left); draw_set_valign(fa_left);

Leave a comment

Be the first to comment

Collections with this video
Email
Message
×
Embed video on a website or blog
Width
px
Height
px
×
Join Huzzaz
Start collecting all your favorite videos
×
Log in
Join Huzzaz

facebook login
×
Retrieve username and password
Name
Enter your email address to retrieve your username and password
(Check your spam folder if you don't find it in your inbox)

×