Window not showing in Ren'py 6.99.8

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
jacobjumper
Regular
Posts: 44
Joined: Tue Jan 07, 2014 9:45 pm
Projects: Familiarity
Organization: Airheart
Location: Houston
Contact:

Window not showing in Ren'py 6.99.8

#1 Post by jacobjumper »

So, I'm getting this error when the game starts

Code: Select all

While running game code:
  File "game/script.rpy", line 19, in script
    window show
  File "renpy/common/000window.rpy", line 102, in execute_window_show
    _window_show(trans)
  File "renpy/common/000window.rpy", line 48, in _window_show
    renpy.with_statement(trans)
  File "renpy/common/00library.rpy", line 89, in _default_empty_window
    store.narrator("", interact=False)
  File "game/readback.rpy", line 63, in say_wrapper
    return renpy.show_display_say(who, what, **kwargs)
Exception: Unknown keyword arguments: side_image, two_window
And here's my code for the textbox

Code: Select all

   style.window.background = Frame("ui/dialog.png", 0, 0)

    ###
    ## Margin is space surrounding the window, where the background
    ## is not drawn.

    style.window.left_margin = 0
    style.window.right_margin =0
    style.window.top_margin = 0
    style.window.bottom_margin = 0

    ## Padding is space inside the window, where the background is
    ## drawn.

    style.window.left_padding = 35
    style.window.right_padding = 35
    style.window.top_padding = 45
    style.window.bottom_padding = 6

    ## This is the minimum height of the window, including the margins
    ## and padding.

    style.window.yminimum = 169
    style.window.ymaximum = 180
    style.default.outlines = [(1, "#ffffff", 0, 0), (2, "#000000", 0, 0)] #Adds a white outline 4 pixels thick, and then a black outline, 2 pixels thick
                                                              
    ########################################
    style.say_who_window.background = Frame("ui/nameboxfinal.png",0, 00, xpos=0, ypos=30)
    
    style.say_who_window.yminimum = 33
    style.say_who_window.ymaximum = 0
    style.say_who_window.xminimum = 155
    style.say_who_window.xmaximum = 0


    
    style.say_who_window.left_padding = 35
    style.say_who_window.right_padding = 10
    style.say_who_window.top_padding =0
    style.say_who_window.bottom_padding = 0
    
    style.say_who_window.left_margin = 0
    style.say_who_window.right_margin = 0
    style.say_who_window.top_margin = 20
    style.say_who_window.bottom_margin = 0
    style.say_label.xalign =  30
    style.say_label.ypos = 30
   
And yes, I know I'm not on the latest version, but the new update caused too many problems for me. I started getting this error when I reverted to this version from the newest one.

Post Reply

Who is online

Users browsing this forum: No registered users