Hi, everybody!
I made simple little snippet to make the battle background a screenshot of the map.
The only problem is that I can't seem to make the map's events appear in the battle background.
Does anybody know how to do this?
I made simple little snippet to make the battle background a screenshot of the map.
Code:
#==============================================================================
class Spriteset_Battle
#--------------------------------------------------------------------------
def create_blurry_background_bitmap
source = SceneManager.background_bitmap
bitmap = Bitmap.new(544, 416)
bitmap.blt(bitmap.rect.x, bitmap.rect.y, source, source.rect)
bitmap
end
#--------------------------------------------------------------------------
end
#==============================================================================
module SceneManager
#--------------------------------------------------------------------------
def self.snapshot_for_background
@background_bitmap.dispose if @background_bitmap
@background_bitmap = Graphics.snap_to_bitmap
end
#--------------------------------------------------------------------------
end
#==============================================================================
The only problem is that I can't seem to make the map's events appear in the battle background.
Does anybody know how to do this?