Skip to main content

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

Hi! I was wondering if this worked for layeredimages? It took me a bit to figure out that it was only one image with the different mouths. I ask because i plan to add blinking but it be hard to do if I can only do one image

(2 edits)

Hello, layeredimages are currently not supported because changing the mouth shapes is not possible. However, you can use a workaround where your 3 PNGs consist only of the mouth shapes and then you write the lipsync expression directly under the layeredimage call so that only the mouth changes and you have your blinking effect. In other words with layeredimages you call the base sprite with blinking and with lipsync expression you call the mouths to move.

That means you need:

- Base Sprite Eyes Open and Eyes Closed
- Your 3 Mouth shapes only.

Make sure every image is the exact same resolution and your mouth shapes on the correct position.

Thank you!

I am planning to add direct support for blinking into the lipsync expression in V1.3, so you won't need to use a workaround for blinking. The idea is to have something like 4.png, which only shows closed eyes, so the script can use it as an overlay. This overlay will then be displayed randomly every 5–15 seconds for 250 ms to simulate blinking. This is all optional, of course.

Deleted 5 days ago