The RPG Maker Resource Kit
RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: even821 on May 14, 2010, 03:51:10 PM
-
is it possible to fade out the intro music when the player starts the game? if it is possible, how do i do it?
-
Which RPG Maker? It'll require a bit of script editing.
-
im using rmxp. and do you know any scripts like that?
-
No, but you can very easily edit this yourself here. Just follow these steps.
Go into the script editor and click on Scene_Title. Around line 113 and 114 is this code:
# Stop BGM
Audio.bgm_stop
To have the music fade, you need to replace line 114 with either one of these two codes:
Audio.bgm_fade(x)
OR
$game_system.bgm_fade(x)
Then all you have to do is simply replace x with how long you want the fade to last. The only difference between these two codes is that I think the former one measures time in milliseconds and the latter one measures time in plain seconds. There is only one catch to doing this. If you start on a map that auto-changes the music, the title screen music fade is going to just get cut out in favor of the new music. So, you'll have to have a starting map that has no music at first.
-
thank you so much!!! it worked perfectly ;D
-
No problem. If this is resolved, mind editing your first post to add [Resolved] to your topic title?
-
done