#--------------------------------------------------------------------------------
# ==[LEGAL CRAP]==
# - You may modify this script as you see fit
# - You may use this script freely in any commercial or free game
# - Due to the simplicity of the script, you are not required to credit the author
# if you use it in any of your games. Credit is nice, but not required.
#
# Script Authored by: Matt Sully aka "Gump",修改整合by:NTRPG天空花嫁
#================================================================================
# Fullscreen++ v2.2 for VX and VXace by Zeus81
# Free for non commercial and commercial use
# Licence : http://creativecommons.org/licenses/by-sa/3.0/
# Contact : [email protected]
# (fr) Manuel d'utilisation : http://pastebin.com/raw.php?i=1TQfMnVJ
# (en) User Guide : http://pastebin.com/raw.php?i=EgnWt9ur
# (cn) NTRPG天空花嫁 : http://patreon.com/NTRPG
# 放在Main前面
#==============================================================================
# ★ RGSS3_解像度変更
#==============================================================================
Graphics.resize_screen(544, 416) # 更改窗口大小(640, 480)
#==============================================================================
# ■ Game_Troop
#==============================================================================
class Game_Troop < Game_Unit
#--------------------------------------------------------------------------
# ● セットアップ
#--------------------------------------------------------------------------
alias tmwresize_game_troop_setup setup
def setup(troop_id)
tmwresize_game_troop_setup(troop_id)
@enemies.each do |enemy| # バトラー座標の補正
enemy.screen_x = enemy.screen_x * Graphics.width / 544
enemy.screen_y = enemy.screen_y * Graphics.height / 416
# 解像度が変わっても Window_BattleStatus のサイズは変わらないため
# その誤差を埋めるためにY座標だけさらに微調整します
h = 120 # Window_BattleStatus の高さ
enemy.screen_y += h * Graphics.height / 416 - h
end
end
end