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.

Arranging the Battle Status alignment

Hullo, and thanks for viewing. I'm trying to arrange the actor status so it shows each characters' stats (name, hp, sp, status) vertically on the right hand side of the screen. What I have so far is this:
http://i9.photobucket.com/albums/a99/xdeath5/sc1.jpg[/IMG]
What I'm trying to get is something like this:
http://i9.photobucket.com/albums/a99/xdeath5/sc2.jpg[/IMG]
I've been fiddling around in the CBS script under the Window_BattleStatus section, and although I'm not sure if that's what I'm supposed to edit, this is what it looks like right now:

#==============================================================================
# ?? Window_BattleStatus
#==============================================================================
class Window_BattleStatus < Window_Base
#--------------------------------------------------------------------------
# ?? ?I?u?W?F?N?g??????(????`)(???*????W????)
#--------------------------------------------------------------------------
def initialize
super(480, 20, 160, 290)
self.contents = Bitmap.new(width - 32, height - 32)
self.back_opacity = 60
@level_up_flags = [false, false, false]
refresh
end
#--------------------------------------------------------------------------
# ?? ???t???b?V??(????`)(???*????W????)
#--------------------------------------------------------------------------
def refresh
self.contents.clear
@item_max = $game_party.actors.size
for i in 0...$game_party.actors.size
actor = $game_party.actors
actor_y = i+ 16
draw_actor_name(actor, actor_y, 0)
draw_actor_hp(actor, actor_y, 31, 80)
draw_actor_sp(actor, actor_y, 65, 80)
if @level_up_flags
self.contents.font.color = normal_color
self.contents.draw_text(actor_y, 99, 120, 32, "LEVEL UP!")
else
draw_actor_state(actor, actor_y, 99)
end
end
end
end


Does anybody know what needs to be changed?
 
[Edit] Someone informed me that the strange comments in the script might indicate the use of PK. I can't help you if that's the case. Please either, get the legal version, or prove me otherwise
 

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