Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hi, so sorry I didn't see this until now! To be honest I never tried out the self-voicing functionality in Ren'Py myself so this issue never occurred to me. That does sound cumbersome to have to do in your script! I will look into this more and then get back to you, hopefully I can find a solution

Sorry for the maybe dumb question; is the hover text an issue in default Ren'Py choice menus too, or only when you use this add-on? And when you say hover text do you mean the tooltip, or just any regular choice text on hover?

No worries! Thanks for getting back to me. Without the add-on, it just reads the choice text. Example of how it works with this add-on:

Choice = "Eat apple"

Tooltip = "+5 HP"

When the cursor hovers over the choice, it will read out "Eat apple". The tooltip box will appear but it will not be read out. When the cursor is removed from the choice, it will read out "+5 HP" after the tooltip box disappears. If the cursor moves onto another choice while the tooltip text is being read, it will stop reading the tooltip text. There's a slight pause before it reads the tooltip text, so it's easy to select another choice without realizing there was tooltip text.

I think the way it should work is that when the cursor hovers over the choice, it should read out "Eat apple" followed by "+5 HP". I normally do not use self-voicing while playing, but it seems to me that having to move the cursor away but not onto another choice might be difficult or counter-intuitive.

Note: I was mistaken in my last post about needing to duplicate the text into {alt} tags for it to be read out. I just hadn't realized it wasn't being read out because of the cursor issue.

I hope this helps. Thank you for your time.

(2 edits)

Thank you for explaining in depth, I understand the issue more now!!

I think I found a fix that would require a lot less manual finagling and address the problem where even if you were to make the self-voicing more fluid, the tooltip text would just get repeated when you stop hovering

Here's the new choice screen code for you to test with the fix applied: https://pastebin.com/XLpDb3Rq

What this does is use the alt style property in the screen to automatically combine the choice text and tooltip text to be read out the way you want for all choice options - choice text first and then tooltip text. I also disabled the repetition of the tooltip text being read out when you stop hovering

Let me know if this does the trick and if you run into any issues with it! If it works, I will push this as an official update

This works perfectly, thank you!!