XP 스크립트

#==============================================================================
# ■ Bitmap
#------------------------------------------------------------------------------
#  Bitmap 클래스(class) 방법(method) 추가
#==============================================================================

class Bitmap
  #--------------------------------------------------------------------------
  # ● 테두리 두르기 문자 묘화
  #--------------------------------------------------------------------------
  def draw_frame_text(x, y, width, height, string, align = 0,
      frame_color = Color.new(0, 0, 0))
    # 원래의 색을 보존해 둔다
    origin_color = font.color.dup
    # 테두리 두르기
    font.color = frame_color
    draw_text(x - 1, y - 1, width, height, string, align)
    draw_text(x - 1, y + 1, width, height, string, align)
    draw_text(x + 1, y - 1, width, height, string, align)
    draw_text(x + 1, y + 1, width, height, string, align)
    # 원래의 색에 되돌리고 묘화
    font.color = origin_color
    draw_text(x, y, width, height, string, align)
  end
  #--------------------------------------------------------------------------
  # ● 영 문자 묘화
  #--------------------------------------------------------------------------
  def draw_shadow_text(x, y, width, height, string, align = 0,
      shadow_color = Color.new(0, 0, 0))
    # 원래의 색을 보존해 둔다
    origin_color = font.color.dup
    # 영 묘화
    font.color = shadow_color
    draw_text(x + 2, y + 2, width, height, string, align)
    # 원래의 색에 되돌리고 묘화
    font.color = origin_color
    draw_text(x, y, width, height, string, align)
  end
end

Who's 백호

?

이상혁입니다.

http://elab.kr

Comment '7'

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 스크립트 자료 게시물 작성시 주의사항 습작 2012.12.24 7325
561 전투 사이비 CTB 1 file 백호 2009.02.21 1714
560 기타 레벨, 능력치 무한 스크립트 3 백호 2009.02.22 1720
559 이동 및 탈것 이벤트의 스크립트로 기동하는 점프 루트 완성 2 file 백호 2009.02.21 1722
558 전투 Kingdom Hearts 스타일의 전투 시스템 1 백호 2009.02.21 1722
557 전투 KGC_SeparationCommand file 백호 2009.02.22 1725
556 기타 테트리스 ?구현 스크립트 2 file 백호 2009.02.21 1729
555 기타 양손무기, 전신갑옷 스크립트 2 백호 2009.02.22 1729
554 전투 KGC_RankConception(대열 개념) file 백호 2009.02.22 1730
553 스킬 스킬 Learning 스크립트 1 file 백호 2009.02.21 1737
552 영상 The AVI Player 1.3 by DerVVulfman 3 Alkaid 2010.10.08 1740
551 상점 상점에서 Q.W버튼으로 순서를 바꿈!상점스텟 상세화 업그레이드 1 백호 2009.02.21 1742
550 기타 레벨업스크립트(xp) 2 게임을만들자! 2014.08.05 1742
549 이동 및 탈것 8방향 이동 & 대쉬 스크립트 5 백호 2009.02.21 1743
548 직업 직업마다 다른 성장 2 백호 2009.02.22 1743
547 기타 CG그림 감상 스크립트 file 백호 2009.02.21 1750
546 기타 간단한 Scene_Base #2 2 Alkaid 2012.01.15 1751
545 기타 창고 스크립트 5 긔염둥이♥ 2012.06.18 1751
544 기타 일본RPGXP게임에서 번역한 스크립트 입니다. 1 백호 2009.02.22 1752
543 전투 Prize Point System 2.0 by Dark Ruby@rmxp.org 3 file 백호 2009.02.22 1754
542 기타 필드에서 체력을 출력합니다. 4 백호 2009.02.22 1755
Board Pagination Prev 1 ... 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 ... 52 Next
/ 52