RPGXP 스크립트
2008.02.14 08:28

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

조회 수 1438 추천 수 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. 메세지에 얼굴, 이름등 다양한 기능 넣기 UMS 스크립트

    Date2013.12.10 CategoryRPGXP 스크립트 By데노제 Views1618 Votes0
    Read More
  2. 퀘스트 시스템 플러그인! Gameus' Quest System

    Date2015.11.07 CategoryRPGMV 플러그인 Bywillmv Views1574 Votes0
    Read More
  3. [鳥小屋] 실적 플러그인(인게임 트로피 시스템)

    Date2017.10.31 CategoryRPGMV 플러그인 By이니군 Views1552 Votes0
    Read More
  4. 캐릭터 그림자

    Date2013.09.24 CategoryRPGXP 스크립트 By청담 Views1548 Votes0
    Read More
  5. 지속데미지 스크립트(MBS)

    Date2016.02.14 CategoryRPGVX Ace 스크립트 By天下太平 Views1519 Votes0
    Read More
  6. YouTube Player

    Date2016.05.08 CategoryRPGMV 플러그인 By러닝은빛 Views1480 Votes0
    Read More
  7. 그림자문자 사용하기.. 바탕색이 무슨색이건 상관없이 글자가 잘보인다!!!

    Date2007.11.06 CategoryRPGXP 스크립트 By창조도시 Views1475 Votes1
    Read More
  8. LuD Script Package

    Date2017.08.16 CategoryRPGVX Ace 스크립트 ByLuD Views1471 Votes0
    Read More
  9. 기차 파티 스크립트

    Date2008.07.24 CategoryRPGXP 스크립트 By창조도시 Views1466 Votes2
    Read More
  10. Font Setup

    Date2016.07.22 CategoryRPGXP 스크립트 By운님 Views1450 Votes0
    Read More
  11. 선택 메뉴를 가운데 정렬 해보자.

    Date2007.12.02 CategoryRPGXP 스크립트 By창조도시 Views1449 Votes2
    Read More
  12. 액알 스크립트

    Date2014.11.23 CategoryRPGXP 스크립트 By커비♥ Views1444 Votes1
    Read More
  13. 맵 이름 표시 스크립트

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

    Date2008.02.14 CategoryRPGXP 스크립트 By창조도시 Views1438 Votes1
    Read More
  15. 텍스트 입력창(Keyboard Input Dialog)

    Date2016.08.09 CategoryRPGMV 플러그인 By러닝은빛 Views1426 Votes1
    Read More
  16. 몬스터 도감

    Date2013.09.24 CategoryRPGXP 스크립트 By청담 Views1426 Votes0
    Read More
  17. 공포게임에 장비착용메뉴

    Date2014.08.24 CategoryRPGXP 스크립트 By 운 Views1423 Votes0
    Read More
  18. 대화 글씨가 한글자씩 나오는 스크립트

    Date2013.09.24 CategoryRPGXP 스크립트 By청담 Views1417 Votes0
    Read More
  19. [RPG MV] 퀘스트 마커 지속 표시 플러그인

    Date2017.04.09 CategoryRPGMV 플러그인 Bylklslel Views1416 Votes0
    Read More
  20. Mog_Battle_hud(MZ버전도 있습니다)

    Date2021.03.05 CategoryRPGMV 플러그인 By스트레이보우 Views1409 Votes0
    Read More
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(김원배) | 사신지(김병국)