VX 스크립트

#==============================================================================
# ■ DeadlyDan_MessageSound v2.0 by DeadlyDan
#------------------------------------------------------------------------------
#  Simple "typewriting" style sound when messages are displayed.
#==============================================================================
# Usage:
=begin
 
  Simply change:
 
  MS_SOUND = "Audio/SE/cursor"
 
  To what ever sound file you want, for example:
 
  MS_SOUND = "Audio/SE/cow"
 
  If you want to change how fast it sounds, change
 
  MS_FRAME_INTERVAL = 2
 
  To, for example, if you want longer:
 
  MS_FRAME_INTERVAL = 4

=end

class Window_Message < Window_Selectable
 
  MS_SOUND = "Audio/SE/cursor"
  MS_FRAME_INTERVAL = 2
 
  def update_message
    loop do
      c = @text.slice!(/./m)
      case c
      when nil
        finish_message
        break
      when "x00"
        new_line
        if @line_count >= MAX_LINE
          unless @text.empty?
            self.pause = true
            break
          end
        end
      when "x01"
        @text.sub!(/[([0-9]+)]/, "")
        contents.font.color = text_color($1.to_i)
        next
      when "x02"
        @gold_window.refresh
        @gold_window.open
      when "x03"
        @wait_count = 15
        break
      when "x04"
        @wait_count = 60
        break
      when "x05"
        self.pause = true
        break
      when "x06"
        @line_show_fast = true
      when "x07"
        @line_show_fast = false
      when "x08"
        @pause_skip = true
      else
        if ( @line_show_fast == false and @show_fast == false )
          if ( Graphics.frame_count > ( @last_ms_sound_frame.to_i + MS_FRAME_INTERVAL ) )
            Audio.se_play ( MS_SOUND, 100, 100 )
            @last_ms_sound_frame = Graphics.frame_count
          end
        end
        contents.draw_text(@contents_x, @contents_y, 40, WLH, c)
        c_width = contents.text_size(c).width
        @contents_x += c_width
      end
      break unless @show_fast or @line_show_fast
    end
  end
 
end

Who's 작은샛별

?

제작중게임

 

1.코아스타온라인

2. 신비의숲

Comment '19'

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 스크립트 자료 게시물 작성시 주의사항 3 습작 2012.12.24 5408
417 아이템 아이템 획득 팝업 스크립트 24 아방스 2009.01.07 3805
416 전투 VLAD ABS [액알 시스템] 65 아방스 2009.01.07 12566
415 이동 및 탈것 VX 기차 스크립트 28 아방스 2009.01.13 4470
414 상태/속성 넓어진 상태창 v1.0 11 file 아방스 2009.01.20 4536
413 메뉴 커서 모양 바꾸는 스크립트 16 아방스 2009.01.20 3959
412 메뉴 레벨업 시 자세한 정보 나오는 스크립트 23 아방스 2009.01.20 3895
411 타이틀/게임오버 타이틀 메뉴 스크립트 50 아방스 2009.01.20 7503
410 메시지 메시지 표시 시스템 [NMS3] 31 아방스 2009.01.24 6248
409 타이틀/게임오버 타이틀 업그레이드 byMOG 16 *ps인간 2009.01.26 5659
408 아이템 레벨,능력치,아이템소지갯수,소지금의 한계돌파스크립트 21 file 이탁 2009.01.28 4547
407 맵/타일 맵에 이벤트 뿌리기 입니다. 7 file 허걱 2009.01.31 3827
406 기타 책 읽기 스크립트. 19 허걱 2009.01.31 4490
405 기타 Staff Roll 13 file 허걱 2009.01.31 3523
404 전투 사이드뷰배틀3.3 + ATB1.1 스크립트. 65 할렘 2009.02.01 10946
403 미니맵 KGC 미니맵 스크립트 (한글번역) 45 file 레오 2009.02.01 6555
402 상점 보관함 스크립트 43 file 허걱 2009.02.02 5161
401 상점 상점을 색다르게 바꿔주는 스크립트 34 file 할렘 2009.02.02 6301
400 메시지 MessageSound v2.0 글자에 소리 다다닥 스크립트 21 할렘 2009.02.02 3510
399 스킬 스킬 필요 조건(번역) 23 file 훈덕 2009.02.03 4644
398 기타 VX서비스팩1 6 훈덕 2009.02.03 2807
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 ... 32 Next
/ 32