Views 808 Votes 1 Comment 3
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
#===============================================================
# ● [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

 

붉게 칠한 부분에서 Color.new(0, 0, 0) 안의 숫자를 수정하시면 외곽선 색 변경이 가능합니다.

순서대로 R,G,B입니다.

 

ex) Color.new(255, 0, 0) 은 붉은색, Color.new(0, 255, 0) 은 초록색, Color.new(0, 0, 255) 은 파란색

?

  1. 문과 상자를 쉽게 만들수 있는 스크립트

    Date2013.10.21 CategoryRPGXP Script By Views2244 Votes0
    Read More
  2. 몬스터 도감

    Date2013.09.24 CategoryRPGXP Script By청담 Views1426 Votes0
    Read More
  3. 모션 스크립트

    Date2013.12.06 CategoryRPGXP Script By 운 Views2057 Votes0
    Read More
  4. 모바일 패드 플러그인입니다! MBS - Mobile DirPad & Action Button

    Date2015.11.07 CategoryRPGMV Plugin Bywillmv Views2007 Votes3
    Read More
  5. 모든 글자에 외곽선을 넣어주는 스크립트

    Date2013.09.26 CategoryRPGXP Script By Views808 Votes1
    Read More
  6. 모든 글자에 외곽선 넣는 스크립트

    Date2013.09.20 CategoryRPGXP Script By청담 Views1186 Votes0
    Read More
  7. 메세지에 얼굴, 이름등 다양한 기능 넣기 UMS 스크립트

    Date2013.12.10 CategoryRPGXP Script By데노제 Views1618 Votes0
    Read More
  8. 메뉴에서 실제시간 보는 스크립트

    Date2013.09.24 CategoryRPGXP Script By청담 Views607 Votes0
    Read More
  9. 메뉴에 퀘스트 있는거

    Date2013.10.12 CategoryRPGXP Script By 운 Views1960 Votes2
    Read More
  10. 메뉴에 얼굴 그래픽 표시

    Date2013.09.24 CategoryRPGXP Script By청담 Views833 Votes0
    Read More
  11. 메뉴 스크립트 Zer0 CMS

    Date2013.10.01 CategoryRPGXP Script By Views1384 Votes0
    Read More
  12. 맵타일 크기 변경 플러그인!

    Date2015.10.26 CategoryRPGMV Plugin By파란별빛 Views1406 Votes0
    Read More
  13. 맵이름 표시 스크립트

    Date2013.10.05 CategoryRPGXP Script By 운 Views2246 Votes0
    Read More
  14. 맵상에서 캐릭터 스프라이트 이미지를 offset해주는 플러그인

    Date2016.07.19 CategoryRPGMV Plugin Bylklslel Views1074 Votes0
    Read More
  15. 맵 이름을 화면 상단에 띄우기.

    Date2008.10.12 CategoryRPGXP Script By창조도시 Views2083 Votes1
    Read More
  16. 맵 이름을 화면 상단에 띄우기.

    Date2008.10.12 CategoryRPGXP Script By창조도시 Views2736 Votes1
    Read More
  17. 맵 이름 표시 스크립트

    Date2013.09.20 CategoryRPGXP Script By청담 Views1440 Votes0
    Read More
  18. 맵 이동시 로딩 그림 표시 스크립트

    Date2013.09.24 CategoryRPGXP Script By청담 Views718 Votes0
    Read More
  19. 말풍선 메세지 스크립트

    Date2014.02.24 CategoryRPGXP Script By천둥번들 Views1855 Votes0
    Read More
  20. 로고를 띄우는 스크립트

    Date2013.10.07 CategoryRPGXP Script ByXEONSOFT블로그 Views1680 Votes0
    Read More
Board Pagination Prev 1 ... 3 4 5 6 7 8 9 10 11 12 ... 15 Next
/ 15






[privacy statements] | [Terms of Use] | [Contact us] | [Sponsorship] | [Indiside History]

Copyright © 1999 - 2016 INdiSide.com/CL3D Co., Ltd. All Rights Reserved.
Owner : Chunmu(Jiseon Lee) | kernys(Wonbae Kim) | Sasinji(Byungkook Kim)