Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # =============================================================================
- # TheoAllen - Battleback Autoresize
- # Version : 1.0
- # Contact : www.rpgmakerid.com (or) http://theolized.blogspot.com
- # (This script documentation is written in informal indonesian language)
- # =============================================================================
- ($imported ||= {})[:Theo_ResizeBG] = true
- # =============================================================================
- # CHANGE LOGS:
- # -----------------------------------------------------------------------------
- # 2013.05.15 - Started and Finished script
- # =============================================================================
- =begin
- Perkenalan :
- Script ini cuman bikin battleback bisa nyesuain ama lebar layar kalo semisal
- u make script yang ngubah layar RM
- Cara penggunaan :
- Pasang diatas main tapi dibawah material
- Terms of use :
- No special condition. No credit needed
- =end
- # =============================================================================
- # Tidak ada konfigurasi
- # =============================================================================
- class Spriteset_Battle
- alias pre_resize_battleback1 create_battleback1
- alias pre_resize_battleback2 create_battleback2
- def create_battleback1
- pre_resize_battleback1
- @back1_sprite.zoom_x = Graphics.width / 544.0
- @back1_sprite.zoom_y = Graphics.height / 416.0
- end
- def create_battleback2
- pre_resize_battleback2
- @back2_sprite.zoom_x = Graphics.width / 544.0
- @back2_sprite.zoom_y = Graphics.height / 416.0
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment