View Single Post
  #3    
Old July 5th, 2012 (1:10 PM). Edited July 5th, 2012 by Dying Light.
Dying Light's Avatar
Dying Light Dying Light is offline
Pegasus Knight
 
Join Date: Jun 2011
Location: Exiled
Gender: Male
Nature: Hardy
Posts: 368
Quote:
Originally Posted by Maruno View Post
Try this (in def openSplash):

Code:
    @pic.name="Graphics/Titles/"[email protected]
    @pic.moveOpacity(15,0,255)
    @pic.moveSE(15,"Audio/SE/yourSEfile")
    @pic2.name="Graphics/Titles/start"
    @pic2.moveOpacity(15,0,255)
I recognised moveOpacity from the Poké Ball-throwing animation in battle, and I remembered that it also involved sound effects. A quick adaptation gave me the above code. I've not tested it, but I think it'll play the SE once as soon as the title screen has faded in.
I just tested it in Scene_Intro and it worked. All I did was change the code between line 47 and line 57. Then, I specified the SE to play. In my testing, I simply set a Pokémon cry. Now, when you press "C", it plays it.

EDIT: Yep, it works like a charm. IceGod64, Maruno's code is what you want. By itself, it plays a cry when you reach the titlescreen. With a little editing, you can set it so that it only plays when you press Enter or C.
None

“Our only limits are the ones we place on ourselves.”
Reply With Quote