Pengenalan:
-Biar musiknya terus ampe map pas new game.
Karena saya masih beginner scripter, mau iseng bikin script music yang ada di title screen gk mati pas dipilih new game. Biar lebih kompatible dibanding script yang sekaligus animasi title(Sorry gk maksud
).
Instruksi:
-ini cuman script tambahan(Pasang/pakai)
Script:- :
#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:
# Music Title Hingga Map
# Author: LastEdelweissVIP
# Release date: 16/01/2014
# EDELWEISS MODULE
#
#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:
module ELS_SOUND_NEW_GAME
#Atur True/False apabila saat new game ingin menyetop music.
NEWGAME_STOP_BGM = false
end #module
#===========================================================
# ● Scene_Title
#===========================================================
class Scene_Title
include ELS_SOUND_NEW_GAME
#--------------------------------------------------------------------------
# ● command_new_game
#--------------------------------------------------------------------------
def command_new_game
hitamkan_semua
DataManager.setup_new_game
SceneManager.goto(Scene_Map)
#--------------------------------------------------------------------------
# ● play_title_music
#--------------------------------------------------------------------------
def mainkan_terus_musiknya
$data_system.title_bgm.play
RPG::BGS.stop
RPG::ME.stop
end #play_title_music
#--------------------------------------------------------------------------
# ● fadeout_semua
#--------------------------------------------------------------------------
end #command_new_game
def hitamkan_semua(time = 1000)
RPG::BGM.fade(time) if ELS_SOUND_NEW_GAME::NEWGAME_STOP_BGM
RPG::BGS.fade(time)
RPG::ME.fade(time)
Graphics.fadeout(time * Graphics.frame_rate / 1000)
RPG::BGM.stop if ELS_SOUND_NEW_GAME::NEWGAME_STOP_BGM
RPG::BGS.stop
RPG::ME.stop
end #hitamkan_semua
end #Scene_Title
#===========================================================
#
# ▲ Akhir dari File
#
#===========================================================