Page 1 of 1

[Solved]Image disappears when I make another one appear

Posted: Wed Feb 07, 2018 10:36 am
by starshine001
So, I've been having this problem for a while now and until now I've always been trying to work around it, but it's getting really annoying.

So, I let an image of a character appear onscreen:

Code: Select all

	show character okita at mid
	with Dissolve(.5)
Then, a few lines later, I try adding another one:

Code: Select all

	show character karuu at l
	with Dissolve(.5)
The only problem is that okita disappears as soon as I make karuu appear. Could that be because I use the same names (okita and karuu) as image tags? Just speculation on my part though.

Would be grateful if you could help!

Re: Image disappears when I make another one appear

Posted: Wed Feb 07, 2018 10:45 am
by ReDZiX
It's probably because you're using 'character' as the first image tag on both cases. If you really need to use it you should place it after the name so Renpy treats them as different entities.

Code: Select all

image okita character = "okita.png"
image karuu character = "karu.png"

Re: Image disappears when I make another one appear

Posted: Wed Feb 07, 2018 11:11 am
by starshine001
That helped a bunch! Thanks a lot! :D