Is it possible to have interactive Live2D in Renpy?

A place to discuss things that aren't specific to any one creator or game.
Forum rules
Ren'Py specific questions should be posted in the Ren'Py Questions and Annoucements forum, not here.
Post Reply
Message
Author
LightAndDark
Newbie
Posts: 12
Joined: Tue Jan 09, 2018 7:25 am
Contact:

Is it possible to have interactive Live2D in Renpy?

#1 Post 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.

jeffster
Veteran
Posts: 361
Joined: Wed Feb 03, 2021 9:55 pm
Contact:

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

#2 Post 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.

Post Reply

Who is online

Users browsing this forum: No registered users