RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[RESOLVED] Battle screen borders

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 84
<Battle Screen Borders>
<July15, 2009>



Summary
In short all that i really need is a black border on the top and bottom of the battle screen to appear at the beginning of battle and then for it to scroll away after the enemies are defeated.
Example:
You run into a slim enemy. The black borders appear at the top and bottom. Once the slime is dead the top boarder moves up until it isn't visible and the bottom boarder moves down until its not visible.


Features Desired
  • Borders at the top and bottom of the battle screen.
  • Must be compatible with ahref's EarthBound Backgrounds script.
  • The boarders must be behind all the other windows in battle.
  • Must be compatible with STR's XP battle system.

Mockups
http://walkthrough.starmen.net/mother3/image/screens/01/firstbattle.png
http://walkthrough.starmen.net/mother3/image/screens/01/flyingmouse.png

Games its been in
  • EarthBound
  • Mother 3 (aka. EarthBound 2)



Did you search?
No.

« Last Edit: July 17, 2009, 05:51:01 PM by Zero2008 »

******
Walking Billboard
Rep:
Level 87
Hello. My name is kitkatkan. I am here to help.

Repeat, i am here to help.

OKAY, I AM GOING TO ASK YOU TO DO TWO THINGS:

Firstly, it's not boarders it's borders. Please change it over >.>

Secondly, search around a bit before requesting - who knows, maybe there is a battle system like that floating around?

Do these two things and i'm sure that there will be a scripter or two around who'll be willing to make this for you :)

Otherwise you're not going to attract too many able scripters >.>

THAT'S ALL!

*kitkat poofs away*

**
Rep:
Level 84
OMG I'm such a bad speller. Thanks for pointing that out Kit!

Also I'm not really looking for a battle system, just a little add on.
I already have a battle system. Its STR's XP battle system. I just want the borders added on is all.
Also I will have a look around, but I don't think someone has thought of making a snippet or battle system script with borders on it...
Thanks again!
« Last Edit: July 15, 2009, 10:43:15 PM by Zero2008 »

******
Walking Billboard
Rep:
Level 87
I'm just happy you followed my advice ^^;;

We get alot of stubborn folks over here who can't admit their own faults >.>

**
Rep:
Level 84
I always take advice from people who want to help!

I just hope someone notices this request and actually makes it for me...
I just searched three different sites and nothing yet! :'(

********
Resource Artist
Rep:
Level 94
\\\\\
Project of the Month winner for June 2009
Something I haven't tried before, but I suppose it's worth giving it a shot. Have you tried using a picture event command at the beginning of the battle? (in side the troop's events). I haven't thought of even trying that, so I wouldn't know. I wouldn't at all be surprised if it didn't work, but it's worth a try.

**
Rep:
Level 84
I just tried. It won't work for some reason.
But thank you so much for helping me out bro! You rock!

pokeball TDSOffline
***
Rep:
Level 84
-T D S-
Silver - GIAW 11 (Hard)Silver - Game In A Week VII
Haven't made a script in a while, so let me know if it has any errors.

Also it was made with the default battle system in mind. I couldn't find the battle system you mentioned and I saw no links leading to it.

Code: [Select]
#==============================================================================
# ** TDS Battle Black Bars
# Version: 1.0
#------------------------------------------------------------------------------
# This script will display black bars at the top and bottom of the battle and
# remove them when the fight is over.
#==============================================================================

#==============================================================================
# ** Scene_Battle
#------------------------------------------------------------------------------
#  This class performs battle screen processing.
#==============================================================================

class Scene_Battle < Scene_Base
  #--------------------------------------------------------------------------
  # * Start processing
  #--------------------------------------------------------------------------
  alias tds_scene_battle_battle_black_bars_start start
  def start
    tds_scene_battle_battle_black_bars_start   
    super   
    @black_bar_sprite = Sprite.new
    @black_bar_sprite.bitmap = Bitmap.new(544, 416)
    @black_bar_sprite.bitmap.fill_rect(0, 0, 544, 50, Color.new(0, 0, 0, 255))
    @black_bar_sprite.bitmap.fill_rect(0, 350, 544, 70, Color.new(0, 0, 0, 255))
  end 
  #--------------------------------------------------------------------------
  # * Termination Processing
  #--------------------------------------------------------------------------
  alias tds_scene_battle_battle_black_bars_terminate terminate
  def terminate
    tds_scene_battle_battle_black_bars_terminate   
    super
    @black_bar_sprite.bitmap.dispose
    @black_bar_sprite.dispose
  end
  #--------------------------------------------------------------------------
  # * Remove Black Bars
  #--------------------------------------------------------------------------
  def remove_black_bars       
    for i in 0...21
      update_basic
      @black_bar_sprite.update     
      @black_bar_sprite.bitmap.clear_rect(0, 50 - i * 3, 544, 3)     
      @black_bar_sprite.bitmap.clear_rect(0, 350 + i * 3, 544, 3)                 
    end   
  end
  #--------------------------------------------------------------------------
  # * Determine Win/Loss Results
  #--------------------------------------------------------------------------
  def judge_win_loss
    if $game_temp.in_battle
      if $game_party.all_dead?
        remove_black_bars       
        process_defeat
        return true
      elsif $game_troop.all_dead?       
        remove_black_bars
        process_victory
        return true
      else
        return false
      end
    else
      remove_black_bars     
      return true
    end
  end
end

**
Rep:
Level 84
Dude it works perfectly!
Thank you SO MUCH!

You don't think you can help me out with 1 more script, can you?
I just need one that lets me play a battle animation when a actor does a critical hit.

anyways thanks again dude, u rock!