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.

How do I change the Battle Backround? Please help! :(

I'm new to scripting and I really want to change the way VX displays the backround during a battle. I haven't tried myself for fear of ruining my whole game! Could someone please tell me how I can do it?

Thank you! :D
 
There's a script out there by DerWulfman, I think, that you can add to your game to set the background as a stationary picture. I can't remember if the script is on this site or RPG Revolution, but you should be able to find it on one or the other if you search for it.
 
Thanks! I'll have a look.....
Hmmm..... I looked on both sites and couldn't find the script.
If anyone knows of a way to get this script, or another like it, please let me know!
 
Thanks! I'll have a look.....
Hmmm..... I looked on both sites and couldn't find the script.
If anyone knows of a way to get this script, or another like it, please let me know!
 
-Open Scripts Editor
-Go to Spriteset_Battle
-Line 35
Change this:
Code:
  def create_battleback

    source = $game_temp.background_bitmap

    bitmap = Bitmap.new(640, 480)

    bitmap.stretch_blt(bitmap.rect, source, source.rect)

    bitmap.radial_blur(90, 12)

    @battleback_sprite = Sprite.new(@viewport1)

    @battleback_sprite.bitmap = bitmap

    @battleback_sprite.ox = 320

    @battleback_sprite.oy = 240

    @battleback_sprite.x = 272

    @battleback_sprite.y = 176

    @battleback_sprite.wave_amp = 8

    @battleback_sprite.wave_length = 240

    @battleback_sprite.wave_speed = 120

  end

for this:
Code:
def create_battleback

   # source = $game_temp.background_bitmap

    source = Cache.parallax("Ocean")

    bitmap = Bitmap.new(640, 480)

    bitmap.stretch_blt(bitmap.rect, source, source.rect)

    @battleback_sprite = Sprite.new(@viewport1)

    @battleback_sprite.bitmap = bitmap

    @battleback_sprite.ox = 320

    @battleback_sprite.oy = 240

    @battleback_sprite.x = 272

    @battleback_sprite.y = 176

  end

in this line:
source = Cache.parallax("Ocean")
Ocean is the name of the background, the file is in Parallax folder.
this script mod have a problem, you can only use one background for all the game, ill fix it later.
 

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