Mother 20XX

Hello, I'm currently making a game called Mother 20XX, I'm Currently Trying To find a way to make moving battle backgrounds in VX ACE Every forum, Every video, Nothing. Can someone give me a script for VX Ace Pls? It will be helpful.

Thanks!
-TopHatGuy.
Theoallen has a animated battleback script and GGZiron has a scrolling battleback script.
And there is this from someone (I don't know who) for scrolling battleback
Ruby:
class Spriteset_Battle
#--------------------------------------------------------------------------
# * Create Battle Background (Floor) Sprite
#--------------------------------------------------------------------------
def create_battleback1
@back1_sprite = Plane.new(@viewport1)
@back1_sprite.bitmap = battleback1_bitmap
@back1_sprite.z = 0
center_sprite(@back1_sprite)
end
#--------------------------------------------------------------------------
# * Create Battle Background (Wall) Sprite
#--------------------------------------------------------------------------
def create_battleback2
@back2_sprite = Plane.new(@viewport1)
@back2_sprite.bitmap = battleback2_bitmap
@back2_sprite.z = 1
center_sprite(@back2_sprite)
end
#--------------------------------------------------------------------------
# * Update Battle Background (Floor) Sprite
#--------------------------------------------------------------------------
def update_battleback1
@back1_sprite.ox += 2
end
#--------------------------------------------------------------------------
# * Update Battle Background (Wall) Sprite
#--------------------------------------------------------------------------
def update_battleback2
@back2_sprite.ox += 2
end
#--------------------------------------------------------------------------
# * Move Sprite to Screen Center
#--------------------------------------------------------------------------
def center_sprite(sprite)
end
end
Hello!

Since I got mentioned, wish to tell when I wrote my scrolling battle back in help request, I was much less experienced. Was just excited to post my own solutions. I didn't use Plane object(I didn't know about them yet), so definitely don't go with mine! The one @Roninator2 shows here seems better, thought not having the time to try it.
Theoallen has a animated battleback script and GGZiron has a scrolling battleback script.
And there is this from someone (I don't know who) for scrolling battleback
Ruby:
class Spriteset_Battle
#--------------------------------------------------------------------------
# * Create Battle Background (Floor) Sprite
#--------------------------------------------------------------------------
def create_battleback1
@back1_sprite = Plane.new(@viewport1)
@back1_sprite.bitmap = battleback1_bitmap
@back1_sprite.z = 0
center_sprite(@back1_sprite)
end
#--------------------------------------------------------------------------
# * Create Battle Background (Wall) Sprite
#--------------------------------------------------------------------------
def create_battleback2
@back2_sprite = Plane.new(@viewport1)
@back2_sprite.bitmap = battleback2_bitmap
@back2_sprite.z = 1
center_sprite(@back2_sprite)
end
#--------------------------------------------------------------------------
# * Update Battle Background (Floor) Sprite
#--------------------------------------------------------------------------
def update_battleback1
@back1_sprite.ox += 2
end
#--------------------------------------------------------------------------
# * Update Battle Background (Wall) Sprite
#--------------------------------------------------------------------------
def update_battleback2
@back2_sprite.ox += 2
end
#--------------------------------------------------------------------------
# * Move Sprite to Screen Center
#--------------------------------------------------------------------------
[/QUOTE]
Theoallen has a animated battleback script and GGZiron has a scrolling battleback script.
And there is this from someone (I don't know who) for scrolling battleback
Ruby:
class Spriteset_Battle
#--------------------------------------------------------------------------
# * Create Battle Background (Floor) Sprite
#--------------------------------------------------------------------------
def create_battleback1
@back1_sprite = Plane.new(@viewport1)
@back1_sprite.bitmap = battleback1_bitmap
@back1_sprite.z = 0
center_sprite(@back1_sprite)
end
#--------------------------------------------------------------------------
# * Create Battle Background (Wall) Sprite
#--------------------------------------------------------------------------
def create_battleback2
@back2_sprite = Plane.new(@viewport1)
@back2_sprite.bitmap = battleback2_bitmap
@back2_sprite.z = 1
center_sprite(@back2_sprite)
end
#--------------------------------------------------------------------------
# * Update Battle Background (Floor) Sprite
#--------------------------------------------------------------------------
def update_battleback1
@back1_sprite.ox += 2
end
#--------------------------------------------------------------------------
# * Update Battle Background (Wall) Sprite
#--------------------------------------------------------------------------
def update_battleback2
@back2_sprite.ox += 2
end
#--------------------------------------------------------------------------
# * Move Sprite to Screen Center
#--------------------------------------------------------------------------
def center_sprite(sprite)
end
end
Thanks! But where do I put the script *sorry I'm a bit new on RPG MAKER VX ACE
Read the tutorials in my signature block.
here
↓
Theoallen has a animated battleback script and GGZiron has a scrolling battleback script.
And there is this from someone (I don't know who) for scrolling battleback
Ruby:
class Spriteset_Battle
#--------------------------------------------------------------------------
# * Create Battle Background (Floor) Sprite
#--------------------------------------------------------------------------
def create_battleback1
@back1_sprite = Plane.new(@viewport1)
@back1_sprite.bitmap = battleback1_bitmap
@back1_sprite.z = 0
center_sprite(@back1_sprite)
end
#--------------------------------------------------------------------------
# * Create Battle Background (Wall) Sprite
#--------------------------------------------------------------------------
def create_battleback2
@back2_sprite = Plane.new(@viewport1)
@back2_sprite.bitmap = battleback2_bitmap
@back2_sprite.z = 1
center_sprite(@back2_sprite)
end
#--------------------------------------------------------------------------
# * Update Battle Background (Floor) Sprite
#--------------------------------------------------------------------------
def update_battleback1
@back1_sprite.ox += 2
end
#--------------------------------------------------------------------------
# * Update Battle Background (Wall) Sprite
#--------------------------------------------------------------------------
def update_battleback2
@back2_sprite.ox += 2
end
#--------------------------------------------------------------------------
# * Move Sprite to Screen Center
#--------------------------------------------------------------------------
def center_sprite(sprite)
end
end
It wasn't really what I was thinking about. I was gonna use earthbound gifs. But it's ok! It's still very useful!
Then another option is MOG Battleback EX.
You set up the event with the data for the graphic files and it can look like this
background.gif
Theoallen has a animated battleback script and GGZiron has a scrolling battleback script.
And there is this from someone (I don't know who) for scrolling battleback
Ruby:
class Spriteset_Battle
#--------------------------------------------------------------------------
# * Create Battle Background (Floor) Sprite
#--------------------------------------------------------------------------
def create_battleback1
@back1_sprite = Plane.new(@viewport1)
@back1_sprite.bitmap = battleback1_bitmap
@back1_sprite.z = 0
center_sprite(@back1_sprite)
end
#--------------------------------------------------------------------------
# * Create Battle Background (Wall) Sprite
#--------------------------------------------------------------------------
def create_battleback2
@back2_sprite = Plane.new(@viewport1)
@back2_sprite.bitmap = battleback2_bitmap
@back2_sprite.z = 1
center_sprite(@back2_sprite)
end
#--------------------------------------------------------------------------
# * Update Battle Background (Floor) Sprite
#--------------------------------------------------------------------------
def update_battleback1
@back1_sprite.ox += 2
end
#--------------------------------------------------------------------------
# * Update Battle Background (Wall) Sprite
#--------------------------------------------------------------------------
def update_battleback2
@back2_sprite.ox += 2
end
#--------------------------------------------------------------------------
# * Move Sprite to Screen Center
#--------------------------------------------------------------------------
def center_sprite(sprite)
end
end
Hey, Are you able to edit the script to go in any direction?
Example: One is going to the left while the other is going to the right?
Hey, Are you able to edit the script to go in any direction?
Example: One is going to the left while the other is going to the right?
I understand that the code is confusing to you, but this is extremely easy.
right where it says updatebattleback1, there is a number.
the operation is add (+). just change that to a minus (-)
I understand that the code is confusing to you, but this is extremely easy.
right where it says updatebattleback1, there is a number.
the operation is add (+). just change that to a minus (-)
That makes sense!
I understand that the code is confusing to you, but this is extremely easy.
right where it says updatebattleback1, there is a number.
the operation is add (+). just change that to a minus (-)
Omg I got a good result
Then another option is MOG Battleback EX.
You set up the event with the data for the graphic files and it can look like this
View attachment 216567
Hey, I know this has been a long time but is there a MV version of this?

It's for another project
Are you allergic to the new thread button? You'd probably get better results if just started a new thread and described what you want.
Are you allergic to the new thread button? You'd probably get better results if just started a new thread and described what you want.
Ok lol

Original thread: https://forums.rpgmakerweb.com/threads/mother-20xx.144951/