赞 | 0 |
VIP | 0 |
好人卡 | 110 |
积分 | 1 |
经验 | 24791 |
最后登录 | 2013-6-25 |
在线时间 | 687 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 687 小时
- 注册时间
- 2012-10-29
- 帖子
- 1543
|
- #===========================================================================
- # Window Color Opacity - v1.0
- # Author: Melkino
- #===========================================================================
- $imported = {} if $imported.nil?
- $imported["MK-WindowOpacity"] = true
- #-------------------------------------------------------------------------
- # ▼ About
- #-------------------------------------------------------------------------
- # This script lets you change the opacity of the colored portion of game
- # windows. Window borders are unaffected, though.
- #
- #-------------------------------------------------------------------------
- # ▼ Installation
- #-------------------------------------------------------------------------
- # Paste below Materials and above Main.
- #
- #-------------------------------------------------------------------------
- # ▼ Updates
- #-------------------------------------------------------------------------
- # May 9, 2012 - Started & finished script
- #
- #-------------------------------------------------------------------------
- class Window_Base < Window
- module MK_WIN_OPA
-
- # Input a value between 0-255.
- # 0 makes windows fully transparent, while 255 makes them opaque.
- OPACITY = 120 #<-不透明度改这个值 0-255
-
- end #module
-
- #===========================================================================
- # Customization ends here.
- #===========================================================================
- #--------------------------------------------------------------------------
- # * Object Initialization
- #--------------------------------------------------------------------------
-
- alias mk_initialize initialize
- def initialize(x, y, width, height)
- super
- self.windowskin = Cache.system("Window")
- self.back_opacity = MK_WIN_OPA::OPACITY
- update_padding
- update_tone
- create_contents
- @opening = @closing = false
- end
-
- end # class
复制代码 菜单半透明的话,可以试试这个,默认脚本的窗口会一致变成半透明,
在国外的 RGSS3 论坛看到的,跟 RMXP 的半透明窗口脚本效果差不多,
不过像任务系统或敌人图鉴这一类不是默认的脚本就不一定了。 |
|