【사용 방법】 얼굴 그패픽으로 사용하고 싶은 사진을 Graphic/Picture에 캐릭터명과 같은 이름의 파일로 준비 합니다. 사진의 사이즈는 96×96 입니다. # 긽긦깄?됪뽋?딁긐깋긲귻긞긏?렑 -둂-??by Claimh # 럊뾭뺴? # ?긡깏귺깑긹?긚?Graphic/Picture궸 # 긌긿깋긏?궴벏궣뼹멟궻긲?귽깑귩귽깛??긣 #?긖귽긛궼96?96 class Window_Base < Window #-------------------------------------------------------------------------- # 걶 긐깋긲귻긞긏궻?됪 # actor : 귺긏?? # x : ?됪먩 X 띆뷭 # y : ?됪먩 Y 띆뷭 #-------------------------------------------------------------------------- def draw_actor_face_graphic(actor, x, y) bitmap = RPG::Cache.picture(actor.name) cw = bitmap.width ch = bitmap.height src_rect = Rect.new(0, 0, cw, ch) self.contents.blt(x - cw/2+20, y - ch + 15, bitmap, src_rect) end end class Window_MenuStatus < Window_Selectable #-------------------------------------------------------------------------- # 걶 깏긲깒긞긘깄 #-------------------------------------------------------------------------- def refresh self.contents.clear @item_max = $game_party.actors.size for i in 0...$game_party.actors.size x = 64 y = i * 116 actor = $game_party.actors[i] if (i % 2) == 0 draw_actor_face_graphic(actor, x - 40, y + 80) draw_actor_name(actor, x+50, y) draw_actor_class(actor, x + 194, y) draw_actor_level(actor, x+50, y + 32) draw_actor_state(actor, x + 130, y + 32) draw_actor_exp(actor, x+50, y + 64) draw_actor_hp(actor, x + 236, y + 32) draw_actor_sp(actor, x + 236, y + 64) else draw_actor_face_graphic(actor, x + 310, y + 80) draw_actor_name(actor, x-60, y) draw_actor_class(actor, x +84, y) draw_actor_level(actor, x-60, y + 32) draw_actor_state(actor, x + 30, y + 32) draw_actor_exp(actor, x-60, y + 64) draw_actor_hp(actor, x +136, y + 32) draw_actor_sp(actor, x +136, y + 64) end end end end