Page 1 of 1

Textbox jumping around when using dissolve (SOLVED)

Posted: Sun Jan 11, 2015 9:19 am
by champignonkinoko
Hi all

I've recently encountered this issue and hope someone has the solution to this...

When I do

Code: Select all

    window hide
    show aki at center with dissolve
    window show
,

I want to keep the textbox there (instead of dissolving). So I used a

Code: Select all

window show
command to keep the window there.

However, this doesn't stop the textbox from dissolving. I want to keep the textbox there while the character appears with dissolve. Is this possible? Am I missing something?



Thanks for reading.

Re: Textbox jumping around when using dissolve

Posted: Sun Jan 11, 2015 11:08 pm
by champignonkinoko
I've tried recreating the issue from a blank slate, but this issue recreated does not concern dissolve. It's where the textbox keeps jumping around (I think solving this might help with solving the 'dissolve' issue). The script and image files used are as attached.

I want the say_who_window to be layered on top of the textbox. In attempt to do this, I flipped the order between say_who_window and textbox

Code: Select all

    if not two_window:
        # The one window variant.
        window:
            id "window"
            has vbox:
                style "say_vbox"
            if who:
                text who id "who"
            text what id "what"
    else:
        # The two window variant.
        vbox:
            style "say_two_window_vbox"
            window:
                id "window"
                has vbox:
                    style "say_vbox"
                text what id "what"
            if who:
                window:
                    style "say_who_window"
                    text who:
                        id "who"
Renpy would, by default, draw the say_who_window below the textbox, causing the textbox to 'jump around' between dialogue and narration.

edit: This issue fixed now thanks to Arowana, leaving the dissolve issue to ponder :)

Code: Select all

    if not two_window:
        # The one window variant.
        $ two_window_variant = False
        window:
            id "window"
            has vbox:
                style "say_vbox"
            if who:
                text who id "who"
            text what id "what"
    else:
        # The two window variant.
        $ two_window_variant = True
        vbox:
            style "say_two_window_vbox"
            window:
                id "window"
                has vbox:
                    style "say_vbox"
                text what id "what"
        if who:
            window:
                style "say_who_window"
                text who:
                    id "who"
Does anyone know of a fix to this?