How do you show two characters at the same time?

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
Kattsnurr360
Newbie
Posts: 14
Joined: Thu Feb 15, 2018 10:22 am
Contact:

How do you show two characters at the same time?

#1 Post by Kattsnurr360 »

I tried to have one character at the left side of the screen and the other at the right side of the screen. However, once I tries to call for another character to appear, the first character disappears...

Code: Select all

show Sprite Dark Hair at left
jump endstory
    
    label endstory:
    
    show Sprite Blonde Hair at right
Thanks for the answers in advance :)

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: How do you show two characters at the same time?

#2 Post by starshine001 »

I actually had the same problem - try renaming the files:

Sprite Dark Hair to Dark Hair Sprite
Sprite Blonde Hair to Blonde Hair Sprite

(You can rename them to anything you want, but if both pictures have Sprite as the first word Ren'py thinks their parts of the same image if that makes sense.)
So, yeah, just rename them so that they don't both have Sprite in front.
Looking cool, Joker!
-Morgana, 2017
----------------------------------------------------------------------------------------------------------------------------------------------------------

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

User avatar
Kattsnurr360
Newbie
Posts: 14
Joined: Thu Feb 15, 2018 10:22 am
Contact:

Re: How do you show two characters at the same time?

#3 Post by Kattsnurr360 »

Thank you starshine001, the script worked when I changed the names :D

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3791
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: How do you show two characters at the same time?

#4 Post by Imperf3kt »

It should be possible to

Code: Select all

show Sprite Dark Hair as something_else
You would need to define a "something_else" image so Ren'Py knows what its using.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

Post Reply

Who is online

Users browsing this forum: Google [Bot]