RPGXP 스크립트
2013.09.20 06:40

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

조회 수 1183 추천 수 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. 캐릭터 그림자

  2. 촬영 기술(부드러운 맵스크롤)

  3. game testplay 테스트중 게임속도 상승 스크립트

  4. [아힝흥행]레벨한계 돌파 스크립트

  5. 미니맵 스크립트

  6. 맵 이름 표시 스크립트

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

  8. 게임프레임 조절

  9. Wave Filter

  10. 전투 도중 멤버교체가 가능해지는 플러그인

  11. Multiple HUD

  12. Custom Icon Sheets (커스텀 아이콘 적용 스크립트)

  13. Damage Popup by Dargor (데미지 수치 팝업하는 스크립트)

  14. Crafting System (아이템 조합 시스템)

  15. Icon Inventory and Details Window (인벤토리 아이템을 아이콘으로 보이게)

  16. Advanced Game Time (게임에 시간개념을 적용해주는 플러그인)

  17. MBS - Map Zoom plugin (맵을 확대,축소해주는 플러그인)

  18. Action Sequence Pack 2 (전투모드 액션 플러그인)

  19. [C#] 보안 64비트 정수

  20. Weather EX 날씨 확장 플러그인입니다.

Board Pagination Prev 1 ... 3 4 5 6 7 8 9 10 11 12 ... 15 Next
/ 15






[개인정보취급방침] | [이용약관] | [제휴문의] | [후원창구] | [인디사이드연혁]

Copyright © 1999 - 2016 INdiSide.com/(주)씨엘쓰리디 All Rights Reserved.
인디사이드 운영자 : 천무(이지선) | kernys(김원배) | 사신지(김병국)