Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
- Posts: 175
- Joined: Wed Mar 27, 2013 12:48 pm
- Completed: The Mishka Effect, Fairly Dangerous.
- Projects: Palette Swap
Hi! I have a letters inventory screen where you can click on image buttons to read different letters. When the button is clicked it used to play a page flip sound effect.
The SE played fine, but I had to add "tag menu" to the code so that the player wouldn't get stuck in the letter when accessed through the preferences navigation menu from the title screen. But now the SE isn't played anymore. Any ideas?
Code: Select all
on "show" action Play("sound", "Audio/sfx/Letter.wav")
add "Letter/open_letter_1_text.png" xpos 146 ypos 45
imagebutton auto "Letter/game_menu_return_%s.png" xpos 1152 ypos 10 focus_mask True action ShowMenu("letters")