[Solved] Make sprite appear with scene.

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
K-PSZH
Regular
Posts: 37
Joined: Sun May 15, 2022 10:34 am
Soundcloud: K-PSZH
Location: Russia
Contact:

[Solved] Make sprite appear with scene.

#1 Post by K-PSZH »

Probably one of the dumbest questions on this forum, but still. I haven't found any info about it.

Code: Select all

    scene testbg onlayer master with fade
    show testsprite onlayer master with dissolve
How can I make sprite appear with scene, not after it's transition?
Last edited by K-PSZH on Mon Jun 20, 2022 4:49 pm, edited 1 time in total.
Missing/forgetting a lot of simplest things and ask about them here.

laure44
Regular
Posts: 84
Joined: Mon Mar 08, 2021 10:55 pm
Projects: Arkan'sTower, Gemshine Lorelei!
Location: France
Contact:

Re: Make sprite appear with scene.

#2 Post by laure44 »

Try this:

Code: Select all

    scene testbg onlayer master
    show testsprite onlayer master
    with fade

User avatar
Ocelot
Lemma-Class Veteran
Posts: 2438
Joined: Tue Aug 23, 2016 10:35 am
Github: MiiNiPaa
Discord: MiiNiPaa#4384
Contact:

Re: Make sprite appear with scene.

#3 Post by Ocelot »

and master is the default layer for both scene and show statements, you can safely omit those.
< < insert Rick Cook quote here > >

User avatar
henne
Newbie
Posts: 19
Joined: Tue May 25, 2021 6:10 am
Contact:

Re: Make sprite appear with scene.

#4 Post by henne »

K-PSZH wrote: Sat Jun 18, 2022 2:14 pm Probably one of the dumbest questions on this forum, but still. I haven't found any info about it.

Code: Select all

    scene testbg onlayer master with fade
    show testsprite onlayer master with dissolve
How can I make sprite appear with scene, not after it's transition?
I am not quite sure if I get your question right, so I guess, you could just do this:

scene testbg
show testsprite
with fade

Post Reply

Who is online

Users browsing this forum: bilmem, Bing [Bot], Google [Bot]