XP 스크립트

그냥 수정한 것도 없습니다. -__-

좀 수정 할 부분이 있어서 넣어 봤습니다. 그럼.. [퍼억]
-----------------------------------------------------------------------------------------

#=================================================
# ㉿ 텔레포트 이동 스크립트
#-------------------------------------------------
# 기존 대쉬를 이용하여 플레이어를 순간이동 시키도록
# 만든 스크립트 이다. 움직이는 동안 Z(D) 키를 누른다.
#
# 수정 자: kcss(통역: Mania)
#=================================================

Animation = 1 # 애니메이션(애니메이션 번호)
Con_sp = 15 # 마나 소비 수

class Game_Player
  alias teleport_update update
  def update
    if Input.trigger?(Input::Z) # Z(D) 키를 눌렀을 때 시작
      unless $game_party.actors[0].sp < Con_sp
        case @direction
        when 2 # 아래
          if Input.press?(Input::DOWN)
            $game_player.animation_id = Animation
            $game_party.actors[0].sp -= Con_sp
            moveto($game_player.x, $game_player.y+2) # 아래로 가는 수
          else
            moveto($game_player.x, $game_player.y)
          end
          when 4 # 왼쪽
            if Input.press?(Input::LEFT)
              $game_player.animation_id = Animation
              $game_party.actors[0].sp -= Con_sp
              moveto($game_player.x-2, $game_player.y) # 왼쪽으로 가는 수
            else
              moveto($game_player.x, $game_player.y)
            end
            when 6 # 오른쪽
              if Input.press?(Input::RIGHT)
                $game_player.animation_id = Animation
                $game_party.actors[0].sp -= Con_sp
                moveto($game_player.x+2, $game_player.y) # 오른쪽으로 가는 수
              else
                moveto($game_player.x, $game_player.y)
              end
              when 8 # 위
                if Input.press?(Input::UP)
                  $game_player.animation_id = Animation
                  $game_party.actors[0].sp -= Con_sp
                  moveto($game_player.x, $game_player.y-2) # 위로 가는 수
                else
                  moveto($game_player.x, $game_player.y)
                end
              end
            end
          end
          teleport_update
        end
      end

Who's 백호

?

이상혁입니다.

http://elab.kr


List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 스크립트 자료 게시물 작성시 주의사항 습작 2012.12.24 6153
861 전투 전투에서도 맵 BGM 연결하는 스크립트 2 file 백호 2009.02.21 1130
860 기타 Tax Script 1.2 by The Darklord@rmxp.org 2 file 백호 2009.02.22 1130
859 전투 물리친 적의수 표시 file 백호 2009.02.21 1131
858 맵/타일 Map Event Large Make 2 백호 2009.02.22 1132
857 기타 메세지창의 위치 변동 자동화 file 백호 2009.02.21 1138
856 스킬 스킬 도감 1 백호 2009.02.21 1138
855 오디오 음악 재생 스크립트 3 file 백호 2009.02.21 1140
854 기타 스테이터스 표시 플러스 1.00ver 백호 2009.02.22 1141
853 전투 FF10 전투 대미지 공식 by hydro@rmxp.org 백호 2009.02.22 1141
» 이동 및 탈것 [통합] 텔레포트 통합 수정편 1 백호 2009.02.22 1143
851 키입력 Key Simulator by Fantasist 4 습작 2013.05.01 1143
850 기타 맵처리를 가볍게 1 백호 2009.02.21 1147
849 아이템 아이템 사용 클래스 한정 스크립트! 2 백호 2009.02.22 1147
848 맵/타일 Mode07 0.5 by mewsterus 3 백호 2009.02.22 1149
847 기타 레벨9999스크립트 4 백호 2009.02.21 1151
846 이동 및 탈것 KGC_Teleport file 백호 2009.02.22 1153
845 전투 A-battle 수정 file 백호 2009.02.21 1155
844 이동 및 탈것 마나 소비 텔레포트 2 백호 2009.02.22 1155
843 이동 및 탈것 World Map & Teleporter by SephirothSpawn 2 file 백호 2009.02.22 1156
842 기타 Encounter Control by SephirothSpawn (SDK호환) 4 file 백호 2009.02.22 1157
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ... 52 Next
/ 52