Hiding two images at once?

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
fullmontis
Regular
Posts: 129
Joined: Sun May 05, 2013 8:03 am
Deviantart: fullmontis
itch: fullmontis
Location: Italy
Contact:

Hiding two images at once?

#1 Post by fullmontis »

This has probably an easy solution but could not find it anywhere.

Basically I need to hide two images shown on the screen with a dissolve at the same time. But I don't know the sintax to do so.

If I use the following:

Code: Select all

hide image1 with dissolve
hide image2 with dissolve
I get the images to disappear in sequence, which is not what I want.

Any help is greatly appreciated.

User avatar
Geckos
Veteran
Posts: 471
Joined: Fri Aug 17, 2012 8:33 am
Completed: Brilliant Shadows, Perceptions of the Dead, The Phantom Icecream Truck
Projects: Embers of Magic, Pale Spectrum, Perceptions of the Dead
Organization: Ithaqua Labs
Tumblr: geckosart
Deviantart: sitaart
Contact:

Re: Hiding two images at once?

#2 Post by Geckos »

hide image1
hide image2
with dissolve

:3
Image ImageImage

User avatar
fullmontis
Regular
Posts: 129
Joined: Sun May 05, 2013 8:03 am
Deviantart: fullmontis
itch: fullmontis
Location: Italy
Contact:

Re: Hiding two images at once?

#3 Post by fullmontis »

Oh wow, I didn't know you could use the with statement like that. Really cool! Always something new to learn with Ren'Py.
Thank you Geckos :D

Post Reply

Who is online

Users browsing this forum: Google [Bot]