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 7282
601 장비 KGC_장비확장 (7/30일자) 12 file 백호 2009.02.22 2079
600 장비 착용한 장비에 따라 모습이 달라지는 스크립트 예제 5 file 게임애호가 2015.02.14 2078
599 펫시스탬 예제 첨부 11 WMN 2008.03.17 2074
598 메뉴 Trickster's Plug 'n' Play Gradient Bar 2.0 1 file 백호 2009.02.22 2065
597 전투 SBABS v4 (A-RPG) 5 file 백호 2009.02.22 2062
596 HUD HUD Menu 2.0 by Raziel 3 Alkaid 2010.09.07 2056
595 메뉴 넷플레이 업그레이드됀 메뉴 스크립트 4 백호 2009.02.22 2055
594 전투 SBABS v3 6 file 백호 2009.02.22 2054
593 메시지 Hermes(Hermes Extends RPGXP Message System) 0.3d by derula Alkaid 2010.09.10 2053
592 상점 ▼▲▼ XRXS36. 숍·변동시장 ▼▲▼ (시세) 8 D.S.Y 2008.12.09 2051
591 아이템 흠..몬스터도감말고 아이템도감~ 9 백호 2009.02.21 2050
590 스킬 KGC_CrashSkill(자폭스킬) 4 file 백호 2009.02.22 2044
589 기타 자동미로 12 file 백호 2009.02.22 2042
588 이동 및 탈것 테두리 글자 & 그림자 글자 2 file 백호 2009.02.21 2041
587 전투 [신기술 체험] Tactical Battle System 9 file 백호 2009.02.22 2040
586 기타 요리 시스템 스크립트 12 file 백호 2009.02.21 2034
585 스킬 MicKo's Skill Tree 1.2 by DerVVulfman 2 Alkaid 2011.03.15 2027
584 이동 및 탈것 이동루트 설정 스크립트-특정범위 13 file 『★Browneyedgirls』 2010.02.18 2022
583 기타 회복으로 데미지를 받는 좀비 스크립트 7 백호 2009.02.22 2022
582 메뉴 메뉴....있길래올립니다. 9 벨☆ 2010.01.23 2021
Board Pagination Prev 1 ... 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 ... 52 Next
/ 52