Hide multiple sprites simultaneously [solved]

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
lemonscent
Regular
Posts: 185
Joined: Mon Jun 17, 2013 5:24 pm
Projects: Remembrance:)
Contact:

Hide multiple sprites simultaneously [solved]

#1 Post by lemonscent » Sat Jul 20, 2013 1:55 pm

How do I hide multiple sprites using transitions (eg easeoutbottom) at the same time?
Right now, all that happens is one sprite disappears, and then another sprite disappears.

I tried using "hide sprite1 and sprite2 with eob" for the heck of it, but in that case, only sprite1 disappears.
Last edited by lemonscent on Sat Jul 20, 2013 2:24 pm, edited 1 time in total.
★Remembrance - a WIP
소중했던 내 사람아 이젠 안녕❣ (안녕 안녕 이젠 안녕)

User avatar
xavimat
Eileen-Class Veteran
Posts: 1458
Joined: Sat Feb 25, 2012 8:45 pm
Completed: Yeshua, Jesus Life, Cops&Robbers
Projects: Fear&Love, unknown
Organization: Pilgrim Creations
Github: xavi-mat
itch: pilgrimcreations
Location: Spain
Contact:

Re: Hide multiple sprites simultaneously

#2 Post by xavimat » Sat Jul 20, 2013 2:00 pm

You can add the transition at the end. Then it applies to all of them:

Code: Select all

hide eileen
hide lucy
hide johnny
with easeoutbottom
Comunidad Ren'Py en español: ¡Únete a nuestro Discord!
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)

User avatar
Suwamoto
Regular
Posts: 66
Joined: Wed Sep 05, 2012 7:36 am
Contact:

Re: Hide multiple sprites simultaneously

#3 Post by Suwamoto » Sat Jul 20, 2013 2:05 pm

How about this? ovo

Code: Select all

    hide grace normal
    hide louie normal
    with dissolve
This hides them both at the same time for me ovo

Edit: Me ish slow XD

User avatar
xavimat
Eileen-Class Veteran
Posts: 1458
Joined: Sat Feb 25, 2012 8:45 pm
Completed: Yeshua, Jesus Life, Cops&Robbers
Projects: Fear&Love, unknown
Organization: Pilgrim Creations
Github: xavi-mat
itch: pilgrimcreations
Location: Spain
Contact:

Re: Hide multiple sprites simultaneously

#4 Post by xavimat » Sat Jul 20, 2013 2:10 pm

Suwamoto wrote:How about this? ovo

Code: Select all

    hide grace normal
    hide louie normal
    with dissolve
This hides them both at the same time for me ovo

Edit: Me ish slow XD
When hidding, we don't need to specify the "normal" or "happy"... part. This works the same:

Code: Select all

    hide grace
    hide louie
    with dissolve
Comunidad Ren'Py en español: ¡Únete a nuestro Discord!
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)

User avatar
lemonscent
Regular
Posts: 185
Joined: Mon Jun 17, 2013 5:24 pm
Projects: Remembrance:)
Contact:

Re: Hide multiple sprites simultaneously

#5 Post by lemonscent » Sat Jul 20, 2013 2:24 pm

Okay, thanks!
★Remembrance - a WIP
소중했던 내 사람아 이젠 안녕❣ (안녕 안녕 이젠 안녕)

Post Reply

Who is online

Users browsing this forum: _ticlock_