RPGXP 스크립트
2013.12.06 06:31

모션 스크립트

조회 수 2149 추천 수 0 댓글 3
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 수정 삭제
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 수정 삭제

 

PC

인식 - 완료

모바일

인식 - 완료

캡처.PNG

#사용법은 < RPG Maker XP >  툴(P) ▶ 데이터 베이스  ▶ 커먼 이벤트 ▶ 1개 ( 병렬처리)  조건스위치(attack)

# 조건분기 C키를 눌렀다

# 이동경로 [액터]   ▶ 스크립트  ▶ $game_player.animate("_atk") 라고 적어주세요.

# 게임에서 [attack]스위치 ON 시키면 무슨파일 이 없다고 나옵니다. 그파일이름을  [Graphics]폴더 > [Characters]폴더에 넣으시면됩니다.

# 캐릭터공격모션 칩이 필요합니다.

 

# 여기서부터 복사 ▼

#────────────────────────────────────────────────────────────────────────────
#                              ALF's Animate
#  ------------------------------------------------------------------------
#   Author : 올페(
optikingsun@naver.com)
#   Date   : 2013. 03. 02
#  ------------------------------------------------------------------------
#   Description
#     플레이어에게 공격 모션을 적용시킵니다.
#     $game_player.animate(모션이름) 으로 사용 가능합니다.
#────────────────────────────────────────────────────────────────────────────
class Game_Player < Game_Character
  attr_accessor :animate
 
  alias ani_update update
  def update
    ani_update
    # 애니메이션 진행처리구간
    if @animate_delay != nil
      @animate_delay -= 1 if @animate_delay > 0
    end
    if @animate
      if @animate_delay == 0
        @animate_delay = 6
        @animate_patton += 1
        # 실제 처리구간
        @tile_id = 0
        @character_name = @name
        @character_hue = 0
        if @original_direction != @direction
          @original_direction = @direction
          @prelock_direction = 0
        end
        if @original_pattern != @animate_patton
          @pattern = @animate_patton
          @original_pattern = @pattern
        end
        if @animate_patton == 4
          @character_name = @main_name
          @character_hue = 0
          @original_direction = @direction
          @prelock_direction = 0
          @pattern = 0
          @original_pattern = @pattern
          @animate = nil
        end
      end
    end
  end
 
  def animate(melee)
    if not @animate
      @animate = true
      @animate_patton = 0
      @animate_delay = 1
      @name = $game_player.character_name + melee
      @main_name = $game_player.character_name
    end
  end
end

?

  1. 한글조합입력기(영어가능)

    Date2019.11.10 CategoryRPGXP 스크립트 By조규진1 Views946 Votes0
    Read More
  2. RPG XP Xas액알

    Date2018.10.30 CategoryRPGXP 스크립트 By심심치 Views1161 Votes0
    Read More
  3. Font Setup

    Date2016.07.22 CategoryRPGXP 스크립트 By운님 Views1641 Votes0
    Read More
  4. 대화에 얼굴이 나오는 스크립트 by: killarot(네이버 dust_mite)(수정버전)

    Date2016.02.22 CategoryRPGXP 스크립트 By부초 Views2043 Votes0
    Read More
  5. RPGXP ATB전투 시스템 예제(스크립트는 예제 안에 포함)

    Date2015.11.17 CategoryRPGXP 스크립트 ByMagNesium Views870 Votes0
    Read More
  6. 스테이터스,보수,골드,플레임 타임 삭제

    Date2015.06.02 CategoryRPGXP 스크립트 Byrpgmakingbot Views847 Votes0
    Read More
  7. 헤드 업 디스플레이 스크립트

    Date2015.01.30 CategoryRPGXP 스크립트 By 운 Views958 Votes0
    Read More
  8. 컬러 비트맵 타이틀 스크립트

    Date2015.01.20 CategoryRPGXP 스크립트 By 운 Views912 Votes1
    Read More
  9. 로고 스크립트

    Date2014.12.10 CategoryRPGXP 스크립트 By 운 Views1257 Votes1
    Read More
  10. 타이틀 로딩 스크립트

    Date2014.12.07 CategoryRPGXP 스크립트 By 운 Views1148 Votes0
    Read More
  11. 타이틀 스크립트

    Date2014.12.05 CategoryRPGXP 스크립트 By 운 Views1121 Votes0
    Read More
  12. 액알 스크립트

    Date2014.11.23 CategoryRPGXP 스크립트 By커비♥ Views1527 Votes1
    Read More
  13. 공포게임에 장비착용메뉴

    Date2014.08.24 CategoryRPGXP 스크립트 By 운 Views1506 Votes0
    Read More
  14. 얼굴표시/문장을 한글자씩 나타내주는 스크립트 (출처-히페리온)

    Date2014.06.22 CategoryRPGXP 스크립트 By시르카 Views1285 Votes0
    Read More
  15. 횡스크롤 점프 [버튼허용스위치추가]

    Date2014.06.01 CategoryRPGXP 스크립트 By 운 Views1722 Votes0
    Read More
  16. 말풍선 메세지 스크립트

    Date2014.02.24 CategoryRPGXP 스크립트 By천둥번들 Views1936 Votes0
    Read More
  17. 스텟찍기스크립트

    Date2014.02.22 CategoryRPGXP 스크립트 By천둥번들 Views1920 Votes3
    Read More
  18. 달리기스크립트

    Date2014.02.22 CategoryRPGXP 스크립트 By천둥번들 Views2391 Votes2
    Read More
  19. 8방향 이동스크립트

    Date2014.02.22 CategoryRPGXP 스크립트 By천둥번들 Views1827 Votes6
    Read More
  20. AraLab_MultiStartingPoint (다중 출발점 스크립트, 캐릭터 선택 스크립트) ver.0.2beta

    Date2014.01.21 CategoryRPGXP 스크립트 By 운 Views2065 Votes1
    Read More
Board Pagination Prev 1 2 3 4 5 6 7 8 Next
/ 8


[개인정보취급방침] | [이용약관] | [제휴문의] | [후원창구] | [인디사이드연혁]

Copyright © 1999 - 2016 INdiSide.com/(주)씨엘쓰리디 All Rights Reserved.
인디사이드 운영자 : 천무(이지선) | kernys(김원배) | 사신지(김병국)