Project1
标题:
怎么让商店窗口变成透明的?
[打印本页]
作者:
神蛋威武
时间:
2011-2-20 17:41
标题:
怎么让商店窗口变成透明的?
我记得上次某好心人给我个脚本。。但是ESC键召唤出的窗口也透明了。求问怎么能只让商店窗口只有字,没有底图? dsu_plus_rewardpost_czw
作者:
Wind2010
时间:
2011-2-20 18:03
class Window_Base < Window
def initialize(x, y, width, height)
super()
@windowskin_name = $game_system.windowskin_name
self.windowskin = RPG::Cache.windowskin(@windowskin_name)
self.x = x
self.y = y
self.width = width
self.height = height
self.z = 100
if $scene.is_a?(Scene_Shop)
self.back_opacity = 160
end
end
end
class Scene_Shop
alias main_old main
def main
@screen = Spriteset_Map.new
main_old
@screen.dispose
end
end
复制代码
欢迎光临 Project1 (https://rpg.blue/)
Powered by Discuz! X3.1