XP 스크립트

class Color
  White = Color.new(255, 255, 255)
  Black = Color.new(0, 0, 0)
  Blue = Color.new(128, 128, 255, 255)

  Red = Color.new(255,0,0)
  Green = Color.new(0,255,0)
  Hot_Orange = Color.new(255,90,0,255)
  Orange = Color.new(255,162,0,255)
  Yellow = Color.new(255,222,0,255)
  Lime = Color.new(198,255,0,255)
  Light_Green = Color.new(100,255,0,255)
  Cool_Blue = Color.new(0,255,255,255)
  Sky_Blue = Color.new(0,168,255,255)
  Purple = Color.new(174,0,255,255)
  Pink = Color.new(255,0,255,255)
  Hot_Pink = Color.new(255,0,114,255)
 
  Pastel_Red = Color.new(235,145,145,255)
  Pastel_Orange = Color.new(235,208,145,255)
  Pastel_Yellow = Color.new(235,232,145,255)
  Pastel_Lime_Green = Color.new(204,235,145,255)
  Pastel_Green = Color.new(145,235,145,255)
  Pastel_Blue = Color.new(145,183,235,255)
  Pastel_Purple = Color.new(183,145,235,255)
  Pastel_Hot_Pink = Color.new(235,145,181,255)
 
  def Color.white
    return White.dup
  end
  def Color.black
    return Black.dup
  end
  def Color.blue
    return Blue.dup
  end
 
  def Color.red
    return Red.dup
  end
  def Color.green
    return Green.dup
  end
  def Color.hot_orange
    return Hot_Orange.dup
  end
  def Color.orange
    return Orange.dup
  end
  def Color.yellow
    return Yellow.dup
  end
  def Color.lime
    return Lime.dup
  end
  def Color.light_green
    return Light_Green.dup
  end
  def Color.cool_blue
    return Cool_Blue.dup
  end
  def Color.sky_blue
    return Sky_Blue.dup
  end
  def Color.purple
    return Purple.dup
  end
  def Color.pink
    return Pink.dup
  end
  def Color.hot_pink
    return Hot_Pink.dup
  end
 
  def Color.pastel_red
    return Pastel_Red.dup
  end
  def Color.pastel_orange
    return Pastel_Orange.dup
  end
  def Color.pastel_yellow
    return Pastel_Yellow.dup
  end
  def Color.pastel_lime_green
    return Pastel_Lime_Green.dup
  end
  def Color.pastel_green
    return Pastel_Green.dup
  end
  def Color.pastel_blue
    return Pastel_Blue.dup
  end
  def Color.pastel_purple
    return Pastel_Purple.dup
  end
  def Color.pastel_hot_pink
    return Pastel_Hot_Pink.dup
  end
end

칼라를 미리 만들어놔서

일일이 칼라를 만들지 않아도 된다는 점이 편합니다.

일일이 복제를 하기 때문에 편하게 쓰셔도 됩니다.

RPG::Cache랑 비슷한 역할을 하죠.

Comment '3'

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 스크립트 자료 게시물 작성시 주의사항 습작 2012.12.24 6153
541 메뉴 [자작]명성치 사용 스크립트 16 Rainsy 2009.03.22 3390
540 [자작]일괄조작 관련 스크립트 5 나뚜루 2009.01.10 1913
» 기타 [자작]칼라 테이블입니다. 3 나뚜루 2009.01.24 1621
538 파티 [최강전사님 제공] 파티가 따라오게 하는 스크립트 24 file 아방스 2007.11.09 3365
537 이동 및 탈것 [통합] 텔레포트 통합 수정편 1 백호 2009.02.22 1143
536 타이틀/게임오버 [펌]색다른 게임오버 스크립트 14 file 또라에몽 2010.05.09 4265
535 [헬악이] 스크립트 사용법 !!!(꼭 읽으세요!!) 3 아방스 2007.11.09 2264
534 미니맵 [헬악이님 제보] 단축키 미니맵 만들기!!| 13 file 아방스 2007.11.09 4191
533 [헬악이님 제보] 제작자 표시 8 아방스 2007.11.09 2541
532 기타 [회복] 대기 회복 스크립트4.0 여러 오류 문제 해결 및 길이 줄임 11 file 코아 코스튬 2010.11.06 2189
531 기타 ↓ 날씨 자동설정 스크립트 3 백호 2009.02.22 1530
530 상점 ▼▲▼ XRXS36. 숍·변동시장 ▼▲▼ (시세) 8 D.S.Y 2008.12.09 2025
529 메시지 ◆메세지 윈도우 개조 -KGC_MessageAlter◆ 3 백호 2009.02.22 3422
528 타이틀/게임오버 パラ犬씨의 타이틀 화면 커스터마이즈를 SDK2용으로 편집 by Trickster Alkaid 2010.09.29 1588
527 기타 新 무기 개조 스크립트 3 file 백호 2009.02.21 1487
526 이동 및 탈것 新(?)대쉬기능 스크립트.. 3 백호 2009.02.22 1626
525 키입력 新전체키 스크립트 예제 - 양키 7 file 백호 2009.02.21 2080
524 키입력 新전체키 스크립트(그에 따른 그림도 실려있음) 6 file 백호 2009.02.21 2255
523 메뉴 각 메뉴를 호화롭게 하는 스크립트 3 file 백호 2009.02.21 2617
522 전투 간단 액알 사용법(3번째) 12 file 백호 2009.02.21 3337
Board Pagination Prev 1 ... 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 ... 52 Next
/ 52