Advertisement
TroyZ

TroyZ - Blur Battleback Remover

Dec 16th, 2013
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 2.52 KB | None | 0 0
  1. # ==============================================================================
  2. # ▼▼▼▼▼▼                 TroyZ - Blur Battleback Remover                  ▼▼▼▼▼▼
  3. # ==============================================================================
  4. # Script by : Agung Prasetyo(TroyZ)
  5. # Contact me by : - Email agung.endisnear.xyz@gmail.com
  6. #                 - Forum RPGMakerID, username TroyZ
  7. #                 - Handphone 085756289121
  8. # Engine : VXAce
  9. # Level : Easy
  10. # Version : 1.0
  11. # ------------------------------------------------------------------------------
  12. # Change Logs :
  13. # 17 December 2013 : Version 1.0 released
  14. # ------------------------------------------------------------------------------
  15. # How this work :
  16. # This script allows you to remove the blur effect on battleback so when you
  17. # use the map without the battleback setting, the map will be used clearly as
  18. # battleback without any blur effect.
  19. # ------------------------------------------------------------------------------
  20. # How to use :
  21. # Place it between material and main. Just uncheck the battleback setting at
  22. # the map, and the map will be used as battleback without any blur effect.
  23. # ------------------------------------------------------------------------------
  24. # Compatibility issues :
  25. # None yet. If you found some, let me know, and bug fixes will come out soon.
  26. # ------------------------------------------------------------------------------
  27. # Who to credit :
  28. # - Allah swt. : For the chance of living that he has given to me.
  29. # - Nabi Muhammad saw. : As a leader and messenger and prophet of Muslim.
  30. #                        I'm proud to be your follower. :)
  31. # - Agung Prasetyo(TroyZ) : Thats me, of course, the ones that made this script. :P
  32. # ------------------------------------------------------------------------------
  33. # License :
  34. # - Free Game : Just credit those names above.
  35. # - Commercial Game : Same as free game's license.
  36. # ------------------------------------------------------------------------------
  37. $imported = {} if $imported.nil?
  38. $imported[:TroyZ_BlurBattlebackRemover] = true
  39. # ------------------------------------------------------------------------------
  40. # You shall not pass
  41. # ------------------------------------------------------------------------------
  42. class Spriteset_Battle
  43.   def create_blurry_background_bitmap
  44.     source = SceneManager.background_bitmap
  45.     bitmap = Bitmap.new(Graphics.width, Graphics.height)
  46.     bitmap.stretch_blt(bitmap.rect, source, source.rect)    
  47.     bitmap
  48.   end
  49. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement