- 注册时间
- 2010-6-26
- 最后登录
- 2011-5-2
②入门
- 积分
- 36
|
又有新問題
開始遊戲都沒問題,
按下開始遊戲去到第1個場景就有這些警告彈出來,
又是運行不到了
不能上傳圖啊~只好打出來了.. :
script 'cache'line 79: RGSSError occurred.
falled 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
[*line 79*-->] @cache[path] = Bitmap.new(path)
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 |
|