| 赞 | 0  | 
 
| VIP | 0 | 
 
| 好人卡 | 0 | 
 
| 积分 | 1 | 
 
| 经验 | 289 | 
 
| 最后登录 | 2013-7-3 | 
 
| 在线时间 | 21 小时 | 
 
 
 
 
 
Lv1.梦旅人 
	- 梦石
 - 0 
 
        - 星屑
 - 50 
 
        - 在线时间
 - 21 小时
 
        - 注册时间
 - 2013-6-23
 
        - 帖子
 - 25
 
 
 
 | 
	
加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员  
 
x
 
       每次按ESC键就跳出“脚本'Cache'的第79发生了RGSSError,failed to create bitmap”,没修改过脚本不知道怎么会出错, 
之前在开场的自动执行最前面插入了禁止存档,在外面加了定点存档,就这样了,后来把禁止存档删了还是出错我就不懂了。 
def self.load_bitmap(folder_name, filename, hue = 0) 
    @Cache = {} if @cache == nil 
    path = folder_name + filename 
    if not @cache.include?(path) or @cache[path].disposed? 
      if filename.empty? 
        @cache[path] = Bitmap.new(32, 32) 
      else 
          @cache[path] = Bitmap.new(path)#第79行 
      end     
    end 
    if hue == 0 
      return @cache[path] 
    else 
      key = [path, hue] 
      if not @cache.include?(key) or @cache[key].disposed? 
        @cache[key] = @cache[path].clone 
        @cache[key].hue_change(hue) 
      end 
      return @cache[key] 
    end 
  end 
end  |   
 
 
 
 |