def draw_actor_face(actor, x, y)
bitmap = RPG::Cache.picture(actor.character_name)
cw = bitmap.width
ch = bitmap.height
src_rect = Rect.new(0, 0, cw, ch)
self.contents.blt(x, y, bitmap, src_rect)
end
以下引用小包子于2008-2-18 21:41:22的发言:
555详细点啊 ... 写在哪? 还有 能不能显示图片为 角色编号+D
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |