Chamber, using a style sound effects when each ...?

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
Post Reply
Message
Author
User avatar
E.Bathory
Regular
Posts: 26
Joined: Wed Apr 25, 2012 7:25 am
Projects: Lance of Longinus, Charm Harmony, Aristata, Cage Bakery, 4Leaf
Location: Korea, Republic of.
Contact:

Chamber, using a style sound effects when each ...?

#1 Post by E.Bathory » Tue May 01, 2012 1:38 am

In the various menus using the style and sound effects are applied.
Ambassador to play the sound when you press the window What do I do?

User avatar
DaFool
Lemma-Class Veteran
Posts: 4171
Joined: Tue Aug 01, 2006 12:39 pm
Contact:

Re: Chamber, using a style sound effects when each ...?

#2 Post by DaFool » Tue May 01, 2012 5:11 am

style.button.activate_sound = "sfx/select.ogg"
style.imagemap.activate_sound = "sfx/confirm.ogg"

User avatar
E.Bathory
Regular
Posts: 26
Joined: Wed Apr 25, 2012 7:25 am
Projects: Lance of Longinus, Charm Harmony, Aristata, Cage Bakery, 4Leaf
Location: Korea, Republic of.
Contact:

Re: Chamber, using a style sound effects when each ...?

#3 Post by E.Bathory » Tue May 01, 2012 5:38 am

That is the part i've already applied.
What I'm talking about metabolic window or sound when you press the screen to play the game is supposed to be ...

User avatar
DaFool
Lemma-Class Veteran
Posts: 4171
Joined: Tue Aug 01, 2006 12:39 pm
Contact:

Re: Chamber, using a style sound effects when each ...?

#4 Post by DaFool » Tue May 01, 2012 11:34 am

Replace the textbutton portion in your main menu in screens.rpy

Code: Select all

        imagebutton:
            ypadding 5
            action [Play("sound", "sfx/confirm2.ogg"), Start()]
            idle "gui/New1.png"
            hover "gui/New2.png"
            hovered Play ("sound", "sfx/slight.ogg")       
        imagebutton:
            ypadding 5
            action ShowMenu("load")
            idle "gui/Continue1.png"
            hover "gui/Continue2.png"
            hovered Play ("sound", "sfx/slight.ogg")            
        imagebutton:
            ypadding 5
            action ShowMenu("preferences")
            idle "gui/Options1.png"
            hover "gui/Options2.png"
            hovered Play ("sound", "sfx/slight.ogg")            
        imagebutton:
            ypadding 5
            action ShowMenu("mygallery")
            idle "gui/Gallery1.png"
            hover "gui/Gallery2.png"
            hovered Play ("sound", "sfx/slight.ogg")            
        imagebutton:
            ypadding 5
            action Quit(confirm=False)
            idle "gui/Quit1.png"
            hover "gui/Quit2.png"
            hovered Play ("sound", "sfx/slight.ogg")        

User avatar
E.Bathory
Regular
Posts: 26
Joined: Wed Apr 25, 2012 7:25 am
Projects: Lance of Longinus, Charm Harmony, Aristata, Cage Bakery, 4Leaf
Location: Korea, Republic of.
Contact:

Re: Chamber, using a style sound effects when each ...?

#5 Post by E.Bathory » Thu May 03, 2012 10:44 am

sorry, i do not speak english very well.
I want to game Screen when you press~

Post Reply

Who is online

Users browsing this forum: No registered users