Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # =============================================================================
- # TheoAllen - Simple Menu Background
- # Version : 0.9
- # Contact : www.rpgmakerid.com
- # (This script documentation is written in informal indonesian language)
- # =============================================================================
- $imported = {} if $imported.nil?
- $imported[:Theo_MenuBG] = true
- # =============================================================================
- # CHANGE LOGS:
- # -----------------------------------------------------------------------------
- # 2013.05.02 - Started and Finished script
- # =============================================================================
- =begin
- PENGENALAN :
- Script ini ngebikin kamu bisa nampilin background pas di menu
- CARA PEMAKAIAN :
- Pasang script ini diatas main tapi dibawah material
- edit konfigurasinya
- TERMS OF USE :
- Karena scriptnya mayan simple, jadi ga ada kondisi khusus. Pake aja terserah.
- Credit jg ga diharuskan
- NOTE :
- Karena picture gw masukin Scene MenuBase, jadi semua scene yg ngambil dari
- MenuBase bakal ketimpa gambar background menu jg
- =end
- # =============================================================================
- # Konfigurasi
- # =============================================================================
- module THEO
- module MENU
- # ganti nama filenya disini
- # gambar harus ada di folder Graphics/system
- BACKGROUND = "test"
- end
- end
- # =============================================================================
- # Akhir dari konfigurasi
- # =============================================================================
- class Scene_MenuBase < Scene_Base
- alias menu_background create_background
- def create_background
- begin
- @background_sprite = Sprite.new
- @background_sprite.bitmap = Cache.system(THEO::MENU::BACKGROUND)
- rescue
- menu_background
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment