Skip to main content

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

Hello, great plugin, but I encountered a problem, at the beginning of each scene, when the dialogue starts, the picture kind of “jumps”, first a darkened picture is shown, then immediately a normal one, after which the dialogue runs normally, as it should. Any ideas what could be causing this and how to fix it?

Sample code below:

define g1 = Character("Первый Стражник", color="#be4c4c", image="guard1",callback=name_callback, cb_name="guard1")

image guard1 guard1a = At('guard1', sprite_highlight('guard1'))

show guard1 at left2

with Dissolve(0.2)

g1 guard1a "В райских гущах, а ты как думаешь?"

If I had to guess I would presume it's because when the scene starts, the character hasn't been speaking, so the speaking_char is probably either None or someone else. Then when the line starts, the character is then set as the speaking_char, so he lights up to normal. If you want them to start off already focused, you can manually set the speaking char by doing:

$ speaking_char = "guard1"

either before the transition or sometime during it. Which would then have the sprite start off in the talking state.

Hopefully that helps. But if it's some other issue, let me know and I'd be happy to help correct it.

Unfortunately it didn't help, the problem still occurs. I tried reinstalling the file, changing animation settings. If suddenly this helps in any way, after I click through the entire dialogue, and then go back and repeat everything again, the error does not occur.

Sorry about that. Yeah I've had that issue sometimes crop up. Usually though it's when I'm having another auto talking solution going on as well. If I ever find a solution to that though I'll be sure to let you know.