Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Help with Custom ABS Status HUD [Resolved!]

Hello. I was creating a CMS for my game, and wanted to create a window for battle stats such as HP, MP, State, and Equipment. But, testing it out in the map, but errors pop up. I cannot list the errors, but I can show you the script:
Code:
#==================
# Battle Info
# For custom Menu
# - Shows status -
#==================
class Window_BattleInfo < Window_Base
  def initialize(x, y)
    super(x, y, 160, 200)
    refresh
  end
  def refresh
    self.contents.clear
    draw_actor_name(0, 8, 8)
    draw_actor_mp(0, 5, 50)
    draw_actor_hp(100, 5, 58)
    draw_actor_state(0, 5, 64)
    for actor in $game_party.members
        x = 4
        y = WLH * (2 + actor.index * 2)
        draw_actor_parameter_change(actor, x, y)
    end
  end
end
If you could help me, that would be great. You would have your name in the credits of my game.
Thank you!

-Lonelyelf
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top