Skip to main content

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

hello I am currently using this code for a class work of mine and it has worked wonderfully! thank you very much!!! but I have an issue

tldr condition switch kinda breaks it even if the live2d responds well
anytime I use a condition switch for any of the models using the call back it doesnt make the character talk. idunno how to phrase it forgive me if I am not making sense.

(1 edit)

Hi Mokilil, thank you for using my code!

Are your definitions and script structured something like this? (These same lines can be used in my game project for testing)

I added spacing in the image name after "f", so you don't have to manually hide them constantly when switching to another image for the same character, but that is a matter of preference.

Maybe it's not working correctly because your ford and waynely models don't have the paramMouthOpenY parameter named the same way in their json? 

A quick-and-dirty way to fix this is put in all the available namings you have like this in the live2d_lip_flapping method (this is just the example with hiyori and Epsilon but might not be universal). All the Ren'Py versions I have tested so far allows it, even when model doesn't have a blend_parameter with a particular name. Then you can remove the param_mouth_open_y_label parts in the code too because it's redundant.

OH MY GOD SYNTAX WAS MY ISSUE THAKN YOUUUUUUUUUUUUUU. I forgot that one define for the character and thank you!!!!!