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 6203
181 이동 및 탈것 이벤트의 점프의 길이를 자유자제로~! 아랫꺼 업글버전 3 file 백호 2009.02.21 1576
180 온라인 인터넷 웹 상에서의 시간을 취득하는 스크립트 1 이우 2016.05.24 876
179 기타 일본RPGXP게임에서 번역한 스크립트 입니다. 1 백호 2009.02.22 1735
178 전투 일본사이트에서 찾은 턴제 스크립트 23 file 백호 2009.02.21 3997
177 기타 일시정지 스크립트 2 file 백호 2009.02.22 1796
176 기타 일시정지 스크립트 13 【§㉤ㅏ법㉧ㅣ§】 2011.02.26 1841
175 저장 자동 세이브 스크립트 4 WMN 2008.03.17 1470
174 기타 자동미로 12 file 백호 2009.02.22 2031
173 이동 및 탈것 자동으로 장애물을 피해가는 스크립트 13 file 백호 2009.02.22 1930
172 전투 자동전투 from RPG 쯔꾸르 XP RGSS Wiki 1 file 백호 2009.02.22 2622
171 메뉴 자세한 캐릭터 정보표시 스크립트 버전2 5 아방스 2009.01.12 2329
170 메뉴 자세항 개인 상태화면 8 아방스 2009.01.12 2361
169 메뉴 자작 메뉴 스크립트들(L's Simple CMS and menu scenes) (SDK 호환?) 10 Alkaid 2010.09.02 3461
168 메뉴 자작 커스텀 메뉴(데모 첨부) 3 백호 2009.02.22 2348
167 기타 잠수방지 스크립트 12 백호 2009.02.22 1865
166 장비 장비 시 전능력 표시 스크립트 4 file 백호 2009.02.21 1110
165 장비 장비 전능력 스크립트 4 file 백호 2009.02.22 1783
164 장비 장비 제련 스크립트 2 file 백호 2009.02.21 1206
163 장비 장비 착용 효과 스크립트 14 file 백호 2009.02.21 2323
162 장비 장비 화면 개조 스크립트 1 file 백호 2009.02.21 1824
Board Pagination Prev 1 ... 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 Next
/ 52