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. 경험치 표시 스크립트

    Date2013.09.24 CategoryRPGXP 스크립트 By청담 Views747 Votes0
    Read More
  2. 지정한 아이템 갯수 제한 스크립트

    Date2013.09.24 CategoryRPGXP 스크립트 By청담 Views1133 Votes0
    Read More
  3. 아이템 사용 클래스 한정 스크립트

    Date2013.09.24 CategoryRPGXP 스크립트 By청담 Views945 Votes0
    Read More
  4. 자동 세이브 스크립트

    Date2013.09.24 CategoryRPGXP 스크립트 By청담 Views841 Votes0
    Read More
  5. 죽었을경우 마을로이동 스크립트

    Date2013.09.24 CategoryRPGXP 스크립트 By청담 Views1065 Votes0
    Read More
  6. 플레이어 발소리 스크립트

    Date2013.09.24 CategoryRPGXP 스크립트 By청담 Views937 Votes0
    Read More
  7. 상점 메뉴 개조시킨 스크립트

    Date2013.09.24 CategoryRPGXP 스크립트 By청담 Views1002 Votes0
    Read More
  8. 몬스터 도감

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

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

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

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

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

    Date2013.09.24 CategoryRPGXP 스크립트 By청담 Views1546 Votes0
    Read More
  14. 촬영 기술(부드러운 맵스크롤)

    Date2013.09.24 CategoryRPGXP 스크립트 By청담 Views1650 Votes0
    Read More
  15. game testplay 테스트중 게임속도 상승 스크립트

    Date2013.09.24 CategoryRPGXP 스크립트 By부초 Views785 Votes0
    Read More
  16. [아힝흥행]레벨한계 돌파 스크립트

    Date2013.09.24 CategoryRPGXP 스크립트 By아힝흥행 Views1097 Votes0
    Read More
  17. 미니맵 스크립트

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

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

    Date2013.09.20 CategoryRPGXP 스크립트 By청담 Views1183 Votes0
    Read More
  20. 게임프레임 조절

    Date2013.09.20 CategoryRPGXP 스크립트 By청담 Views1806 Votes0
    Read More
Board Pagination Prev 1 ... 5 6 7 8 9 10 11 12 13 14 15 Next
/ 15






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

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