RPGXP 스크립트
2013.09.20 06:40

모든 글자에 외곽선 넣는 스크립트

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

단축키

Prev이전 문서

Next다음 문서

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

단축키

Prev이전 문서

Next다음 문서

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

#===============================================================
# ● [XP/VX Snippet] ? Outline Text ? □
# ~ Auto outlined all the text in game ~
#--------------------------------------------------------------
# ? by Woratana [woratana@hotmail.com]
# ? Thaiware RPG Maker Community
# ? Released on: 26/07/2008
# ? Version: 1.0
#--------------------------------------------------------------

if defined? Graphics.wait # Check if it is running in VX
  Font.default_shadow = false # [VX Only] Enable Text Shadow? (true / false) #
end

class Bitmap
  alias wora_outlinetxt_bmp_draw_text draw_text unless $@
  def draw_text(*args)
    case args.size
    when (2..3) # rect, str, [align]
      x, y, w, h, str, align =
      args[0].x, args[0].y, args[0].width, args[0].height, args[1],
      args[2].nil? ? 0 : args[2]
    else # x, y, w, h, str, [align]
      x, y, w, h, str, align =
      args[0], args[1], args[2], args[3], args[4],
      args[5].nil? ? 0 : args[5]
    end
    ori_color = self.font.color.clone
    self.font.color = Color.new(0, 0, 0) # Outline Color #
    wora_outlinetxt_bmp_draw_text(x-1, y, w, h, str, align)
    wora_outlinetxt_bmp_draw_text(x+1, y, w, h, str, align)
    wora_outlinetxt_bmp_draw_text(x, y-1, w, h, str, align)
    wora_outlinetxt_bmp_draw_text(x, y+1, w, h, str, align)
    self.font.color = ori_color
    wora_outlinetxt_bmp_draw_text(x, y, w, h, str, align)
  end
end

?

  1. 부드러운화면이동

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Date2013.09.24 CategoryRPGXP 스크립트 By청담 Views845 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(김원배) | 사신지(김병국)