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 7310
441 전투 Active Time Battle 2.62 by パラ犬 file Alkaid 2010.09.06 1673
440 변수/스위치 메뉴변수표시 스크립트 1 file 백호 2009.02.22 1671
439 전투 KGC_FusionEnemy(에너미 융합) 1 백호 2009.02.22 1670
438 전투 전투 특수효과 ActionEX 스크립트 1 file 백호 2009.02.21 1668
437 타이틀/게임오버 맵화면을 타이틀에 표시 백호 2009.02.21 1663
436 전투 KGC_RateDamage(비율 데미지) 3 file 백호 2009.02.22 1661
435 전투 Minkoff's Animated Battlers - Enhanced 13.3 by DerVVulfman file Alkaid 2010.10.14 1660
434 전투 전투시 아이콘 윈도우 2 file 백호 2009.02.21 1659
433 저장 ASM - Advanced Save Menu 3 file 백호 2009.02.21 1657
432 스킬 스킬 업데이트 시스템 4 file 백호 2009.02.22 1656
431 전투 Mr. Mo's ABS Ultimate 1.2 by DerVVulfman Alkaid 2011.11.13 1653
430 전투 DerVVulfman's addons for Mr.Mo's ABS file Alkaid 2010.09.10 1653
429 스킬 선택 스킬 스크립트 4 file 백호 2009.02.21 1652
428 맵/타일 Etude87_Map_Remember_XP ver.1.2 2 습작 2012.07.17 1651
427 기타 endroll 주석 번역 6 file insertend 2010.05.15 1649
426 스킬 Conditional+Conbo Skills 2.0 by trickster 2 file 백호 2009.02.22 1645
425 전투 KGC_SPdamage (SP데미지) 3 file 백호 2009.02.22 1644
424 파티 메뉴커맨드로 파티 멤버들 순서 바꾸기 by Yargovish 1 백호 2009.02.22 1643
423 타이틀/게임오버 심심해서 구현해본 타이틀음악만으로 게임 플레이하기 2 백호 2009.02.22 1641
422 장비 Multislots! 2.2 by DerVVulfman 4 file Alkaid 2011.02.18 1638
Board Pagination Prev 1 ... 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 ... 52 Next
/ 52