XP 스크립트

http://www.gamebaker.com/rmxp/script-xs/transfer-music.htm
맵을 이동할 때, 맵 이동 대상이 현재 플레이어가 있는 맵이라면 현재 지정된 맵의 음악을 처음부터 시작하지 않게 합니다.


#=============================================================================
# ** SG Transfer Player Music Fix
#=============================================================================
# sandgolem
# Version 2
# 13.07.06
#=============================================================================
#
# To use this script-x, copy it and insert it in a new section above "Main",
# but under the default script-xs and the SDK if you're using it.
#
#=============================================================================

begin
SDK.log('SG Transfer Player Music Fix', 'sandgolem', 2, '13.07.06')
if SDK.state('SG Transfer Player Music Fix') != true
@sg_transmusicfix_disabled = true
end
rescue
end

if !@sg_transmusicfix_disabled
#--------------------------------------------------------------------------

class Game_Map
alias sandgolem_transmusicfix_gamemap_autoplay autoplay
def autoplay
if $sg_autoplay_temp != $game_temp.player_new_map_id
sandgolem_transmusicfix_gamemap_autoplay
end
$sg_autoplay_temp = nil
end
end

class Scene_Map
alias sandgolem_transmusicfix_scenemap_transfer transfer_player
def transfer_player
$sg_autoplay_temp = $game_map.map_id
sandgolem_transmusicfix_scenemap_transfer
end
end

#--------------------------------------------------------------------------
end

**맵을 옮겨도 이전 맵의 음악이 계속 재생되는 버그를 수정한 버전입니다.

Who's 백호

?

이상혁입니다.

http://elab.kr


List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 스크립트 자료 게시물 작성시 주의사항 습작 2012.12.24 6203
234 기타 FPLE 2 - First Person Labyrinth Explorer by MGC 1 Alkaid 2012.01.17 3415
233 기타 Note Editor for RMXP by NEWOLD 1 Alkaid 2012.01.15 2101
232 기타 간단한 Scene_Base #2 2 Alkaid 2012.01.15 1738
231 기타 쓸만한스크립트61개포함 28 file 궭크이 2012.01.09 4299
230 기타 탤레포트 스크립트 3 앞잡이 2011.12.10 2260
229 기타 업데이트 (죽었을경우부활 )스크립트한글화 2 by향온 2011.09.27 2438
228 기타 부활스크립트 4 캉쿤 2011.09.19 2067
227 기타 Text to RGSS by DerVVulfman Alkaid 2011.04.18 1319
226 기타 [게이지바]HelloCoaVer4.0 업데이트 속도 변경 [오랜만의 업데이트] 30 file 코아 코스튬 2011.04.02 3792
225 기타 3d 렌더링스크립트 어렵게 찾음 9 라구나 2011.03.05 3610
224 기타 The General Monster Generator 1.1 by DerVVulfman 1 file Alkaid 2011.03.02 1496
223 기타 일시정지 스크립트 13 【§㉤ㅏ법㉧ㅣ§】 2011.02.26 1841
222 기타 sandgolem Script Archive (RMXP SDK 1.5 이상 필요) file Alkaid 2011.02.17 1453
221 기타 [게이지바]게이지바 스크립트 2.5 (실용적?) 17 file 코아 코스튬 2010.12.05 4220
220 기타 Upload & Download files with RGSS 2.1 by berka (XP/VX 공용) 5 Alkaid 2010.11.20 2138
219 기타 Advanced Gold Display by Dubealex (돈 액수를 세자리씩 끊어 표기) 2 Alkaid 2010.11.18 1562
218 기타 [회복] 대기 회복 스크립트4.0 여러 오류 문제 해결 및 길이 줄임 11 file 코아 코스튬 2010.11.06 2190
217 기타 현재시간표시 33 file 코아 코스튬 2010.10.09 2529
216 기타 [맵 아이디 확인 스크립트] 맵아이디 모르는 사람을 위한 스크립트 9 file 코아 코스튬 2010.10.09 2163
215 기타 Seph's Test Bed v.4 (파일첨부) (SDK2.x용) Alkaid 2010.10.08 1536
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 11 12 13 Next
/ 13