Strange bug on renpy's new GUI

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
firecat
Miko-Class Veteran
Posts: 540
Joined: Sat Oct 25, 2014 6:20 pm
Completed: The Unknowns Saga series
Projects: The Unknown Saga series
Tumblr: bigattck
Deviantart: bigattck
Skype: bigattck firecat
Soundcloud: bigattck-firecat
Contact:

Strange bug on renpy's new GUI

#1 Post by firecat » Mon Nov 21, 2016 3:36 pm

I am reworking my past novels into renpy's new gui but it would seem like there is a strange bug on it. My code (RPG Homebrew: viewtopic.php?f=51&t=35974) does work well with the new gui but add dialog before any battle like this:

Code: Select all

label start:
    
    "meow!"
    "fight or die"
    
    $ potions_left = 10
    with None
    jump fight
    
label fight:
    
    python:
        
        heromax_HP = 1000
        hero_HP = 1000
        
        tigermax_HP = 2000
        tiger_HP = 2000
        
        extramax_HP = 9000
        extra_HP = 9000
        
        evilmax_HP = 5000
        evil_HP = 5000

        while True:
            
            stats_frame("ExtraP", 9, extra_HP, extramax_HP, xalign=0.20, yalign=0.05)
            stats_frame("Tiger", 4, tiger_HP, tigermax_HP, xalign=0.98, yalign=0.8)
            stats_frame("Hero", 1, hero_HP, heromax_HP, xalign=0.02, yalign=0.05)
            stats_frame("Evil", 5, evil_HP, evilmax_HP, xalign=0.80, yalign=0.8)
            battle("win", "lose", hero_HP, extra_HP, tiger_HP, evil_HP, xalign=0.5, yalign=0.5)
            
label win:
    
    "yay"
    
    return
    
label lose:
    
    "noo"
    
    return
The Textbox will not go away, it's stuck like that until you finish the game. I do believe it might cause problems with my code because I didn't get pass one battle, checked everything to be 100% but the battle did not go to the next scene. Buttons may not work if they are on the textbox dimensional area, which itself presets limited space to work on rather than the clear full screen everyone knows from it. And yes I did try your guys answers from other users who wanted the textbox to be removed.

So ya I think this is a bug.
Image


Image


special thanks to nantoka.main.jp and iichan_lolbot

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

Re: Strange bug on renpy's new GUI

#2 Post by Ocelot » Mon Nov 21, 2016 4:01 pm

I skimmed through code and I do not see anything which would make dialogue box dissapear (we are talking about that thing in the bottom of the screen, where character text is, right?).

Only things which hide it by default are scene and call screen statements, and only thing which shows it is say statement.

You may want to use one of these statements to hide dialogue window, or use window managment statement
< < insert Rick Cook quote here > >

User avatar
firecat
Miko-Class Veteran
Posts: 540
Joined: Sat Oct 25, 2014 6:20 pm
Completed: The Unknowns Saga series
Projects: The Unknown Saga series
Tumblr: bigattck
Deviantart: bigattck
Skype: bigattck firecat
Soundcloud: bigattck-firecat
Contact:

Re: Strange bug on renpy's new GUI

#3 Post by firecat » Mon Nov 21, 2016 4:48 pm

Ocelot wrote:I skimmed through code and I do not see anything which would make dialogue box dissapear (we are talking about that thing in the bottom of the screen, where character text is, right?).

Only things which hide it by default are scene and call screen statements, and only thing which shows it is say statement.

You may want to use one of these statements to hide dialogue window, or use window managment statement
I tried that and it will still not go away, i tried everything even building a new code to hide the textbox image but nothing works.
Image


Image


special thanks to nantoka.main.jp and iichan_lolbot

Post Reply

Who is online

Users browsing this forum: No registered users