Main Menu
  • Welcome to The RPG Maker Resource Kit.

Battle Parallax Background

Started by D&P3, September 06, 2012, 10:39:11 AM

0 Members and 1 Guest are viewing this topic.

D&P3

Battle Parallax Background
Version: 1.0
Author: DiamondandPlatinum3
Date: September 6, 2012




Planned Future Versions

  • You Tell Me :)
Description


This script allows you to use a parallax as a background for your battles. It also allows you to scroll the parallax like any regular map parallax.

Features

  • Replaces the Battle Background with a parallax that can be scrolled if desired

Screenshots

[spoiler][/spoiler]


Instructions

  • Instructions are inside of script
Script



Get it from here

Credit




  • DP3 / DiamondandPlatinum3
  • Modern Algebra ~ For helping with RegExp

Thanks



  • Pacman ~ For advice on aliasing


Support



Post in this thread or PM me.

Known Compatibility Issues
I am unaware of any scripts it doesn't work with; if you find any, post in this thread.

Demo



Check the attachments.

Author's Notes


My first script using attr_accessors and regexp, hoping I did a good job...

Terms of Use



You may find my Terms of Use Here
All of my scripts are totally free to use for commercial use. You don't need to ask me for permission. I'm too lazy to update every single script post I ever made with this addendum. So ignore whatever "rule" I posted there. :)

All scripts can be found at: https://pastebin.com/u/diamondandplatinum3

pacdiggity

Your regexp and attrs look fine, but you should probably look into aliasing some of those methods (by which I mean Spriteset_Battle#initialize, dispose, update).
it's like a metaphor or something i don't know

D&P3

I couldn't figure out how to alias it without getting it to call the functions related to the Battlebacks (which this script is supposed to replace).
Any tips for that? :)
All of my scripts are totally free to use for commercial use. You don't need to ask me for permission. I'm too lazy to update every single script post I ever made with this addendum. So ignore whatever "rule" I posted there. :)

All scripts can be found at: https://pastebin.com/u/diamondandplatinum3

pacdiggity

You could alias the initialize, update and dispose methods, and simply create the battlebacks as empty bitmaps so it still works. You would do that by redefining (you could probably even alias, but there wouldn't be much point) the method that creates the battlebacks.
it's like a metaphor or something i don't know

D&P3

Done. Thanks for the advice Pacman :)
All of my scripts are totally free to use for commercial use. You don't need to ask me for permission. I'm too lazy to update every single script post I ever made with this addendum. So ignore whatever "rule" I posted there. :)

All scripts can be found at: https://pastebin.com/u/diamondandplatinum3