Hi, looking for a plugin that let's you change the menu background using switches (the menu already made transparent beforehand) for Rpg Maker MV.
I coded something similar back when the game was in Vx Ace, but I know very little of MV.
ORIGINAL VX ACE VERSION:
class Scene_MenuBase < Scene_Base
#--------------------------------------------------------------------------
alias background_picture_create_background create_background
def create_background
background_picture_create_background
@background_picture_sprite = Sprite.new
if $game_switches[261]
@background_picture_sprite.bitmap = Cache.picture('MenuBackground')
elsif $game_switches[262]
@background_picture_sprite.bitmap = Cache.picture('MenuBackground2')
elsif $game_switches[263]
@background_picture_sprite.bitmap = Cache.picture('MenuBackground3')
elsif $game_switches[264]
@background_picture_sprite.bitmap = Cache.picture('MenuBackground4')
elsif $game_switches[265]
@background_picture_sprite.bitmap = Cache.picture('MenuBackground5')
end
end
#--------------------------------------------------------------------------
alias background_picture_dispose_background dispose_background
def dispose_background
@background_picture_sprite.dispose
end
end
I coded something similar back when the game was in Vx Ace, but I know very little of MV.
ORIGINAL VX ACE VERSION:
class Scene_MenuBase < Scene_Base
#--------------------------------------------------------------------------
alias background_picture_create_background create_background
def create_background
background_picture_create_background
@background_picture_sprite = Sprite.new
if $game_switches[261]
@background_picture_sprite.bitmap = Cache.picture('MenuBackground')
elsif $game_switches[262]
@background_picture_sprite.bitmap = Cache.picture('MenuBackground2')
elsif $game_switches[263]
@background_picture_sprite.bitmap = Cache.picture('MenuBackground3')
elsif $game_switches[264]
@background_picture_sprite.bitmap = Cache.picture('MenuBackground4')
elsif $game_switches[265]
@background_picture_sprite.bitmap = Cache.picture('MenuBackground5')
end
end
#--------------------------------------------------------------------------
alias background_picture_dispose_background dispose_background
def dispose_background
@background_picture_sprite.dispose
end
end