Why are MV transition plugins non-existant?

Please note that this isn't a request thread but I'm just curious as to why no one has made one yet.


I've seen about 4-5 requests for one through google searches but no one willing to do so.


Anyone wanna shed some light on this?
What exactly do you mean with "Transitions"? Battle/Scene transitions need either a mask or filter/shader, both of which have downsides:


- Masks only work, when a WindowLayer fix (like the one in my signature) is used and don't support alpha masking.


- Filters/Shader allow alpha masking, but only work in WebGL mode.


Apart from that, they are not that hard to do. At least the filter ones, masking could be a bit more problamatic, since you need to animate the mask somehow.
I'm am talking about battle transitions.


The most we get is a zoom in and out effect and a fade out and back into the combat scene.


I'm in the process or trying to create a battle transition plugin with absolutely no javascript knowledge...how screwed am I? 🤣
It's actually not that hard. Basically, you need to do these steps:


- Take a screenshot from the current scene. The code for this already exists in the base scripts, though you'll need to leave out the blur part.


- Either transition to a black screen or to the new map, depending on how you want to fade.


- Display the screenshot on top of the scene.


- Gradually fadeout the screenshot using either technique.


- At the end, set the scene active.
Okay...so lets say I wanted to convert this into MV format...can I do that easily?:

Spoiler
Code:
module FrameBuffer

  def self.start(frames = 1, viewport_z = 10000)
    dispose unless disposed?
    this_frame =  Graphics.snap_to_bitmap
    @buffer = []
    @viewport = Viewport.new
    @viewport.z = viewport_z
    
    frames.times do
      sprite = Sprite.new(@viewport)
      sprite.bitmap = this_frame.clone
      sprite.x = Graphics.width / 2
      sprite.y = Graphics.height / 2
      sprite.ox = Graphics.width / 2
      sprite.oy = Graphics.height / 2
      @buffer.push(sprite)
    end
    this_frame.dispose
  end
  
  def self.dispose
    return if disposed?
    @buffer.each {|sprite| sprite.dispose}
    @viewport.dispose if @viewport
    @buffer = nil 
  end
  
  def self.disposed?
    !@buffer
  end
  
  # Deletes the oldest frame bitmaps and shuffles all the bitmaps down
  # replacing the first frame with a fresh snap shot
  def self.cycle
    return if disposed?
    @buffer[-1].bitmap.dispose
    @buffer.each_index do |i|
      next if i == 0
      @buffer[i].bitmap = @buffer[i - 1].bitmap
    end
    @buffer[0].bitmap = Graphics.snap_to_bitmap
  end
  
  # Set's all the frame buffer sprites to use a fresh snapshot
  def self.refresh
    this_frame = Graphics.snap_to_bitmap
    @buffer.each do |sprite|
      sprite.bitmap.dispose
      sprite.bitmap = this_frame.clone
    end
    this_frame.dispose
  end
  
  def self.[](num)
    return nil if disposed?
    return @buffer[num]
  end
  
end

class Scene_Map < Scene_Base

  #--------------------------------------------------------------------------
  # * Preprocessing for Battle Screen Transition
  #--------------------------------------------------------------------------
  def pre_battle_scene
    Graphics.update
    Graphics.freeze
    
    FrameBuffer.start(3)
    
    FrameBuffer[0].z = 0
    FrameBuffer[0].zoom_x = 1
    FrameBuffer[0].zoom_y = 1
    FrameBuffer[0].opacity = 235
    FrameBuffer[0].angle = 0
    FrameBuffer[0].blend_type = 0
    
    FrameBuffer[1].z = 1
    FrameBuffer[1].zoom_x = 1.01
    FrameBuffer[1].zoom_y = 1.01
    FrameBuffer[1].opacity = 128
    FrameBuffer[1].angle = 359
    FrameBuffer[1].blend_type = 0
   
    FrameBuffer[2].z = 2
    FrameBuffer[2].zoom_x = 0.8
    FrameBuffer[2].zoom_y = 0.9
    FrameBuffer[2].opacity = 12
    FrameBuffer[2].angle = 12
    FrameBuffer[2].blend_type = 1
    
    @spriteset.dispose_characters
    BattleManager.save_bgm_and_bgs
    BattleManager.play_battle_bgm
    Sound.play_battle_start
  end

  #--------------------------------------------------------------------------
  # * Execute Pre-Battle Transition
  #--------------------------------------------------------------------------
  def perform_battle_transition
    Graphics.transition(1)
    (0..60).each do |i|
      Graphics.brightness = 255
      FrameBuffer.refresh
      Graphics.frame_reset
      Graphics.brightness = 255 - (255 * ((i - 40) / 20.0)) if i > 40
      Graphics.update
    end
    FrameBuffer.dispose
    Graphics.freeze
  end
  
end
I pretty much forgot everything about Ruby, so i can't help you with that ^^ I might make a transition plugin someday, though (likely using a shader and as such being WebGL only).
Because the developers simply decided to develop other things. Although there are some battle transitions plugins around.


A transition plugin using PIXI filters are on my plans, but it's not on the top of priority.
If you plan on using more advanced transitions (by using a grayscale texture similar to older makers), you'll need to use a shader instead of a filter. It's actually the same class, but is registered with sprite.shader instead of sprite.filters. There's a bug in MV's PIXI version, that prevents you from passing additional textures into a filter.
I've moved this thread to MV Support (I won't move it to Plugin Requests as you said you're not requesting one, but it IS an MV question). Please be sure to post your threads in the correct forum next time. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/why-are-mv-transition-plugins-non-existant.57326/