Skip to main content

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

Ren'Py Inline TooltipsView project page

Automatically markup your Ren'Py dialogue with tooltips.
Submitted by Naoimh Murchan — 3 days, 17 hours before the deadline
Rated by 11 people so far
Add to collection

Play asset pack

Ren'Py Inline Tooltips's itch.io page

Rate this asset pack

In order to rate this submission you must be logged into itch.io and have submitted your own entry. Anyone with an account can leave a comment.

Type of Asset

Programming

Modules that expand on existing engine functionality or built applications that perform a utility.

License
CC by 4.0: https://creativecommons.org/licenses/by/4.0/deed.en

Leave a comment

Log in with itch.io to leave a comment.

Comments

Submitted

This is a super fun tool that could for sure come in handy, especially for lore heavy games or anything that expects a difference in player background. Definitely coming back to this for some of my next games.

Submitted(+1)

A great idea I'm sure many will get use out of! One thing I can mention is that it's actually perfectly fine to do

style say_dialogue:
    hyperlink_functions (inline_tooltip_styler, inline_tooltip_clicked, inline_tooltip_hovered)

in the inline_tooltip.rpy file - Ren'Py just collects all the style declarations with the same name into one style at the end. It can be a little confusing but it works out well here so there's one less step for users!

I did also want to warn that you may want to be careful with your find-and-replace code - since it doesn't account for punctuation/spacing or sort by word length, something like `Elves` will always match before `The Elves`, for example, and you might also run into situations where you include `_("elves")` as a key but it highlights "elves" inside "themselves".

Thank you for making this!

Developer(+1)

Oh gosh, that's really good to know about the styles, thank you! And yeah the find and replace code was definitely a little shoddy haha, I'll be fixing it!

But also thank you so much for the comment, it means a lot to have someone I look up to in this community look at my code. Thank you so much for everything you do for us renpy devs!