RPGXP 스크립트
2013.09.24 07:28

메뉴에 얼굴 그래픽 표시

조회 수 831 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
【사용 방법】   얼굴 그패픽으로 사용하고 싶은 사진을 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 
 
출처: 게임공작소
?

  1. 부드러운화면이동

    Date2010.10.24 CategoryRPGXP 스크립트 ByA.M.S Views2375 Votes0
    Read More
  2. 직업명 표시

    Date2010.10.24 CategoryRPGXP 스크립트 ByA.M.S Views2103 Votes0
    Read More
  3. 그레고리우스력 원리.

    Date2011.06.22 CategoryRPGXP 스크립트 By협객 Views2506 Votes0
    Read More
  4. 그레고리우스력 원리.

    Date2011.06.22 CategoryRPGXP 스크립트 By협객 Views2752 Votes0
    Read More
  5. vx 전용 오토세이브<자동저장>

    Date2011.08.31 CategoryRPGVX 스크립트 By고진수 Views2729 Votes0
    Read More
  6. vx 전용 오토세이브<자동저장>

    Date2011.08.31 CategoryRPGVX 스크립트 By고진수 Views2800 Votes0
    Read More
  7. UNR (아시려나... ) - 상태 이상

    Date2013.01.20 CategoryRPGXP 스크립트 By동동주 Views936 Votes0
    Read More
  8. UNR (아시려나... ) - 상태 이상

    Date2013.01.20 CategoryRPGXP 스크립트 By동동주 Views1082 Votes0
    Read More
  9. 게임프레임 조절

    Date2013.09.20 CategoryRPGXP 스크립트 By청담 Views1803 Votes0
    Read More
  10. 모든 글자에 외곽선 넣는 스크립트

    Date2013.09.20 CategoryRPGXP 스크립트 By청담 Views1183 Votes0
    Read More
  11. 맵 이름 표시 스크립트

    Date2013.09.20 CategoryRPGXP 스크립트 By청담 Views1438 Votes0
    Read More
  12. 미니맵 스크립트

    Date2013.09.20 CategoryRPGXP 스크립트 By청담 Views1873 Votes0
    Read More
  13. [아힝흥행]레벨한계 돌파 스크립트

    Date2013.09.24 CategoryRPGXP 스크립트 By아힝흥행 Views1097 Votes0
    Read More
  14. game testplay 테스트중 게임속도 상승 스크립트

    Date2013.09.24 CategoryRPGXP 스크립트 By부초 Views785 Votes0
    Read More
  15. 촬영 기술(부드러운 맵스크롤)

    Date2013.09.24 CategoryRPGXP 스크립트 By청담 Views1650 Votes0
    Read More
  16. 캐릭터 그림자

    Date2013.09.24 CategoryRPGXP 스크립트 By청담 Views1546 Votes0
    Read More
  17. 아이디 띄우기

    Date2013.09.24 CategoryRPGXP 스크립트 By청담 Views1027 Votes0
    Read More
  18. 동료가 기차처럼 따라오는 스크립트

    Date2013.09.24 CategoryRPGXP 스크립트 By청담 Views1117 Votes0
    Read More
  19. 직업명 띄우기

    Date2013.09.24 CategoryRPGXP 스크립트 By청담 Views769 Votes0
    Read More
  20. 메뉴에 얼굴 그래픽 표시

    Date2013.09.24 CategoryRPGXP 스크립트 By청담 Views831 Votes0
    Read More
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 15 Next
/ 15






[개인정보취급방침] | [이용약관] | [제휴문의] | [후원창구] | [인디사이드연혁]

Copyright © 1999 - 2016 INdiSide.com/(주)씨엘쓰리디 All Rights Reserved.
인디사이드 운영자 : 천무(이지선) | kernys(김원배) | 사신지(김병국)