Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

To fix the movement problem you can adjust the beginning of the tooltip plugin to this:

init python:
    class MouseTooltip(renpy.Displayable):
        """A Tooltip whose x/y position follows the mouse's."""
        action = Action

        def set_tooltip_value(self, new_value):
            if self.value != new_value:
                self.value = new_value
                print("Calling restart", new_value)
                renpy.restart_interaction()

        def Action(self, new_value):
            return Function(self.set_tooltip_value, new_value, _update_screens=False)

Note that this is the limit with which I will be adjusting this tooltip code, as it does not appear to be related to my tool that it is causing these problems.

As for your infinite restarting problem, I have tried many things and cannot recreate your issue, including with full screen imagebuttons. I suspect you have something else going on in your project which is causing this. If you're able to recreate the problem on a default project, feel free to send me the code for testing. I would definitely suggest you move to imagemaps or crop your imagebuttons if possible to remove transparent space, which can often alleviate performance and other issues.