few days ago i asked if someone could make a HUD for me, and razield did (thanks again =D)
so...the thing is that in my game, when my main character's HP is below half, the bar changes to "Critical" which is a completely diferent image.
i tried to do this:
it works really good until i reach half HP, there's no error, but the HUD dissapears, and the other HUD image doesnt show up
what am i doing wrong?
so...the thing is that in my game, when my main character's HP is below half, the bar changes to "Critical" which is a completely diferent image.
i tried to do this:
BTW...this is under refresh method@actor = $game_party.actors[0]
if @actor.hp < @actor.maxhp/2
@bitmap = RPG::Cache.picture("image2fu_danger")
else
@bitmap = RPG::Cache.picture("image2fu1")
self.contents.blt(0, 0, @bitmap, Rect.new(0, 0, @bitmap.width, @bitmap.height))
it works really good until i reach half HP, there's no error, but the HUD dissapears, and the other HUD image doesnt show up
what am i doing wrong?