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.

Getting rid of Battler Background

Ballad

Member

Sorry if this has been posted before, but I didn't know what search string to use to find this.

I want to try and get rid of the little windows behind the Battler Graphics at the bottom of the screen during a fight. I've tried making it completely transparent, but I only end up with a solid black bar across the bottom of the screen with my Battler Graphic on top of it.

34570768.jpg


That black bar at the bottom, there. It needs to be destroyed so that I can make a larger Background that fills the entire screen with only the Battler Graphics standing on it.

Any ideas, guys? Thanks for any help!
 

Ballad

Member

jbrist":1i0mic5y said:
Just so you know, the bar IS the background... the battle background goes OVER it, meaning you'll need a larger battle background to fill the area, lol.

Tried that. In case you didn't notice, the bottom of my background has a red bar going across it.

There's a reason you didn't notice the big red bar, though...because a giant black bar is covering it.

Here are the resources I'm using for testing purposes:

Battleback resized to 640x480

Windowskin with "White" as Trans/Semi-Trans

I made sure to set white as Transparent and Semi-Transparent on te Windowskin when Importing. I imported the Battleback. I made sure to assign the new Battleback as the one to be used during Grassland fights (which this fight is). I also made sure to assign the new Windowskin through the Database.

I end up with this.

Still the big black bar.
 
Oh, this is easy. It isn't inserting a big black bar. Instead, it just isn't displaying the rest of the background. Just change line 19 of Spriteset_Battle to the following:

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

Ballad

Member

Glitchfinder":1xpuhwg6 said:
Oh, this is easy. It isn't inserting a big black bar. Instead, it just isn't displaying the rest of the background. Just change line 19 of Spriteset_Battle to the following:

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

Awesome, that got me somewhere. I still have the black bar problem, however now XP is allowing animations to play over the black bar, which is acceptable, though not ideal.
 
Ballad":3kwtq6qi said:
Awesome, that got me somewhere. I still have the black bar problem, however now XP is allowing animations to play over the black bar, which is acceptable, though not ideal.
Ah! Found the new problem. Change line 106 of Spriteset_Battle to the following:

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

Ballad

Member

Glitchfinder":jepr6mwj said:
Ballad":jepr6mwj said:
Awesome, that got me somewhere. I still have the black bar problem, however now XP is allowing animations to play over the black bar, which is acceptable, though not ideal.
Ah! Found the new problem. Change line 106 of Spriteset_Battle to the following:

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

You, sir are a scholar and a saint. For this, I salute you. 1,000 Internets to you, sir! HAW HAW!
 

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