[Solved]Image disappears when I make another one appear

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
starshine001
Newbie
Posts: 23
Joined: Fri Feb 02, 2018 9:16 am
Completed: None
Projects: The Nightfall [Vampire Thriller]
Organization: None
Contact:

[Solved]Image disappears when I make another one appear

#1 Post 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!
Last edited by starshine001 on Wed Feb 07, 2018 11:11 am, edited 1 time in total.
Looking cool, Joker!
-Morgana, 2017
----------------------------------------------------------------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------
My dreams dictate my reality

ReDZiX
Regular
Posts: 32
Joined: Thu Jan 04, 2018 12:42 pm
Contact:

Re: Image disappears when I make another one appear

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

User avatar
starshine001
Newbie
Posts: 23
Joined: Fri Feb 02, 2018 9:16 am
Completed: None
Projects: The Nightfall [Vampire Thriller]
Organization: None
Contact:

Re: Image disappears when I make another one appear

#3 Post by starshine001 »

That helped a bunch! Thanks a lot! :D
Looking cool, Joker!
-Morgana, 2017
----------------------------------------------------------------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------
My dreams dictate my reality

Post Reply

Who is online

Users browsing this forum: Bing [Bot]