RPGXP Script
2013.09.26 01:28

정지 모션 스크립트

Views 761 Votes 1 Comment 2
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print

module XRXS_BreakActs
  #그래픽 파일
  SUFFIX = "_Act"
  #40이 1초입니다.
  WCOUNT = 100

  def character_name
    filename = super
    if @breakacting
      new_name = filename + SUFFIX
      filename = new_name if RPG_FileTest.character_exist?(new_name)
    end
    return filename
  end
  def breakact=(B)
    @breakacting = b
    @step_anime  = b
  end
  def update
    super
    if controllable?
      if @breakact_count.to_i > 0
        @breakact_count -= 1
      else
        self.breakact = true
      end
    else
      @breakact_count = WCOUNT
      self.breakact = false
    end
  end
end
class Game_Player < Game_Character
  include XRXS_BreakActs
end
class Game_Player < Game_Character
  def controllable?
    return !(moving? or $game_system.map_interpreter.running? or
            @move_route_forcing or $game_temp.message_window_showing)
  end
end

 

 

플레이어를 조작하지 않고 설정된 시간이 지나면 원래의 캐릭터 그래픽의 파일명에  "_Act"를 추가한 파일을 검색해

예) 원이 007-Fighter07 이라면 007-Fighter-Act 와 같이

해당 캐릭터 그래픽으로 변경하여 정지 애니메이션을 실행합니다.

 

?

List of Articles
No. Category Subject Author Date Views Votes
188 RPGXP Script 아이템 조합 스크립트 2013.10.01 909 0
187 RPGXP Script 가상 키보드 입력 스크립트 2013.10.01 1721 0
186 RPGXP Script RPG 만들기 XP의 숨겨진 모듈/클래스 재정의 스크립트 모음 2013.10.01 1260 0
185 RPGXP Script 빠른 길찾기 2 휴리드 2013.09.30 1363 0
184 RPGVX Ace script 텍스트 파일생성 1 휴리드 2013.09.30 683 0
183 RPGVX Ace script 파일 존재의 유무 체크 4 휴리드 2013.09.30 661 0
182 RPGXP Script 네코에서 되는 마우스 스크립트 13 휴리드 2013.09.30 1716 0
181 RPGVX Script 3D 그래픽 파티클 스크립트 1 청담 2013.09.29 1308 0
180 RPGXP Script 일시정지 스크립트 2 청담 2013.09.29 974 0
179 RPGXP Script 셀프 스위치 조작 4 청담 2013.09.29 678 0
178 RPGXP Script HBGames.ORG::Motion Blur 3 죽은노예 2013.09.27 813 0
177 RPGXP Script 횡스크롤 스크립트 3  운 2013.09.27 1134 0
176 RPGXP Script FPS 표시 스크립트 7  운 2013.09.27 1193 0
175 RPGXP Script 안티 렉 스크립트 2 2013.09.26 3356 1
174 RPGXP Script 2D 마인크래프트 프로젝트 7 2013.09.26 3080 2
» RPGXP Script 정지 모션 스크립트 2 2013.09.26 761 1
172 RPGXP Script 모든 글자에 외곽선을 넣어주는 스크립트 3 2013.09.26 832 1
171 RPGXP Script 아이템 소지수 무제한 스크립트 청담 2013.09.24 1022 0
170 RPGXP Script 메뉴에서 실제시간 보는 스크립트 4 청담 2013.09.24 622 0
169 RPGXP Script 장비제련 스크립트 청담 2013.09.24 1046 0
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 15 Next
/ 15


[privacy statements] | [Terms of Use] | [Contact us] | [Sponsorship] | [Indiside History]

Copyright © 1999 - 2016 INdiSide.com/CL3D Co., Ltd. All Rights Reserved.
Owner : Chunmu(Jiseon Lee) | kernys(Wonbae Kim) | Sasinji(Byungkook Kim)