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.

Bigger Battleback ?

Jason

Awesome Bro

I made some battlebacks but their 640x480, can someone make it so the battlebacks show fully ? Because theres a black box for half the screen where the status box is, please don't give me a stretch one or it won't look right, I need it to display the full 640x480 image.

Thanks, JBrist.
 

poccil

Sponsor

It requires three changes:

initialize method in Window_BattleStatus:

Code:
  def initialize
    super(0, 320, 640, 160)
    self.contents = Bitmap.new(width - 32, height - 32)
    @level_up_flags = [false, false, false, false]
    self.opacity=150
    refresh
  end

Line 19 of Spriteset_Battle:

Code:
    @viewport1 = Viewport.new(0, 0, 640, 480)

Line 106 of Spriteset_Battle:

Code:
      @battleback_sprite.src_rect.set(0, 0, 640, 480)
 

Jason

Awesome Bro

Thanks man, works perfectly, you saved me again XD
Want to be the scripter for my game ? I can't offer money, but I can offer BIG credit and put you in the game or something.
 

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