rollback imagebutton not emitting sounds

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Post Reply
Message
Author
Gazza
Newbie
Posts: 24
Joined: Wed Sep 19, 2018 5:18 pm
Contact:

rollback imagebutton not emitting sounds

#1 Post by Gazza »

hello, i found out that in my quick menu, the rollback button is the only one that doesn't emit any audio

i searched on google, this forum and the documentation but i found nothing -or i completely missed it, dunno

i was wondering if the rollback button is coded in a different manner then the rest of the buttons and if there's a turnaround or i'm just this dumb

(my quick menu code)

Code: Select all

## Quick Menu screen ###########################################################
##
## The quick menu is displayed in-game to provide easy access to the out-of-game
## menus.

screen quick_menu():

    ## Ensure this appears on top of other screens.
    zorder 100

    if quick_menu:

        hbox:
            style_prefix "quick"

            imagebutton auto "gui/button/menu_%s.png" xpos 37 ypos 397 action ShowMenu('preferences')
            imagebutton auto "gui/button/log_%s.png" xpos 54 ypos 397 action ShowMenu('history')
            imagebutton auto "gui/button/s_%s.png" xpos 71 ypos 397 action Rollback()
            imagebutton auto "gui/button/f_%s.png" xpos 88 ypos 397 action Skip() alternate Skip(fast=False, confirm=False)


## This code ensures that the quick_menu screen is displayed in-game, whenever
## the player has not explicitly hidden the interface.
init python:
    config.overlay_screens.append("quick_menu")

default quick_menu = True

style image_button:
    activate_sound "music/カセットデッキボタン.mp3"

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], Ocelot