Page 1 of 1

renpy rendering problem

Posted: Mon May 13, 2019 12:20 am
by apoto
Hi everyone, I am making a visual novel using ren'py, everything goes well, but some of my game testers says they encounter problems:
when the character images moves out of the screen, they will reappear and move out again quickly.
The problem only appears when the testers play the game for the first time.
Could anyone please tell me how to fix this?

this is the game demo with problem:
https://store.steampowered.com/app/9263 ... Christmas/

this is the code:

Code: Select all

label freemap_c1_daily:
    scene tavern_hall
    show ianis r at quarter2 
    show peter r at quarter1 
    show kane at quarter3 
    show anzox at quarter4 
    with dissolve
   
    $ renpy.pause(0, 0)
    $ search = False
    $ talk = True
    call screen freemap with qdis
    with qdis
    $ result = _return
    if result == "map":
        jump map_c1_daily
    if result == "talk":
        #play music tavern
        $ c1_hall = True
        play music tavern fadeout 1 fadein 1
        label c1_talk_to:
        $ peter_thumb = False
        $ Ianis_thumb = False
        "Who do you want to talk to?"
        menu:
            "Anzox":
                show peter r at offscreenleft #with move
                show ianis r at offscreenleft #with move
                show kane at offscreenright #with move
                show anzox at middle
                with move
                "I sit next to Anzox."
                jump c1_talk_to
 
            "Peter":
                show ianis r at offscreenleft
                show kane at offscreenright
                show anzox at offscreenright
                show peter r at middle
                with move
 
                if c1_talk_to_peter == False:
                    $ c1_talk_to_peter = True
                    "I sit next to Peter."
                jump c1_talk_to
 
            "Ianis":
                show peter r at offscreenleft
                show kane at offscreenright
                show anzox at offscreenright
                show ianis r at middle
                with move
                if c1_talk_to_ianis_1 == False and c1_talk_to_ianis_2 == False:
                    label c1_ianis_special:
                    play music ianis fadeout 1 fadein 1
                    if c1_talk_to_ianis == False:
                        $ c1_talk_to_ianis = True
                        "I sit next to Ianis."
                jump c1_talk_to
 
            "Kane":
                show peter r at offscreenleft
                show ianis r at offscreenleft
                show anzox at offscreenright
                show kane at middle
                with move
                jump c1_talk_to
 
            "nobody":
                jump map_c1_daily

Re: renpy rendering problem

Posted: Fri May 17, 2019 12:10 am
by XxrenxX
Idk if this would make a difference, but after the move transition would adding a hide chara help? So the game removes it completely from the screen even if it's out of view?

Re: renpy rendering problem

Posted: Sat May 18, 2019 4:38 am
by apoto
XxrenxX wrote:
Fri May 17, 2019 12:10 am
Idk if this would make a difference, but after the move transition would adding a hide chara help? So the game removes it completely from the screen even if it's out of view?
Thank you! I'll try it.