Why do I keep seeing the transparent grid?

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
Duchess
Regular
Posts: 61
Joined: Sat Aug 08, 2015 7:26 pm
Projects: Garden of Seif; Old Lucid9 Creative; Content Writer for VN Game Den
Organization: Foxdrift Studios
itch: foxdrift-studios
Location: Las Vegas
Contact:

Why do I keep seeing the transparent grid?

#1 Post by Duchess »

Hi! I think I may have messed something up, because I haven't had this problem before.

I'm working on my winter jam project, so I'm using a lot of movie backgrounds. The issue is when I fast forward or rewind, I see the transparent grid in between scene changes. I do not see it when playing through at normal speed. I want players to be able to fast forward and rewind without seeing that, of course...

The spot I see it in this code below is right before Iris says "Gaze upon me if you will..."

Code: Select all

#FADE TO BLACK    
    scene black with dissolve

    "An hour passes, and I return with a rabbit as my reward for hunting."
    "Seth built a fire in the meantime." 

#MOUNTAINS
    show mountains with dissolve
    scene snow movie mountainslow with dissolve
    show iris basic1 at left with dissolve

    Iris smirk1 "Gaze upon me if you will. I’ve returned with a feast."

    show seth disbelief at right with dissolve
In this, I tried having the static PNG version of the image show right before the movie starts (which is the same image but with animations)
But I have received the same result as doing the code like this:

Code: Select all

#MOUNTAINS
    scene snow movie mountainslow with dissolve
    show iris basic1 at left with dissolve
Duchess aka Suna back in the olden days.
https://foxdrift-studios.itch.io/garden-of-seif Just Making a visual novel about romance, assassins, a badass MC, and an anti-fairy godmother.

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

Re: Why do I keep seeing the transparent grid?

#2 Post by Ocelot »

Is snow movie mountainslow a movie sprite or simple ATL animation?
scene statement removes all displayables, so you need to call it before you show images you want to stay.
< < insert Rick Cook quote here > >

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

Re: Why do I keep seeing the transparent grid?

#3 Post by Imperf3kt »

Try it this way

Code: Select all

#FADE TO BLACK    
    scene black with dissolve

    "An hour passes, and I return with a rabbit as my reward for hunting."
    "Seth built a fire in the meantime." 

#MOUNTAINS
    #show the static image of the scene to avoid transparency issues with the dissolve transform.
    scene mountains with dissolve
    #show the scene
    show snow movie mountainslow
    #show sprite
    show iris basic1 at left
    #add transform to the previous two show commands
    with dissolve

    Iris smirk1 "Gaze upon me if you will. I’ve returned with a feast."

    show seth disbelief at right with dissolve
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: LuckyT