Koopa Parayoshi wrote:I suggest u make a boss health bar in the future. Dont worry, i can tell u how to do it
If you want it to be displayed at the extreme top right of the screen, draw a rectangle.
x1 = 540
y1 = 0
x2 = (enemy health variable name here)
y2 = 32
That will make a rectangle of 100 pixels width
Yes, the 2nd demo is better, but I still think the sprites for ships need a little more improvement as they look like bottles
and the Ships that combines together is really cool
OR, draw_healthbar(540,0,100,32,enemie_health,c_black,c_red,c_green,180,true,true)
for multiple enemies, apply this to each one; draw_healthbar(x-32,y-16,x+32,y-6,enemie_health,c_black,c_red,c_green,180,true,true)