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 7317
601 기타 [자작]칼라 테이블입니다. 3 나뚜루 2009.01.24 1640
600 장비 Multislots! 2.2 by DerVVulfman 4 file Alkaid 2011.02.18 1640
599 타이틀/게임오버 심심해서 구현해본 타이틀음악만으로 게임 플레이하기 2 백호 2009.02.22 1642
598 파티 메뉴커맨드로 파티 멤버들 순서 바꾸기 by Yargovish 1 백호 2009.02.22 1645
597 스킬 Conditional+Conbo Skills 2.0 by trickster 2 file 백호 2009.02.22 1645
596 전투 KGC_SPdamage (SP데미지) 3 file 백호 2009.02.22 1645
595 기타 endroll 주석 번역 6 file insertend 2010.05.15 1649
594 스킬 선택 스킬 스크립트 4 file 백호 2009.02.21 1653
593 전투 DerVVulfman's addons for Mr.Mo's ABS file Alkaid 2010.09.10 1654
592 전투 Mr. Mo's ABS Ultimate 1.2 by DerVVulfman Alkaid 2011.11.13 1654
591 맵/타일 Etude87_Map_Remember_XP ver.1.2 2 습작 2012.07.17 1654
590 스킬 스킬 업데이트 시스템 4 file 백호 2009.02.22 1656
589 저장 ASM - Advanced Save Menu 3 file 백호 2009.02.21 1658
588 전투 전투시 아이콘 윈도우 2 file 백호 2009.02.21 1660
587 전투 KGC_RateDamage(비율 데미지) 3 file 백호 2009.02.22 1661
586 전투 Minkoff's Animated Battlers - Enhanced 13.3 by DerVVulfman file Alkaid 2010.10.14 1661
585 타이틀/게임오버 맵화면을 타이틀에 표시 백호 2009.02.21 1663
584 전투 전투 특수효과 ActionEX 스크립트 1 file 백호 2009.02.21 1668
583 전투 KGC_FusionEnemy(에너미 융합) 1 백호 2009.02.22 1670
582 변수/스위치 메뉴변수표시 스크립트 1 file 백호 2009.02.22 1672
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