IceDragon200

SnapshotNoBlur

May 1st, 2011
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.90 KB | None | 0 0
  1. # // $scene.snapshot_for_background
  2. # // $game_temp.background_bitmap
  3.  
  4. class Scene_Base
  5.  
  6.   #--------------------------------------------------------------------------
  7.   # * Create Snapshot for Using as Background of Another Screen
  8.   #--------------------------------------------------------------------------
  9.   def snapshot_for_background
  10.     $game_temp.background_bitmap.dispose
  11.     $game_temp.background_bitmap = Graphics.snap_to_bitmap
  12.     #$game_temp.background_bitmap.blur
  13.   end
  14.  
  15.   #--------------------------------------------------------------------------
  16.   # * Create Background for Menu Screen
  17.   #--------------------------------------------------------------------------
  18.   def create_menu_background
  19.     @menuback_sprite = Sprite.new
  20.     @menuback_sprite.bitmap = $game_temp.background_bitmap
  21.     #@menuback_sprite.color.set(16, 16, 16, 128)
  22.     update_menu_background
  23.   end
  24.  
  25. end
Advertisement
Add Comment
Please, Sign In to add comment