| 赞 | 0  | 
 
| VIP | 0 | 
 
| 好人卡 | 0 | 
 
| 积分 | 1 | 
 
| 经验 | 2731 | 
 
| 最后登录 | 2021-1-22 | 
 
| 在线时间 | 132 小时 | 
 
 
 
 
 
Lv1.梦旅人 
	- 梦石
 - 0 
 
        - 星屑
 - 115 
 
        - 在线时间
 - 132 小时
 
        - 注册时间
 - 2009-9-16
 
        - 帖子
 - 60
 
 
 
 | 
	
加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员  
 
x
 
怎么改透明和更换颜色啊? 
 
脚本下面 
 
#==============================================================================   # 本脚本来自[url]www.66RPG.com[/url],使用和转载请保留此信息   #==============================================================================   #==============================================================================   # ■ Window_PlayTime   #------------------------------------------------------------------------------   #  菜单画面显示游戏时间的窗口。   #==============================================================================     class Window_PlayTime < Window_Base     #--------------------------------------------------------------------------     # ● 初始化对像     #--------------------------------------------------------------------------     def initialize       super(0, 0, 160, 128 )       self.contents = Bitmap.new(width - 32, height - 32)       refresh     end     #--------------------------------------------------------------------------     # ● 刷新     #--------------------------------------------------------------------------     def refresh       self.contents.clear       self.contents.font.color = system_color       self.contents.draw_text(4, -4, 120, 32, "时间")       @total_sec = Graphics.frame_count / Graphics.frame_rate       t = Time.now   $game_variables[204] = t.wday  # 星期   $game_variables[208] = ["周日", "周一", "周二", "周三", "周四", "周五", "周六"][$game_variables[204]]   text = sprintf("%02d:%02d:%02d", t.hour, t.min, t.sec)  text2 = sprintf("%02d.%02d.%02d", t.year, t.month, t.day)  text3 = sprintf($game_variables[208])  self.contents.font.color = normal_color       self.contents.draw_text(4, 24, 110, 32, text2, 2)       self.contents.draw_text(-25, 48, 110, 32, text3, 2)       self.contents.draw_text(-3, 72, 110, 32, text, 2)       end     #--------------------------------------------------------------------------     # ● 刷新画面     #--------------------------------------------------------------------------     def update       super       if Graphics.frame_count / Graphics.frame_rate != @total_sec         refresh       end     end   end   #==============================================================================   # 本脚本来自[url]www.66RPG.com[/url],使用和转载请保留此信息   #============================================================================== 
 
 #==============================================================================  
   
# 本脚本来自[url]www.66RPG.com[/url],使用和转载请保留此信息  
   
#==============================================================================  
   
#==============================================================================  
   
# ■ Window_PlayTime  
   
#------------------------------------------------------------------------------  
   
#  菜单画面显示游戏时间的窗口。  
   
#==============================================================================  
   
   
class Window_PlayTime < Window_Base  
   
  #--------------------------------------------------------------------------  
   
  # ● 初始化对像  
   
  #--------------------------------------------------------------------------  
   
  def initialize  
   
    super(0, 0, 160, 128 )  
   
    self.contents = Bitmap.new(width - 32, height - 32)  
   
    refresh  
   
  end  
   
  #--------------------------------------------------------------------------  
   
  # ● 刷新  
   
  #--------------------------------------------------------------------------  
   
  def refresh  
   
    self.contents.clear  
   
    self.contents.font.color = system_color  
   
    self.contents.draw_text(4, -4, 120, 32, "时间")  
   
    @total_sec = Graphics.frame_count / Graphics.frame_rate  
   
    t = Time.now  
   
$game_variables[204] = t.wday  # 星期  
   
$game_variables[208] = ["周日", "周一", "周二", "周三", "周四", "周五", "周六"][$game_variables[204]]  
   
text = sprintf("%02d:%02d:%02d", t.hour, t.min, t.sec)   
text2 = sprintf("%02d.%02d.%02d", t.year, t.month, t.day)   
text3 = sprintf($game_variables[208])   
self.contents.font.color = normal_color  
   
    self.contents.draw_text(4, 24, 110, 32, text2, 2)  
   
    self.contents.draw_text(-25, 48, 110, 32, text3, 2)  
   
    self.contents.draw_text(-3, 72, 110, 32, text, 2)  
   
    end  
   
  #--------------------------------------------------------------------------  
   
  # ● 刷新画面  
   
  #--------------------------------------------------------------------------  
   
  def update  
   
    super  
   
    if Graphics.frame_count / Graphics.frame_rate != @total_sec  
   
      refresh  
   
    end  
   
  end  
   
end  
   
#==============================================================================  
   
# 本脚本来自[url]www.66RPG.com[/url],使用和转载请保留此信息  
   
#==============================================================================  
 
  
 
 
 
 
‘‘──547895913于2012-8-18 11:16补充以下内容: 
 
我的时间窗口已经摆在地图上了 求透明指教 谢谢 
’’ |   
 
 
 
 |