draw_sprite(sprite_index,image_index,x,y)
draw_set_font(fnt_test)
draw_set_halign(fa_center)
draw_set_color(c_gray)
draw_text(x + 8,y - 26,string(hp) + ":" + string(hp_max))
draw_set_color(c_dkgray)
draw_text(x + 8,y - 14,string(armor))
if hit = true
{
if dmg > 0
{
draw_set_color(c_red)
}
else
{
draw_set_color(c_purple)
}
draw_text(x + 8,y - 40,string(dmg))
}basically its displaying the enemies hp and its max hp and also showing the damage it has taken once it is hit. However the problem with this is that the draw_sprite(sprite_index,image_index,x,y) code is preventing the image from flipping when it changes direction. I dont have a problem when i dont use the draw event altogether but i need it to show the hp and damage... if i dont put the draw_sprite(sprite_index,image_index,x,y) altogether then you can even see the enemies :/
help would be appreciated!



Find content
Male
