VX 스크립트

새로운시작
이어서하기
끝내기

이렇게 있는데
처음할때는 이어서하기를 없애고

새로운시작
끝내기

처음 시작할때 이렇게 2개만 나옴

그다지 필요 없는 것..

취향대로...


#============================================================================
# ** New Title Screen
#----------------------------------------------------------------------------
# Author  : puppeto4
# Version : 1.0
# Date    : 13th April 2008
#============================================================================


#==============================================================================
# ** Scene_Title
#------------------------------------------------------------------------------
#  This class performs the title screen processing.
#==============================================================================

class Scene_Title < Scene_Base
  #--------------------------------------------------------------------------
  # * Start processing
  #--------------------------------------------------------------------------
  def start
    super
    load_database                     # Load database
    create_game_objects               # Create game objects
    check_continue                    # Determine if continue is enabled
    create_title_graphic              # Create title graphic
    play_title_music                  # Play title screen music
    if @continue_enabled              # If continue is enabled
      create_command_window           # Create command window
    else
      create_command2_window          # Create command window
    end  
  end
  #--------------------------------------------------------------------------
  # * Post-Start Processing
  #--------------------------------------------------------------------------
  def post_start
    super
    if @continue_enabled              # If continue is enabled
      open_command_window
    else
      open_command2_window
    end  
  end
  #--------------------------------------------------------------------------
  # * Pre-termination Processing
  #--------------------------------------------------------------------------
  def pre_terminate
    super
    if @continue_enabled              # If continue is enabled
      close_command_window
    else
      close_command2_window
    end  
  end
  #--------------------------------------------------------------------------
  # * Termination Processing
  #--------------------------------------------------------------------------
  def terminate
    super
    snapshot_for_background
    dispose_title_graphic
    if @continue_enabled              # If continue is enabled
      dispose_command_window
    else
      dispose_command2_window
    end  
  end
  #--------------------------------------------------------------------------
  # * Frame Update
  #--------------------------------------------------------------------------
  def update
    if @continue_enabled              # If continue is enabled
      super
      @command_window.update
      if Input.trigger?(Input::C)
        case @command_window.index
        when 0    #New game
          command_new_game
        when 1    # Continue
          command_continue
        when 2    # Shutdown
          command_shutdown
        end
      end
    else  
      super
      @command2_window.update
      if Input.trigger?(Input::C)
        case @command2_window.index
        when 0    #New game
          command_new_game
        when 1    # Shutdown
          command_shutdown
        end
      end
    end  
  end
  #--------------------------------------------------------------------------
  # * Create Command2 Window
  #--------------------------------------------------------------------------
  def create_command2_window
    s1 = Vocab::new_game
    s2 = Vocab::shutdown
    @command2_window = Window_Command.new(172, [s1, s2])
    @command2_window.x = (544 - @command2_window.width) / 2
    @command2_window.y = 288
    @command2_window.openness = 0
    @command2_window.open
  end
  #--------------------------------------------------------------------------
  # * Dispose of Command2 Window
  #--------------------------------------------------------------------------
  def dispose_command2_window
    @command2_window.dispose
  end
  #--------------------------------------------------------------------------
  # * Open Command2 Window
  #--------------------------------------------------------------------------
  def open_command2_window
    @command2_window.open
    begin
      @command2_window.update
      Graphics.update
    end until @command2_window.openness == 255
  end
  #--------------------------------------------------------------------------
  # * Close Command2 Window
  #--------------------------------------------------------------------------
  def close_command2_window
    @command2_window.close
    begin
      @command2_window.update
      Graphics.update
    end until @command2_window.openness == 0
  end
  #--------------------------------------------------------------------------
  # * Command: New Game
  #--------------------------------------------------------------------------
  def command_new_game
    confirm_player_location
    Sound.play_decision
    $game_party.setup_starting_members            # Initial party
    $game_map.setup($data_system.start_map_id)    # Initial map position
    $game_player.moveto($data_system.start_x, $data_system.start_y)
    $game_player.refresh
    $scene = Scene_Map.new
    RPG::BGM.fade(1500)
    if @continue_enabled              # If continue is enabled
      close_command_window
    else
      close_command2_window
    end  
    Graphics.fadeout(60)
    Graphics.wait(40)
    Graphics.frame_count = 0
    RPG::BGM.stop
    $game_map.autoplay
  end
end

Who's 미카엘

?

미카엘

Comment '7'

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 스크립트 자료 게시물 작성시 주의사항 3 습작 2012.12.24 5398
27 타이틀/게임오버 타이틀화면 커스터마이즈 29 file 可わいい 2009.03.16 6141
26 타이틀/게임오버 타이틀전 공지사항 19 file AYARSBMA 2010.01.23 3583
25 타이틀/게임오버 타이틀에서 홈페이지 연결 17 비극ㆍ 2010.04.19 2271
24 타이틀/게임오버 타이틀에 스토리맵을 달자 26 file RPGbooster 2008.10.08 4829
23 타이틀/게임오버 타이틀에 날씨 효과 주는 스크립트 (Melmarvin's Rainy Title Screen) 6 MinaAubert 2012.09.13 2323
22 타이틀/게임오버 타이틀 화면에 매뉴창 이동방법 5 석산 2009.01.06 2824
21 타이틀/게임오버 타이틀 업그레이드 byMOG 16 *ps인간 2009.01.26 5658
20 타이틀/게임오버 타이틀 메뉴 스크립트 50 아방스 2009.01.20 7503
19 타이틀/게임오버 타이틀 로고 26 file RPGbooster 2008.10.08 4950
18 타이틀/게임오버 타이틀 공지 37 file 허걱 2009.08.10 4748
17 타이틀/게임오버 코아 코스튬씨의 랜덤 타이틀 스크립트를 VX용으로 변환 2 Alkaid 2012.09.14 1701
16 타이틀/게임오버 심플한 게임오버화면 28 file RPGbooster 2008.10.08 3328
15 타이틀/게임오버 메인 화면을 건너뛰고 시작하는 스크립트 14 아방스 2008.02.01 3064
14 타이틀/게임오버 맵 타이틀 스크립트 48 아방스 2009.06.17 5547
» 타이틀/게임오버 맨처음 시작할때 타이틀에 게임로드칸 없애기 7 미카엘 2008.08.20 2819
12 타이틀/게임오버 륀느님 요청] 전투 전멸후 Game over없이 특정위치로 이동 10 Last H 2009.02.24 2834
11 타이틀/게임오버 랜덤 타이틀화면 8 file RPGbooster 2008.10.08 2832
10 타이틀/게임오버 까만화면으로 시작하기 27 file 허걱 2009.07.04 4528
9 타이틀/게임오버 [자작] 타이틀 화면 없이 게임을 시작하자! Title Skiper 29 케류 2009.04.05 4423
8 타이틀/게임오버 [NO.0 간단 스크립트] 타이틀에 제작자 정보 올려보기 14 file NO.0 2011.01.30 3362
Board Pagination Prev 1 2 Next
/ 2