RPG Maker Forums

Hello Everyone!

I want to add animated battlebacks to my battle scenes.

I have found this video here which shows it's possible. Unfortunately, there is no link attached to it.

Also found this script by Blizzard on this forum

# Animated Battle Background by Blizzard# Version: 1.1b# Type: Game Graphic Design Improvement# Date: 12.3.2007# Date v1.1b: 12.8.2007#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=# # new in v1.1b:# - shorter code, increased performance and increased compatiblity# # # Explanation:# # This will animate battle backgrounds. To animate them, you MUST HAVE the# appropriate picture files. You can name them however you like, but you need# to give them numbers. Every other frame than the first has to have a number# higher than the one before. If one number is skipped, the animation will# loop until it reaches the highest number available before the skipped# number.# # Examples:# # 1)# Temple.png# Temple1.png# Temple2.png# Temple3.png# - all frames will be shown# # 2)# Temple.png# Temple1.png# Temple3.png# Temple4.png# - only the 1st and 2nd frame will be shown# # 3)# Temple.png# Temple3.png# Temple4.png# Temple5.png# - no animation at all#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::# START Configuration#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::# how many REAL frames that should be skipped before updating the background,# note that using anything below 8 is not recommended and that using low values# can increase lag dramaticallySPEED = 8#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::# END Configuration#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::#==============================================================================# Spriteset_Battle#==============================================================================class Spriteset_Battle alias init_animated_battle_background_later initialize def initialize if $game_system.ANIMATED_BATTLE_BACKGROUND !$game_system.MAP_AS_BATTLEBACK setup_battleback end init_animated_battle_background_later end alias upd_animated_battle_background_later update def update if $game_system.ANIMATED_BATTLE_BACKGROUND && !$game_system.MAP_AS_BATTLEBACK setup_battleback if @origin_name != $game_temp.battleback_name @frame = (@frame + 1) % @max_frame if Graphics.frame_count % SPEED == 0 $game_temp.battleback_name = @origin_name + (@frame > 0 ? @frame.to_s : '') upd_animated_battle_background_later $game_temp.battleback_name = @origin_name else upd_animated_battle_background_later end end def setup_battleback @origin_name = $game_temp.battleback_name @frame, @max_frame = 0, 1 name = @origin_name + @max_frame.to_s while FileTest.exist?("Graphics/Battlebacks/#{name}.jpg") || FileTest.exist?("Graphics/Battlebacks/#{name}.png") @max_frame += 1 name = @origin_name + @max_frame.to_s end endend 
which after properly following the instructions give me this error message :
 
"Script 'Animated Battle Background' line 66 NoMethodError Occured. Undefined method 'ANIMATED BATTLE BACKGROUND' for #<Game_System:0x8cd16d0>
 
 
So here, if you know anything about a working animated background script for XP, please let me know!

Latest Threads

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,038
Messages
1,018,467
Members
137,821
Latest member
Capterson
Top