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 6204
34 기타 [게이지바]게이지바 스크립트 2.5 (실용적?) 17 file 코아 코스튬 2010.12.05 4220
33 기타 sandgolem Script Archive (RMXP SDK 1.5 이상 필요) file Alkaid 2011.02.17 1453
32 기타 일시정지 스크립트 13 【§㉤ㅏ법㉧ㅣ§】 2011.02.26 1841
31 기타 The General Monster Generator 1.1 by DerVVulfman 1 file Alkaid 2011.03.02 1496
30 기타 3d 렌더링스크립트 어렵게 찾음 9 라구나 2011.03.05 3610
29 기타 [게이지바]HelloCoaVer4.0 업데이트 속도 변경 [오랜만의 업데이트] 30 file 코아 코스튬 2011.04.02 3792
28 기타 Text to RGSS by DerVVulfman Alkaid 2011.04.18 1319
27 기타 부활스크립트 4 캉쿤 2011.09.19 2067
26 기타 업데이트 (죽었을경우부활 )스크립트한글화 2 by향온 2011.09.27 2438
25 기타 탤레포트 스크립트 3 앞잡이 2011.12.10 2260
24 기타 쓸만한스크립트61개포함 28 file 궭크이 2012.01.09 4299
23 기타 간단한 Scene_Base #2 2 Alkaid 2012.01.15 1738
22 기타 Note Editor for RMXP by NEWOLD 1 Alkaid 2012.01.15 2101
21 기타 FPLE 2 - First Person Labyrinth Explorer by MGC 1 Alkaid 2012.01.17 3415
20 기타 [자작]데미지표시 19 file JACKY 2012.02.15 3845
19 기타 창고 스크립트 5 긔염둥이♥ 2012.06.18 1727
18 기타 Etude87_Bone_Animation_Character ver.1.2 4 습작 2012.07.06 1255
17 기타 이벤트 범위 스크립트 2 Tine 2012.07.25 1580
16 기타 appletree님 요청) 화면 명암 주기 3 file 뮤바보 2013.01.31 2727
15 기타 Localization by ForeverZer0, KK20 습작 2013.04.26 738
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 11 12 13 Next
/ 13