RPGXP 스크립트
2008.02.14 08:28

c[n] 명령어 줄때의 색상 결정.

조회 수 1019 추천 수 1 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

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

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
Window_base 클래스에
아래 부분이 그 색들을 결정하는 스크립트입니다.
아마 기본적으로 37줄 부터 시작될겁니다.
괄호안에 숫자는 RGB 칼라와 투명도를 의미합니다.
(빨강,녹색,파랑,투명도)
0~255 사이의 색을 결정할 수 있고 투명도는 255일경우 불투명 0일경우 완전투명.
이 색을 쉽게 알려면 캐릭터 레이더 같은 프로그램을 사용해 보세요. RGB로 색을 결정하는 프로그램 들이니까.
===============================================================================================
  #--------------------------------------------------------------------------
  # ● 문자색취득
  #     n : 문자색번호 (0~7)
  #--------------------------------------------------------------------------
  def text_color(n)
    case n
    when 0
      return Color.new(255, 255, 255, 255)
    when 1
      return Color.new(128, 128, 255, 255)
    when 2
      return Color.new(255, 128, 128, 255)
    when 3
      return Color.new(128, 255, 128, 255)
    when 4
      return Color.new(128, 255, 255, 255)
    when 5
      return Color.new(255, 128, 255, 255)
    when 6
      return Color.new(255, 255, 128, 255)
    when 7
      return Color.new(192, 192, 192, 255)  <-이 부분의 숫자를 변경하면 원하는 색으로 변경가능.
    else
      normal_color
    end
  end
?

  1. 상점 메뉴 개조시킨 스크립트

    Date2013.09.24 CategoryRPGXP 스크립트 By청담 Views1008 Votes0
    Read More
  2. c[n] 명령어 줄때의 색상 결정.

    Date2008.02.14 CategoryRPGXP 스크립트 By창조도시 Views1019 Votes1
    Read More
  3. 장비제련 스크립트

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

    Date2013.09.24 CategoryRPGXP 스크립트 By청담 Views1034 Votes0
    Read More
  5. 타이틀 스크립트

    Date2014.12.05 CategoryRPGXP 스크립트 By 운 Views1036 Votes0
    Read More
  6. 아이템 갯수 제한

    Date2013.10.01 CategoryRPGXP 스크립트 By Views1065 Votes0
    Read More
  7. 죽었을경우 마을로이동 스크립트

    Date2013.09.24 CategoryRPGXP 스크립트 By청담 Views1071 Votes0
    Read More
  8. 대기 회복 스크립트

    Date2013.10.01 CategoryRPGXP 스크립트 By Views1078 Votes0
    Read More
  9. 레벨업시 능력치 표시

    Date2013.10.01 CategoryRPGXP 스크립트 By Views1081 Votes0
    Read More
  10. 타이틀 로딩 스크립트

    Date2014.12.07 CategoryRPGXP 스크립트 By 운 Views1084 Votes0
    Read More
  11. UNR (아시려나... ) - 상태 이상

    Date2013.01.20 CategoryRPGXP 스크립트 By동동주 Views1087 Votes0
    Read More
  12. [아힝흥행]레벨한계 돌파 스크립트

    Date2013.09.24 CategoryRPGXP 스크립트 By아힝흥행 Views1100 Votes0
    Read More
  13. 횡스크롤 스크립트

    Date2013.09.27 CategoryRPGXP 스크립트 By 운 Views1115 Votes0
    Read More
  14. 동료가 기차처럼 따라오는 스크립트

    Date2013.09.24 CategoryRPGXP 스크립트 By청담 Views1119 Votes0
    Read More
  15. 지정한 아이템 갯수 제한 스크립트

    Date2013.09.24 CategoryRPGXP 스크립트 By청담 Views1137 Votes0
    Read More
  16. 복권 스크립트

    Date2013.10.01 CategoryRPGXP 스크립트 By Views1149 Votes0
    Read More
  17. FPS 표시 스크립트

    Date2013.09.27 CategoryRPGXP 스크립트 By 운 Views1167 Votes0
    Read More
  18. 로고 스크립트

    Date2014.12.10 CategoryRPGXP 스크립트 By 운 Views1180 Votes1
    Read More
  19. 모든 글자에 외곽선 넣는 스크립트

    Date2013.09.20 CategoryRPGXP 스크립트 By청담 Views1189 Votes0
    Read More
  20. 얼굴표시/문장을 한글자씩 나타내주는 스크립트 (출처-히페리온)

    Date2014.06.22 CategoryRPGXP 스크립트 By시르카 Views1193 Votes0
    Read More
Board Pagination Prev 1 2 3 4 5 6 7 8 Next
/ 8






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

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