XP 스크립트

#==============================================================================
# ■ Window_Steps
#------------------------------------------------------------------------------
#  메뉴 화면에서 보수를 표시하는 윈도우입니다.
#==============================================================================

class Window_Level < Window_Base
  #--------------------------------------------------------------------------
  # ● 오브젝트 초기화
  #--------------------------------------------------------------------------
  def initialize
    super(0, 0, 160, 64)
    self.contents = Bitmap.new(width - 32, height - 32)
    refresh
  end
  #--------------------------------------------------------------------------
  # ● 리프레쉬
  #--------------------------------------------------------------------------
  def refresh
    self.contents.clear
    self.contents.font.color = system_color
    self.contents.draw_text(4, 0, 120, 32, "레벨")
    self.contents.font.color = normal_color
    self.contents.draw_text(4, 0, 120, 32, $game_variables[35].to_s, 2)
  end
end

=============================================================================


문제가잇엇군요..

이스크립트를 찔러주신후.. 이벤트하나를 작성하셔서 스크립트를 넣습니다

    @level_window = Window_Level.new
    @level_window.x = 0
    @level_window.y = 0

자동실행해주시구요.. 마지막에 스위치만들어주셔야합니다..



<SCRIPT language=javascript> var md5_norobot_key = '4fe5149039b52765bde64beb9f674940'; </SCRIPT> <SCRIPT type=text/javascript> // 글자수 제한 var char_min = parseInt(0); // 최소 var char_max = parseInt(0); // 최대 </SCRIPT>
KimTJ 06-08-09 03:25
  #==============================================================================
# ■ Window_Level
#------------------------------------------------------------------------------
#  메뉴 화면 등에서 레벨을 표시하는 윈도우입니다.
#==============================================================================

class Window_Level < Window_Base
  #--------------------------------------------------------------------------
  # ● 오브젝트 초기화
  #--------------------------------------------------------------------------
  def initialize
    super(0, 0, 160, 64)
    self.contents = Bitmap.new(width - 32, height - 32)
    refresh
  end
  #--------------------------------------------------------------------------
  # ● 리프레쉬
  #--------------------------------------------------------------------------
  def refresh
    self.contents.clear
    self.contents.font.color = system_color
    self.contents.draw_text(4, 0, 120, 32, "레벨")
    self.contents.font.color = normal_color
    self.contents.draw_text(4, 0, 120, 32, $game_variables[35].to_s, 2)
  end
end

=============================================================================


이거 $game_variables[35]에 레벨을 입력받아야 하는 거 아닌지?

Who's 백호

?

이상혁입니다.

http://elab.kr

Comment '5'

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 스크립트 자료 게시물 작성시 주의사항 습작 2012.12.24 6202
114 기타 KGC_UsableWeapon file 백호 2009.02.22 1384
113 기타 CG모드 도입 스크립트 file 백호 2009.02.21 1383
112 기타 [All RGSS] 게임 다중 실행 방지 스크립트 1 file Cheapmunk 2014.05.24 1381
111 기타 Chaos Project Debug System 1.06b by Blizzard file Alkaid 2010.09.07 1370
110 기타 스크린샷 찍는 스크립트 9 file 백호 2009.02.22 1364
109 기타 Minesweeper(지뢰찾기) by SephirothSpawn (SDK호환) 3 file 백호 2009.02.22 1363
108 기타 빛의 퍼즐 -미니게임- 1 file 백호 2009.02.21 1360
107 기타 실제시간표시스크립트입니다...[중뷁이면지성;;] 4 백호 2009.02.22 1352
106 기타 (T-RPG) 데미지 표시 시의 폰트를 설정 백호 2009.02.22 1349
105 기타 랜덤 지하 감옥 작성 스크립트 1 file 백호 2009.02.21 1338
104 기타 엔딩에 스탭롤을 도입하는 스크립트 1 file 백호 2009.02.21 1335
103 기타 Text to RGSS by DerVVulfman Alkaid 2011.04.18 1319
102 기타 Complete Climate and Time System 1.2 by ForeverZer0 1 Alkaid 2010.09.17 1315
101 기타 KGC - 입수 경험치&금 증가 스크립트 백호 2009.02.22 1308
100 기타 카운트 3초 1 file 백호 2009.02.22 1296
99 기타 Realistic Shop by MeisMe@rmxp.org 3 file 백호 2009.02.22 1295
98 기타 ID띄우기 스크립트(新) 3 백호 2009.02.22 1280
97 기타 Advanced Weather System (AWS) 3 file 백호 2009.02.22 1272
96 기타 Golden_sun_intro v1 1 백호 2009.02.22 1267
95 기타 엔딩후 캐릭터 이어서 새로운 게임시작 스크립트 1 file 백호 2009.02.21 1263
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 11 12 13 Next
/ 13