def draw_actor_face(actor, x, y)
bitmap = RPG::Cache.picture(actor.character_name + "_f")
cw = bitmap.width
ch = bitmap.height
src_rect = Rect.new(0, 0, cw, ch)
self.contents.blt(x - cw / 2, y - ch, bitmap, src_rect)
end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |