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.

Never display "-------" for exp.

I basically want to make it so that the various status menus will ALWAYS display the actors' exp, rather than displaying "-------" if the actor's level has maxed.

I've tried a few things, but they all caused errors that I didn't know how to fix. I'm hoping that I can ignore levels altogether and use exp as a sort of currency for skills and whatnot.

I'd also like to know if actors' exp continues to increase after their level has been maxed.

I'm using XP. May not matter, but I figure I'll mention it anyway.

Thanks in advance!
 
in Game_Actor, replace

Code:
  #--------------------------------------------------------------------------

  # * Get EXP String

  #--------------------------------------------------------------------------

  def exp_s

    return @exp_list[@level+1] > 0 ? @exp.to_s : "-------"

  end

 

with

Code:
  #--------------------------------------------------------------------------

  # * Get EXP String

  #--------------------------------------------------------------------------

  def exp_s

    return @exp.to_s

  end

 
 

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