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
97 타이틀/게임오버 랜덤 타이틀화면 8 file RPGbooster 2008.10.08 2832
96 빠른 스킬사용 6 file RPGbooster 2008.10.08 2814
95 AntiLag_1.2h 23 file RPGbooster 2008.10.08 2283
94 Path Finding 6 Man... 2008.10.08 1530
93 스킬 합성샾 스크립트 ^^ [동영상 포함] 6 file 아방스 2008.09.23 6038
92 전투 지형에 따른 전투배경화면 표시 스크립트!! 30 file 레오 2008.09.17 5855
91 파티 전에 아방스님이 올린 '파티 변경 시스템'을 한글화 했습니다. 17 file 아리엘 2008.09.16 3589
90 레벨업 할경우 hp/mp 등을 채워주는 스크립트 49 아방스 2008.09.09 4473
89 맵/타일 월드맵 스크립트 49 아방스 2008.09.07 6123
88 맵/타일 RPG 만들기 VX 로 구현한 3D~ 42 아방스 2008.09.02 8405
87 체력 게이지바 스크립트 30 아방스 2008.09.01 5829
86 전투 돌아가는 전투 메뉴 시스템 33 아방스 2008.08.29 5083
85 키입력 입력 기능 확장 스크립트 추가. [전체키 스크립트] 22 아방스 2008.08.25 3772
84 ((대박!)) 게임상의 모든 글자에 효과 주기.. 33 미카엘 2008.08.20 5582
» 타이틀/게임오버 맨처음 시작할때 타이틀에 게임로드칸 없애기 7 미카엘 2008.08.20 2819
82 배틀할때 몬스터의 HP표시 !! 5 file 미카엘 2008.08.17 7517
81 VX 주석액알 PR코더즈의ABS보다 않좋다고생각할수있지만 더좋음 34 배군 2008.08.17 5145
80 HUD 맵이름 띄우는 스크립트 입니다. 33 시에란 2008.08.16 5271
79 HUD PRABS v1.0 [hud,주석액알,원거리공격,hotkeys,vx] 대박감이다. 47 유칸지 2008.08.13 11114
78 액알 스크립트 33 츠키아 2008.08.11 5826
Board Pagination Prev 1 ... 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 Next
/ 32