Page 1 of 1

Is it possible to have interactive Live2D in Renpy?

Posted: Tue Aug 31, 2021 4:15 pm
by LightAndDark
I know how to implement basic Live2D animated sprites already, but I'm wondering if it's possible/viable to have mouse-interactible versions in Renpy? I.e. the character will look in the direction of the mouse, for example.

Re: Is it possible to have interactive Live2D in Renpy?

Posted: Sun Sep 19, 2021 12:41 pm
by jeffster
I don't know specifically about Live2D, but if you have graphics for various eyes positions, and you can control them e.g. by calling some functions, then you can call those functions from a mouse events handler. An example how to use mouse positions is here:

https://renpy.org/doc/html/cdd.html#example

See "def event" there.