#--------------------------------------------------------------------------
# ● 初始化对像
#--------------------------------------------------------------------------
def initialize
super(0, 320, 640, 160)
self.opacity = 0 ###透明度
self.contents = Bitmap.new(width - 32, height - 32)
a = @actor.id.to_s
bitmap=Bitmap.new("Graphics/Pictures/#{a}")
src_rect = Rect.new(0, 0, bitmap.width, bitmap.height) #——可自己调整大小
self.contents.blt(x, 0, bitmap, src_rect)
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |