RPGXP 스크립트
2013.09.20 06:40

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

조회 수 1186 추천 수 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. 발소리 재생 플러그인

    Date2015.12.28 CategoryRPGMV 플러그인 By러닝은빛 Views1649 Votes0
    Read More
  2. 엔딩 후 타이틀과 BGM 변경

    Date2015.12.21 CategoryRPGMV 플러그인 By러닝은빛 Views2310 Votes0
    Read More
  3. 스크린샷 파일 만들기

    Date2015.12.23 CategoryRPGMV 플러그인 By러닝은빛 Views2151 Votes0
    Read More
  4. Weather EX 날씨 확장 플러그인입니다.

    Date2016.01.03 CategoryRPGMV 플러그인 ByBeeBee Views1111 Votes0
    Read More
  5. [C#] 보안 64비트 정수

    Date2016.01.04 Category유니티 스크립트 By맛난호빵 Views385 Votes0
    Read More
  6. Action Sequence Pack 2 (전투모드 액션 플러그인)

    Date2016.01.05 CategoryRPGMV 플러그인 Byplam Views1824 Votes0
    Read More
  7. MBS - Map Zoom plugin (맵을 확대,축소해주는 플러그인)

    Date2016.01.06 CategoryRPGMV 플러그인 ByHT9MAN Views901 Votes0
    Read More
  8. Icon Inventory and Details Window (인벤토리 아이템을 아이콘으로 보이게)

    Date2016.01.06 CategoryRPGMV 플러그인 Byplam Views908 Votes0
    Read More
  9. Advanced Game Time (게임에 시간개념을 적용해주는 플러그인)

    Date2016.01.06 CategoryRPGMV 플러그인 Byplam Views1401 Votes0
    Read More
  10. Crafting System (아이템 조합 시스템)

    Date2016.01.06 CategoryRPGMV 플러그인 Byplam Views1714 Votes0
    Read More
  11. 컷신 플러그인

    Date2020.10.30 CategoryRPGMV 플러그인 By스트레이보우 Views1942 Votes0
    Read More
  12. 게임프레임 조절

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

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

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

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

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

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

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

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

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