Hi guys,
All is in the title, I have actually no idea of how is it implementable. If you have some advice or some exemple, I will take it with pleasure.
launch sound on hovered imagebutton
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
-
- Miko-Class Veteran
- Posts: 793
- Joined: Fri Feb 09, 2018 12:05 am
- Location: Canada
- Contact:
Re: launch sound on hovered imagebutton
you can try activate_sound "clicked.ogg"
example:
example:
Code: Select all
imagebutton idle im.Scale("gui/button/button_config.png", 129, 25) xpos 1100 ypos 550 hover im.Scale("gui/button/button_config(1).png", 129, 25) activate_sound "clicked.ogg" action ShowMenu('preferences')
- Ocelot
- Lemma-Class Veteran
- Posts: 2400
- Joined: Tue Aug 23, 2016 10:35 am
- Github: MiiNiPaa
- Discord: MiiNiPaa#4384
- Contact:
Re: launch sound on hovered imagebutton
Use hover_sound property: https://www.renpy.org/doc/html/style_pr ... properties
< < insert Rick Cook quote here > >
Who is online
Users browsing this forum: No registered users