deathgothic

Newbie
May 18, 2018
48
17
trying to launch the game from the Ren'Py sdk, but right now all i get is this random error

Code:
While running game code:
  File "game/code/styles.rpy", line 63, in script
    style paging_green_button_left:
  File "game/code/styles.rpy", line 63, in script
    style paging_green_button_left:
  File "game/code/styles.rpy", line 66, in <module>
    background Frame(interfacebuttons + "arrow_left.png")
NameError: name 'interfacebuttons' is not defined
 

Ardlan

Newbie
Mar 29, 2018
28
19
trying to launch the game from the Ren'Py sdk, but right now all i get is this random error

Code:
While running game code:
  File "game/code/styles.rpy", line 63, in script
    style paging_green_button_left:
  File "game/code/styles.rpy", line 63, in script
    style paging_green_button_left:
  File "game/code/styles.rpy", line 66, in <module>
    background Frame(interfacebuttons + "arrow_left.png")
NameError: name 'interfacebuttons' is not defined
tbh the first question coming to mind is why even bothering and trying to run it through the SDK instead of exe or shell script?
Since both work just fine.

The next question would be which version of the SDK are you using?
The game was build with the SDK version 7.2.2 which works just fine. The current SDK version with python 2 compatibility would be 7.7.3 which also works fine. The current SDK version with python 3 compatibility (8.2.3) throws errors but not the one you have there. Maybe after fixing those, one get the error you have there but that's beyond my motivation ;)

Now to the error at hand the game basically tells that the variable "interfacebuttons" is not defined, code-wise it should be set in "initialization.rpy". Considering the information provided I don't know why it happen for you but it's most likely do to the use of the wrong SDK version.
 
4.50 star(s) 2 Votes