Is there any way to impliment beep speech/voice beeps?

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
Njjeppson
Newbie
Posts: 8
Joined: Tue Jun 30, 2020 4:29 pm
Contact:

Is there any way to impliment beep speech/voice beeps?

#1 Post by Njjeppson »

I'd love to use beep speech/voice beeps/bebebese such as what's used in Undertale and Animal Crossing, but I'm not sure if there's any way to impliment this in Ren'Py. Is there some sort of code or plugin I can use?

User avatar
isobellesophia
Miko-Class Veteran
Posts: 979
Joined: Mon Jan 07, 2019 2:55 am
Completed: None
Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
Organization: Friendly Teachers series
Deviantart: SophBelle
itch: Child Creation
Location: Philippines, Mindanao
Contact:

Re: Is there any way to impliment beep speech/voice beeps?

#2 Post by isobellesophia »

Put this before label start

Code: Select all

init python:
    def beepy_voice(event, interact=True, **kwargs):
        if not interact:
            return

        if event == "show_done":
            renpy.sound.play("sfx/beep.ogg")
        elif event == "slow_done":
            renpy.sound.stop()
I am a friendly user, please respect and have a good day.


Image

Image


Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot]