RPGXP 스크립트
2008.02.14 08:28

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

조회 수 1015 추천 수 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. Ghost Effect

    Date2019.01.20 CategoryRPGMV 플러그인 By러닝은빛 Views945 Votes0
    Read More
  2. game testplay 테스트중 게임속도 상승 스크립트

    Date2013.09.24 CategoryRPGXP 스크립트 By부초 Views787 Votes0
    Read More
  3. FPS 표시 스크립트

    Date2013.09.27 CategoryRPGXP 스크립트 By 운 Views1166 Votes0
    Read More
  4. FPS 표기 플러그인! (화면에 FPS값을 표기해준다!)

    Date2015.11.07 CategoryRPGMV 플러그인 Bywillmv Views750 Votes0
    Read More
  5. Font Setup

    Date2016.07.22 CategoryRPGXP 스크립트 By운님 Views1450 Votes0
    Read More
  6. EnemyBook v1.1 - SkottyTV Update(몬스터북 플러그인)

    Date2015.10.27 CategoryRPGMV 플러그인 Byplam Views1006 Votes0
    Read More
  7. Ellye's Simple ATB (RPG Maker MV)

    Date2015.10.24 CategoryRPGMV 플러그인 By파란별빛 Views1247 Votes1
    Read More
  8. Drain Percentage​​ : Hp/Mp Drain 스킬 타입 백분율 계산 플러그인

    Date2015.11.15 CategoryRPGMV 플러그인 ByMKMV Views3020 Votes0
    Read More
  9. Damage Popup by Dargor (데미지 수치 팝업하는 스크립트)

    Date2016.01.10 CategoryRPGVX Ace 스크립트 Byplam Views615 Votes0
    Read More
  10. c[n] 명령어 줄때의 색상 결정.

    Date2008.02.14 CategoryRPGXP 스크립트 By창조도시 Views1015 Votes1
    Read More
  11. c[n] 명령어 줄때의 색상 결정.

    Date2008.02.14 CategoryRPGXP 스크립트 By창조도시 Views1438 Votes1
    Read More
  12. Custom Icon Sheets (커스텀 아이콘 적용 스크립트)

    Date2016.01.10 CategoryRPGVX Ace 스크립트 Byplam Views473 Votes0
    Read More
  13. CSS 캔버스 필터

    Date2016.10.06 CategoryRPGMV 플러그인 By러닝은빛 Views916 Votes0
    Read More
  14. Crafting System (아이템 조합 시스템)

    Date2016.01.06 CategoryRPGMV 플러그인 Byplam Views1713 Votes0
    Read More
  15. Bind Pictures To Map (이미지 결합 플러그인)

    Date2015.10.30 CategoryRPGMV 플러그인 By이녕 Views1049 Votes0
    Read More
  16. AraLab_MultiStartingPoint (다중 출발점 스크립트, 캐릭터 선택 스크립트) ver.0.2beta

    Date2014.01.21 CategoryRPGXP 스크립트 By 운 Views1973 Votes1
    Read More
  17. Advanced Game Time (게임에 시간개념을 적용해주는 플러그인)

    Date2016.01.06 CategoryRPGMV 플러그인 Byplam Views1401 Votes0
    Read More
  18. Action Sequence Pack 2 (전투모드 액션 플러그인)

    Date2016.01.05 CategoryRPGMV 플러그인 Byplam Views1824 Votes0
    Read More
  19. Ace로 만든 습작 랜덤 위치로 지형변환.

    Date2014.10.04 CategoryRPGVX Ace 스크립트 ByJunkMan Views514 Votes0
    Read More
  20. 9마리 이상의 몬스터 설정 | More Enemies

    Date2018.08.31 CategoryRPGMV 플러그인 By러닝은빛 Views766 Votes0
    Read More
Board Pagination Prev 1 ... 6 7 8 9 10 11 12 13 14 15 Next
/ 15






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

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