RPGXP 스크립트
2010.10.14 02:54
8방향으로이동가능
↖ ↑ ↗
← ○ →
↙ ↓ ↘
-
한글조합입력기(영어가능)
Date2019.11.10 CategoryRPGXP 스크립트 By조규진1 Views946 Votes0
Read More
-
RPG XP Xas액알
Date2018.10.30 CategoryRPGXP 스크립트 By심심치 Views1161 Votes0
Read More
-
Font Setup
Date2016.07.22 CategoryRPGXP 스크립트 By운님 Views1641 Votes0
Read More
-
대화에 얼굴이 나오는 스크립트 by: killarot(네이버 dust_mite)(수정버전)
Date2016.02.22 CategoryRPGXP 스크립트 By부초 Views2043 Votes0
Read More
-
RPGXP ATB전투 시스템 예제(스크립트는 예제 안에 포함)
Date2015.11.17 CategoryRPGXP 스크립트 ByMagNesium Views870 Votes0
Read More
-
스테이터스,보수,골드,플레임 타임 삭제
Date2015.06.02 CategoryRPGXP 스크립트 Byrpgmakingbot Views847 Votes0
Read More
-
헤드 업 디스플레이 스크립트
Date2015.01.30 CategoryRPGXP 스크립트 By 운 Views958 Votes0
Read More
-
컬러 비트맵 타이틀 스크립트
Date2015.01.20 CategoryRPGXP 스크립트 By 운 Views912 Votes1
Read More
-
로고 스크립트
Date2014.12.10 CategoryRPGXP 스크립트 By 운 Views1257 Votes1
Read More
-
타이틀 로딩 스크립트
Date2014.12.07 CategoryRPGXP 스크립트 By 운 Views1148 Votes0
Read More
-
타이틀 스크립트
Date2014.12.05 CategoryRPGXP 스크립트 By 운 Views1121 Votes0
Read More
-
액알 스크립트
Date2014.11.23 CategoryRPGXP 스크립트 By커비♥ Views1527 Votes1
Read More
-
공포게임에 장비착용메뉴
Date2014.08.24 CategoryRPGXP 스크립트 By 운 Views1506 Votes0
Read More
-
얼굴표시/문장을 한글자씩 나타내주는 스크립트 (출처-히페리온)
Date2014.06.22 CategoryRPGXP 스크립트 By시르카 Views1285 Votes0
Read More
-
횡스크롤 점프 [버튼허용스위치추가]
Date2014.06.01 CategoryRPGXP 스크립트 By 운 Views1722 Votes0
Read More
-
말풍선 메세지 스크립트
Date2014.02.24 CategoryRPGXP 스크립트 By천둥번들 Views1936 Votes0
Read More
-
스텟찍기스크립트
Date2014.02.22 CategoryRPGXP 스크립트 By천둥번들 Views1921 Votes3
Read More
-
달리기스크립트
Date2014.02.22 CategoryRPGXP 스크립트 By천둥번들 Views2391 Votes2
Read More
-
8방향 이동스크립트
Date2014.02.22 CategoryRPGXP 스크립트 By천둥번들 Views1827 Votes6
Read More
-
AraLab_MultiStartingPoint (다중 출발점 스크립트, 캐릭터 선택 스크립트) ver.0.2beta
Date2014.01.21 CategoryRPGXP 스크립트 By 운 Views2065 Votes1
Read More
|
#--------------------------------------------------------------------------
# ● 프레임 갱신
#--------------------------------------------------------------------------
def update
# 로컬 변수에 이동중인지 어떤지를 기억
last_moving = moving?
# 이동중 , 이벤트 실행중 , 이동 루트 강제중 ,
# 메세지 윈도우 표시중의 머지않아도 아닌 경우
unless moving? or $game_system.map_interpreter.running? or
@move_route_forcing or $game_temp.message_window_showing
# 방향 버튼이 밀리고 있으면 , 그 방향에 플레이어를 이동
# ★==========================================================================☆
# 방향을 보존
direction = @direction
case Input.dir8
when 1 # 좌하
move_left
move_down
# 방향 고정이 아닌 경우
unless @direction_fix
# 오른쪽 방향이었던 경우는 왼쪽을 , 오름새였던 경우는 아래를 향하는
@direction = (direction == 6 ? 4 : direction == 8 ? 2 : direction)
end
when 2 # 하
move_down
when 3 # 우하
move_down
move_right
# 방향 고정이 아닌 경우
unless @direction_fix
# 좌향이었던 경우는 오른쪽을 , 오름새였던 경우는 아래를 향하는
@direction = (direction == 4 ? 6 : direction == 8 ? 2 : direction)
end
when 4 # 좌
move_left
when 6 # 우
move_right
when 7 # 좌상
move_up
move_left
# 방향 고정이 아닌 경우
unless @direction_fix
# 오른쪽 방향이었던 경우는 왼쪽을 , 하향이었던 경우는 위를 향하는
@direction = (direction == 6 ? 4 : direction == 2 ? 8 : direction)
end
when 8 # 상
move_up
when 9 # 우상
move_right
move_up
# 방향 고정이 아닌 경우
unless @direction_fix
# 좌향이었던 경우는 오른쪽을 , 하향이었던 경우는 위를 향하는
@direction = (direction == 4 ? 6 : direction == 2 ? 8 : direction)
end
end
# ☆==========================================================================★
end
# 로컬 변수에 좌표를 기억
last_real_x = @real_x
last_real_y = @real_y