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 7293
481 기타 무기& 방어구 레벨제한 스크립트 23 file 백호 2009.02.21 1898
480 스킬 RO Job/Skill System 2.01b by Blizzard 2 file Alkaid 2010.09.05 1898
479 장비 Angie's Equipment Sets 2.3 by DerVVulfman 7 Alkaid 2010.12.31 1898
478 기타 일시정지 스크립트 13 【§㉤ㅏ법㉧ㅣ§】 2011.02.26 1898
477 맵/타일 Editor Tiles by PK8 (XP/VX/VXA) Alkaid 2012.09.11 1904
476 전투 Mr. Mo's ABS Ultimate 1.9 by DerVVulfman 2 Alkaid 2011.12.01 1913
475 온라인 multy-netplay 로그인창에서 비밀번호를 ***표시해주는 script~! 1 백호 2009.02.22 1914
474 기타 mog-스테이터스 업그레이드? ps인간 2009.01.23 1918
473 [자작]일괄조작 관련 스크립트 5 나뚜루 2009.01.10 1920
472 전투 The Lycan ABS by DerVVulfman Alkaid 2013.07.22 1924
471 전투 전투불능 케릭터 강제삭제 7 독도2005 2008.10.05 1925
470 액터 Actor Customization 6.0.2 by Synthesize 4 file Alkaid 2010.09.17 1931
469 기타 RPG 만들기 XP의 숨겨진 모듈/클래스 재정의 스크립트 모음 1 Alkaid 2013.08.31 1932
468 이동 및 탈것 자동으로 장애물을 피해가는 스크립트 13 file 백호 2009.02.22 1947
467 전투 RTAB방식의 CBS 스크립트 Final-2 5 file 백호 2009.02.22 1951
466 HUD 게임 플레이시 맵의 이름을 표시하는 스크립트 1 file 백호 2009.02.21 1953
465 메뉴 KGC 메뉴화면 개조 스크립트 번역 3 file 백호 2009.02.22 1953
464 장비 Equipment Upgrade System 1.1 by Charlie Fleed Alkaid 2010.11.18 1955
463 키입력 전체키 입력 스크립트 v4 by Cybersam 5 file 백호 2009.02.22 1964
462 기타 요리스크립트 (구) 6 *ps인간 2009.01.26 1966
Board Pagination Prev 1 ... 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 ... 52 Next
/ 52