Hey, I have this small script using StephSpawns slant bar, but i'm getting a tonne of lag! its going at 7/8 FPS!!! I'm using it in the Help Window when you go over an enemy, heres the code
Thanks :D
Code:
def set_enemy(enemy)
text = enemy.name
state_text = make_battler_state_text(enemy, 112, false)
if state_text != ""
text += " " + state_text
end
text += " " + enemy.hp.to_s + "/" + enemy.maxhp.to_s
draw_slant_bar(x + 120 ,y + 27, enemy.hp, enemy.maxhp, 80, 6)
set_text(text, 1)
end
Thanks :D