XP 스크립트

이동 및 탈것
2010.01.12 13:34

텔레포트 스크립트.

조회 수 2395 추천 수 0 댓글 11

텔포 스크립트 입니다.

D키를 누르면 됩니다.

#=================================================
# ■ 텔레포트 스크립트
#-------------------------------------------------
#   기존 대쉬 스크립트를 플레이어를
#    순간이동 시키도록 만들었습니다
#    움직이는동안 D키를 누르면 됩니다
#    수정:kcss
#=================================================

Animation = 2
Con_sp = 2

class Game_Player #클래스 지정 입니다.
alias teleport_update update
def update #업데이트
if Input.trigger?(Input::Z) #Z버튼을 눌렀을때 시작
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

TAG •
Comment '11'
  • ?
    daegui 2010.01.13 13:41

    이걸 스킬로 만들어야지~

  • ?
    넌누구냐 2010.01.24 17:04

    오옷 텔레포트도 나오는건가???

  • ?
    금빛팬더 2010.01.25 18:07

    하;;하;;하;; 재미있는 스크립트군요 ..

  • ?
    Chocopie 2010.02.03 10:24

    오 재밌네요 ㅎ

  • ?
    오나리자 2010.02.04 12:54

    감사합니다.. 한번 써보죠 뭐..ㅋㅋ

     

  • ?
    하늘바라기 2010.05.18 18:50

    허ㅏㅇㄹ;ㅓㅙㅗㅓ

    오!!!!!!!!!!!!!!!!!!!!!!!진짜로 돼여!!!!!!!!!!!!!!!!!!!!!1

    감사합니닿ㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎ!!!!!!!!!!!!!!!!!!!1

  • ?
    청풍쾌검 2011.01.04 10:18

  • ?
    행복한 울트라리스크 2011.05.31 16:26

    난 안돼는뎅

  • ?
    레어닉네임 2011.09.10 19:35

    맵(지나가지못하는것(건물등))도 지나가네요;; 못움직여도 텔포쓰면 그냥가서..아쉽지만 활용못할듯..ㅠ

  • ?
    XP광 2012.01.25 18:07

    하하....그런점이 좀 안좋죠,.ㅋ

  • ?
    윌스 2013.07.11 14:13
    감사합니다~

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 스크립트 자료 게시물 작성시 주의사항 습작 2012.12.24 6202
61 기타 Near Fantastica's SDK Test Bed 3 file 백호 2009.02.22 885
60 전투 Stealing/Mugging/Scanning 6.0 Final by Trickster (SDK호환) file 백호 2009.02.22 885
59 기타 SG_Settings Control by sandgolem 백호 2009.02.22 884
58 메뉴 Customizable Ring Menu by SephirothSpawn 백호 2009.02.22 884
57 아이템 Easy Item & Gold Gain by SephirothSpawn (SDK호환) 백호 2009.02.22 881
56 기타 아래 스크립트에 대한 Guillaume777님의 개량판입니다. 백호 2009.02.22 880
55 기타 Dynamic Stores by Astro_mech@rmxp.net 1 file 백호 2009.02.22 878
54 온라인 인터넷 웹 상에서의 시간을 취득하는 스크립트 1 이우 2016.05.24 876
53 메뉴 1-Scene CMS 1.03 by LegACy@rmxp.org (SDK호환) file 백호 2009.02.22 872
52 기타 Difficulty Options by SephirothSpawn 백호 2009.02.22 869
51 기타 RM2K Facesets, Inn & Windowskin Colors by DerVVulfman@rmxp.org 1 file 백호 2009.02.22 866
50 스킬 [KGC] Skill Grouping 백호 2009.02.21 861
49 기타 Introduction & optional Splash 2.1 by SephirothSpawn (SDK호환) 1 백호 2009.02.22 860
48 이동 및 탈것 SG_Wait for Move Completion Fix by sandgolem (SDK호환) 백호 2009.02.22 860
47 기타 [XP/VX/VXA] Map Screenshot by LiTTleDRAgo 1 Alkaid 2014.02.13 855
46 기타 Quick Animations by SephirothSpawn (SDK호환) 백호 2009.02.22 852
45 아이템 SG_Escape Only Items by sandgolem (SDK호환) 백호 2009.02.22 850
44 기타 Sized Events 0.1 by Toby@rmxp.org file 백호 2009.02.22 848
43 이동 및 탈것 Memorize Location R2 by dubealex file 백호 2009.02.22 846
42 스킬 Grouping and Detail (Items/Skills) 1 file 백호 2009.02.21 839
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