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 6203
281 메시지 윈도우즈 확장 file 백호 2009.02.21 2566
280 상태/속성 상태창 표시 Ver 8.0 // 글씨 위치 변경 기능 + 변수 한글 7 file 코아 코스튬 2010.09.24 2566
279 기타 [RGSS XP] 게임 해상도 조절 스크립트 (*2) 11 file Cheapmunk 2014.10.03 2574
278 액터 (killer님 요청)자동회복 스크립트 3 나뚜루 2009.02.22 2575
277 전투 Mr.Mo's ABS Ultimate 7.0 by DerVVulfman 4 Alkaid 2012.08.26 2587
» 메뉴 혹시있나해서-_-.. 대화창에 테두리치기 스크립트 7 백호 2009.02.22 2596
275 전투 데미지 폰트변경 7 카르닉스 2010.02.26 2600
274 온라인 [멀티넷스크립 PvP 이벤트버전] / [넷플레이0.7.2]버전 3 file 백호 2009.02.22 2605
273 스킬 제한시간내 커맨드를 입력해야 스킬이 발동~ 3 file 백호 2009.02.22 2614
272 메뉴 각 메뉴를 호화롭게 하는 스크립트 3 file 백호 2009.02.21 2618
271 전투 자동전투 from RPG 쯔꾸르 XP RGSS Wiki 1 file 백호 2009.02.22 2622
270 타이틀/게임오버 게..임..오버.. ps인간 2009.01.23 2636
269 테두리 글자 & 그림자 글자 12 아방스 2008.09.19 2643
268 변수/스위치 셀프 스위치 조작 10 file 허걱 2009.01.30 2657
267 저장 세이브파일 망가뜨리기 by RPG Advocate 3 백호 2009.02.22 2657
266 기타 4방향 마우스 스크립트 12 file 아방스 2009.02.28 2666
265 기타 몬스터 도감 18 file 백호 2009.02.22 2669
264 미니맵 미니맵 스크랩트 + 예재 15 file WMN 2008.03.17 2675
263 이동 및 탈것 백호님이올린 발소리 스크립트를 소리만 바꾸어 밨음 4 lhh9606 2009.05.19 2680
262 스킬 스킬 포인트를 올리자! 3 what더붥 2012.01.26 2680
Board Pagination Prev 1 ... 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 ... 52 Next
/ 52