대화관련

vx 문장의속도를 조절하는방법

by 윳쿠리 posted Feb 10, 2010
?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

크게 작게 위로 아래로 댓글로 가기 인쇄
Extra Form

show_fast(텍스트빠르게보여주기)값을 true 로 바꾸어 주는것이 핵심입니다

windows_messag 내를 보면 이런곳이있습니다


  #--------------------------------------------------------------------------
  # ● 早送りフラグの更新 (빨리감기플래그갱신)
  #--------------------------------------------------------------------------
  def update_show_fast
    if self.pause or self.openness < 255 <-만약 아무것도 누르지않았다면
      @show_fast = false <-show_fast 는 작동하지않는다
    elsif Input.trigger?(Input::C) and @wait_count < 2 <-만약 사용자가 c를 눌러스킵을 발동시키면
      @show_fast = true <-show_fast 는 작동한다(문장을 스킵하여한번에보여준다)
    elsif not Input.press?(Input::C) <- 만약 사용자가 c를 누르지않고 방치한다면?
      @show_fast = false <-show_fast 숏컷은 발동하지않는다
    end
    if @show_fast and @wait_count > 0
      @wait_count -= 1
    end
  end


이쯤오면 눈치채셧겠죠? 

    elsif not Input.press?(Input::C) <- 만약 사용자가 c를 누르지않고 방치한다면?

이부분의   @show_fast 값을 true로 바꾸어주면 c를누르든 말든 스킵은 작동합니다


    elsif not Input.press?(Input::C)
      @show_fast = true


요렇게 ~


게임에 따라서 스킵에 상관없이 문자출력속도가 느린경우가있습니다 그런경우


show_fast로 계속 검색을 해보시면 위에서 작업한곳에서 얼마안가서


 #--------------------------------------------------------------------------
  # ● 改ペ?ジ?理 (페이지처리)
  #--------------------------------------------------------------------------
  def new_page
    contents.clear
    if $game_message.face_name.empty?
      @contents_x = 0
    else
      name = $game_message.face_name
      index = $game_message.face_index
      draw_face(name, index, 0, 0)
      @contents_x = 112
    end
    @contents_y = 0
    @line_count = 0
    @show_fast = false
    @line_show_fast = true
    @pause_skip = false
    contents.font.color = text_color(0)
  end


이런부분을 다시 보실수있습니다 요항목을 true로 바꾸어주면 됍니다













Fatal error: Cannot access property sessionController::$lifetime in /web/old/xe/modules/session/session.controller.php on line 45