以下引用redant于2009-4-14 9:04:59的发言:
半透明脚本
#==============================================================================
# 本脚本来自www.66RPG.com,使用和转载请保留此信息
#==============================================================================
#==============================================================================
# ■ Window_Base
#==============================================================================
class Window_Base < Window
alias xrxs_mp7_initialize initialize
def initialize(x, y, width, height)
xrxs_mp7_initialize(x, y, width, height)
if $scene.is_a?(Scene_Menu) or
$scene.is_a?(Scene_Item) or
$scene.is_a?(Scene_Skill) or
$scene.is_a?(Scene_Equip) or
$scene.is_a?(Scene_Status) or
$scene.is_a?(Scene_SLW) or
$scene.is_a?(Scene_Save) or
#$scene.is_a?(Scene_Load) or
$scene.is_a?(Scene_Task) or
$scene.is_a?(Scene_Craft) or
$scene.is_a?(Scene_Lvup) or
$scene.is_a?(Chaochao_Scene_Party) or
$scene.is_a?(Scene_Shop) or
$scene.is_a?(Scene_End)
self.back_opacity = 180 #————这个数值可调,为透明程度
end
end
end
module XRXS_MP7_Module
def create_spriteset
@spriteset = Spriteset_Map.new
end
def dispose_spriteset
@spriteset.dispose
end
end
class Scene_Menu
include XRXS_MP7_Module
alias xrxs_mp7_main main
def main
create_spriteset
xrxs_mp7_main
dispose_spriteset
end
end
class Scene_Item
include XRXS_MP7_Module
alias xrxs_mp7_main main
def main
create_spriteset
xrxs_mp7_main
dispose_spriteset
end
end
class Scene_Skill
include XRXS_MP7_Module
alias xrxs_mp7_main main
def main
create_spriteset
xrxs_mp7_main
dispose_spriteset
end
end
class Scene_Equip
include XRXS_MP7_Module
alias xrxs_mp7_main main
def main
create_spriteset
xrxs_mp7_main
dispose_spriteset
end
end
class Scene_Status
include XRXS_MP7_Module
alias xrxs_mp7_main main
def main
create_spriteset
xrxs_mp7_main
dispose_spriteset
end
end
class Scene_SLW
include XRXS_MP7_Module
# alias xrxs_mp7_main main
def main
create_spriteset
xrxs_mp7_main
dispose_spriteset
end
end
class Scene_Save
include XRXS_MP7_Module
alias xrxs_mp7_main main
def main
create_spriteset
xrxs_mp7_main
dispose_spriteset
end
end
#class Scene_Load
# include XRXS_MP7_Module
# alias xrxs_mp7_main main
# def main
# create_spriteset
# xrxs_mp7_main
# dispose_spriteset
# end
#end
class Scene_Task
include XRXS_MP7_Module
# alias xrxs_mp7_main main
def main
create_spriteset
xrxs_mp7_main
dispose_spriteset
end
end
class Scene_Craft
include XRXS_MP7_Module
# alias xrxs_mp7_main main
def main
create_spriteset
xrxs_mp7_main
dispose_spriteset
end
end
class Scene_Lvup
include XRXS_MP7_Module
# alias xrxs_mp7_main main
def main
create_spriteset
xrxs_mp7_main
dispose_spriteset
end
end
class Chaochao_Scene_Party
include XRXS_MP7_Module
# alias xrxs_mp7_main main
def main
create_spriteset
xrxs_mp7_main
dispose_spriteset
end
end
class Scene_Shop
include XRXS_MP7_Module
alias xrxs_mp7_main main
def main
create_spriteset
xrxs_mp7_main
dispose_spriteset
end
end
class Scene_End
include XRXS_MP7_Module
alias xrxs_mp7_main main
def main
create_spriteset
xrxs_mp7_main
dispose_spriteset
end
end
#==============================================================================
# 本脚本来自www.66RPG.com,使用和转载请保留此信息
#==============================================================================
剩下的就是窗口大小以及坐标调整了
系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~
以下引用慕雪丶子轩于2009-4-14 12:49:24的发言:
http://rpg.blue/web/htm/news1232.htm
你去看看这个 , 是要做成这样的菜单吗 ?
以下引用梦影天翼于2009-4-14 12:56:53的发言:
VX就是华丽......不过就是素材和地图不好艾......VX和XP一样强大就好了..
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |